From b76fce460c08a8c8f8cd4fee3966b5d15da4d349 Mon Sep 17 00:00:00 2001 From: Jan Lam Date: Thu, 23 Jan 2020 07:20:31 +0100 Subject: [PATCH 1/2] LibreOffice only needs the semantic interposition Workaround --- sys-config/ltoize/files/package.cflags/ltoworkarounds.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-config/ltoize/files/package.cflags/ltoworkarounds.conf b/sys-config/ltoize/files/package.cflags/ltoworkarounds.conf index 6821715f..20fd5e56 100644 --- a/sys-config/ltoize/files/package.cflags/ltoworkarounds.conf +++ b/sys-config/ltoize/files/package.cflags/ltoworkarounds.conf @@ -86,7 +86,6 @@ www-apps/hugo *FLAGS-=-flto* sys-libs/musl *FLAGS-=-flto* sys-apps/fakechroot *FLAGS-=-flto* # "Cgraph edge statement index out of range" error when linking with LTO enabled dev-db/firebird *FLAGS=-flto* -app-office/libreoffice "has firebird ${IUSE//+} && use firebird && FlagSubAllFlags -flto*" net-misc/nx *FLAGS-=-flto* # ODR violation during compilation x11-base/xorg-server *FLAGS-=-flto* # linking error during compilation sys-cluster/glusterfs *FLAGS=-flto* # undefined reference to `glfs_subvol_done' @@ -230,6 +229,7 @@ net-fs/autofs *FLAGS-="${SEMINTERPOS}" # builds but segfault in lookup_file.so net-print/cups *FLAGS-="${SEMINTERPOS}" # ICE sys-devel/llvm *FLAGS-="${SEMINTERPOS}" sys-libs/glibc *FLAGS-="${SEMINTERPOS}" +app-office/libreoffice *FLAGS-="${SEMINTERPOS}" # END: Semantic Interposition Workarounds # BEGIN: No PLT workarounds From ed22eeebd3e65897708704c602877439a76a92f4 Mon Sep 17 00:00:00 2001 From: Jan Lam Date: Fri, 24 Jan 2020 09:00:40 +0100 Subject: [PATCH 2/2] Add missing '-' to firebird rule --- sys-config/ltoize/files/package.cflags/ltoworkarounds.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-config/ltoize/files/package.cflags/ltoworkarounds.conf b/sys-config/ltoize/files/package.cflags/ltoworkarounds.conf index 20fd5e56..14d16ce7 100644 --- a/sys-config/ltoize/files/package.cflags/ltoworkarounds.conf +++ b/sys-config/ltoize/files/package.cflags/ltoworkarounds.conf @@ -85,7 +85,7 @@ dev-tex/chktex "use pcre && FlagSubAllFlags -flto*" # Segmentation faults as lib www-apps/hugo *FLAGS-=-flto* sys-libs/musl *FLAGS-=-flto* sys-apps/fakechroot *FLAGS-=-flto* # "Cgraph edge statement index out of range" error when linking with LTO enabled -dev-db/firebird *FLAGS=-flto* +dev-db/firebird *FLAGS-=-flto* net-misc/nx *FLAGS-=-flto* # ODR violation during compilation x11-base/xorg-server *FLAGS-=-flto* # linking error during compilation sys-cluster/glusterfs *FLAGS=-flto* # undefined reference to `glfs_subvol_done'