From 52e8799076e086f99af80e98e81944a9a83ce276 Mon Sep 17 00:00:00 2001 From: Anthony Ruhier Date: Mon, 17 Jan 2022 16:34:11 +0100 Subject: [PATCH] sys-libs/efivar-38: disable LTO Segfaults during linking. --- sys-config/ltoize/files/package.cflags/lto.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys-config/ltoize/files/package.cflags/lto.conf b/sys-config/ltoize/files/package.cflags/lto.conf index 8f87fc43..36afd4a1 100644 --- a/sys-config/ltoize/files/package.cflags/lto.conf +++ b/sys-config/ltoize/files/package.cflags/lto.conf @@ -62,7 +62,7 @@ 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/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* net-misc/autossh *FLAGS-=-flto* # Undefined references @@ -157,6 +157,7 @@ sys-apps/sandbox *FLAGS-=-flto* # Issue #347, LTO breaks basic sandboxing functi sys-fs/cryfs *FLAGS-=-flto* # Test failure sys-libs/libapparmor *FLAGS-=-flto* # Undefined symbol error when trying to compile sys-apps/apparmor sys-libs/libxcrypt *FLAGS-=-flto* # Undefined symbols in library files cause dependencies like net-misc/whois to fail to build +>=sys-libs/efivar-38 *FLAGS+="-flto"* # Segfault with ld. # END: LTO not recommended # BEGIN: Build Workarounds