Skip to content

Commit dde13f7

Browse files
net-analyzer/wireshark and dev-lang/lua: disable LTO (#778)
* 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 <lookatyouhacker@gmail.com>
1 parent 4c0b4b6 commit dde13f7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • sys-config/ltoize/files/package.cflags

sys-config/ltoize/files/package.cflags/lto.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ games-fps/zandronum *FLAGS-=-flto* #Can't read wads properly with LTO
2525
dev-java/icedtea *FLAGS-=-flto*
2626
<dev-java/openjdk-14 *FLAGS-=-flto* # Issue #204, undefined references with LTO.
2727
dev-lang/erlang *FLAGS-=-flto* # Starting with Erlang 24.0, yeccparser.erl: internal error in pass beam_kernel_to_ssa
28+
dev-lang/lua *FLAGS-=-flto* # Causes issues building packages like neovim and awesomewm, fixes #772
2829
dev-lang/mono *FLAGS-=-flto*
2930
dev-lang/perl *FLAGS-=-flto*
3031
>=dev-lang/php-7.2.0 *FLAGS-=-flto* # lto-wrapper link failure / https://github.com/InBetweenNames/gentooLTO/issues/135
@@ -60,6 +61,7 @@ media-libs/mlt *FLAGS-=-flto*
6061
media-sound/pulseaudio *FLAGS-=-flto*
6162
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
6263
media-video/mplayer *FLAGS-=-flto*
64+
net-analyzer/wireshark *FLAGS-=-flto* # Segfaults trying to load GUI on QT5, see issue 746
6365
net-libs/nodejs *FLAGS-=-flto* # LTO is controlled by a USE flag; currently won't build with LTO and GCC 11
6466
net-libs/webkit-gtk:3 *FLAGS-=-flto*
6567
net-libs/webkit-gtk:4 *FLAGS-=-flto*

0 commit comments

Comments
 (0)