Skip to content

Commit

Permalink
media-video/ffmpeg: Enable Graphite
Browse files Browse the repository at this point in the history
 #103

Package-Manager: Portage-2.3.33, Repoman-2.3.9
  • Loading branch information
InBetweenNames committed May 3, 2018
1 parent fe92866 commit d37671d
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
16 changes: 16 additions & 0 deletions metadata/news/2018-05-03-gcc-8/2018-05-03-gcc-8.en.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Title: LTO-overlay updating to GCC 8.x series
Author: Shane Peelar <[email protected]>
Display-If-Installed: sys-config/ltoize
Content-Type: text/plain
Posted: 2018-05-03
Revision: 1
News-Item-Format: 1.0

The recommended compiler for use with lto-overlay has been changed to GCC 8.1.0 due to its enhanced LTO capabilities.
All workarounds will be reviewed as a result. This means users with older compilers with previously working configurations
could expect breakage if they do not upgrade. The first known breakage will be ffmpeg, which can now be built with Graphite.
No workarounds will be added for older compilers.

Remember after you upgrade your GCC to emerge -e @world to ensure
that no linking problems will occur with LTO libraries built using older GCCs. If you're having trouble,
create an issue in the project tracker on GitHub.
11 changes: 11 additions & 0 deletions metadata/news/2018-05-03-gcc-8/2018-05-03-gcc-8.en.txt.asc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----

iQEzBAABCAAdFiEECNe4A5FF8/6bCpnT/UW7dtNCsA4FAlrrT0oACgkQ/UW7dtNC
sA4kNAf/Z0y5YEj1ysk9MMzaFUjHeUvE74XWe2M6phGSsoSR+Auz0hX+M5Dl85U2
SEYVDz/29N9vp0Ou3DgOMnHbCkF20oyC9goIKbihEVArLPZKnPtD2nXkGNs29uAz
U2O+rxfGzeNwSIZD8YcuAfSmUn0ePnOC3NrZGC5Cb4YC/OThiI8hWMdlFtCHTsBd
P/gCJSHbOxBuHqdkLHccIZPHTYP3iE67BDifbaL8EHIWHs3XFndfgfM3+9v78SQY
Zef1yJ41f0k4BtmWODWu8/37ZPdGl1I4gVi+kQ9dxJYWG3uKevWvun1r4MEFJRrk
sZBjMCLpbNh5Gp8vJmfaRTh+89yTAw==
=Xmxn
-----END PGP SIGNATURE-----
2 changes: 1 addition & 1 deletion sys-config/ltoize/files/package.cflags/ltoworkarounds.conf
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ app-emulation/wine* "has custom-cflags ${IUSE//+} && use custom-cflags && FlagSu
games-emulation/ppsspp *FLAGS-="${GRAPHITE}" # In function ‘Int_Vtfm’: ../ppsspp-1.4.2/Core/MIPS/MIPSIntVFPU.cpp:1322:7: internal compiler error: in outer_projection_mupa, at graphite-sese-to-poly.c:1019
kde-apps/kreversi *FLAGS-="${GRAPHITE}" # internal compiler error: in outer_projection_mupa, at graphite-sese-to-poly.c:1019
media-libs/libvorbis *FLAGS-="${GRAPHITE}" # In function 'run_test': sharedbook.c:543:6: internal compiler error: in outer_projection_mupa, at graphite-sese-to-poly.c:1019
media-video/ffmpeg *FLAGS-=-flto* *FLAGS-="${GRAPHITE}" # NOTE: Depending on your CPUFLAGS this may work with LTO. The SSE intrinsics seem to cause problems in some cases. Graphite error: In function ‘ff_nelly_get_sample_bits’: nellymoser.c:116:6: internal compiler error: in outer_projection_mupa, at graphite-sese-to-poly.c:1019
media-video/ffmpeg *FLAGS-=-flto* #*FLAGS-="${GRAPHITE}" # NOTE: Depending on your CPUFLAGS this may work with LTO. The SSE intrinsics seem to cause problems in some cases. GCC 7.x and lower only: Graphite error: In function ‘ff_nelly_get_sample_bits’: nellymoser.c:116:6: internal compiler error: in outer_projection_mupa, at graphite-sese-to-poly.c:1019
net-misc/nx *FLAGS-=-flto* *FLAGS-="${GRAPHITE}"
=media-libs/openal-1.18.2* *FLAGS-="${GRAPHITE}" # ../openal-soft-1.18.2/Alc/bformatdec.c:418:6: internal compiler error: in add_phi_arg_for_new_expr, at graphite-isl-ast-to-gimple.c:2321
=media-libs/openjpeg-2.3.0 *FLAGS-="${GRAPHITE}" # ../openjp2/dwt.c:2171:13: internal compiler error: in outer_projection_mupa, at graphite-sese-to-poly.c:1019
Expand Down

0 comments on commit d37671d

Please sign in to comment.