Skip to content

Commit

Permalink
net-analyzer/wireshark and dev-lang/lua: disable LTO (#778)
Browse files Browse the repository at this point in the history
* net-analyzer/windscribe Disable -flto to fix segfault on gui launch

* dev-lang/lua Disable LTO, fixing a build failure for neovim

* Integrate both fixes

Co-authored-by: Shane Peelar <[email protected]>
  • Loading branch information
typecasto and InBetweenNames authored Sep 26, 2021
1 parent 4c0b4b6 commit dde13f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sys-config/ltoize/files/package.cflags/lto.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ games-fps/zandronum *FLAGS-=-flto* #Can't read wads properly with LTO
dev-java/icedtea *FLAGS-=-flto*
<dev-java/openjdk-14 *FLAGS-=-flto* # Issue #204, undefined references with LTO.
dev-lang/erlang *FLAGS-=-flto* # Starting with Erlang 24.0, yeccparser.erl: internal error in pass beam_kernel_to_ssa
dev-lang/lua *FLAGS-=-flto* # Causes issues building packages like neovim and awesomewm, fixes #772
dev-lang/mono *FLAGS-=-flto*
dev-lang/perl *FLAGS-=-flto*
>=dev-lang/php-7.2.0 *FLAGS-=-flto* # lto-wrapper link failure / https://github.com/InBetweenNames/gentooLTO/issues/135
Expand Down Expand Up @@ -60,6 +61,7 @@ media-libs/mlt *FLAGS-=-flto*
media-sound/pulseaudio *FLAGS-=-flto*
media-video/ffmpeg *FLAGS-=-flto* #NOTE: Depending on your CPUFLAGS this may work with LTO. The SSE intrinsics seem to cause problems in some cases. Only x86 requires workaround
media-video/mplayer *FLAGS-=-flto*
net-analyzer/wireshark *FLAGS-=-flto* # Segfaults trying to load GUI on QT5, see issue 746
net-libs/nodejs *FLAGS-=-flto* # LTO is controlled by a USE flag; currently won't build with LTO and GCC 11
net-libs/webkit-gtk:3 *FLAGS-=-flto*
net-libs/webkit-gtk:4 *FLAGS-=-flto*
Expand Down

0 comments on commit dde13f7

Please sign in to comment.