# BEGIN: Workarounds for LTO with Clang dev-lang/python *FLAGS-=-flto* # https://bugs.gentoo.org/700012 : No -ffat-lto-objects on clang dev-libs/libffi *FLAGS-=-flto* # error: changed section flags for .eh_frame https://github.com/libffi/libffi/issues/626 (abi_x86_32) dev-util/colm *FLAGS-=-flto* # ld: libcolm.a: error adding symbols: file format not recognized media-libs/dav1d *FLAGS-=-flto* # general protection fault https://code.videolan.org/videolan/dav1d/-/issues/362 >=app-office/libreoffice-7.1.2.2 "has clang ${IUSE//+} && use clang && NOLDADD=1" "has clang ${IUSE//+} && use clang && has custom-cflags ${IUSE//+} && use custom-cflags && FlagSubAllFlags ${GRAPHITE} ${DEVIRTLTO} ${IPAPTA} ${FLTO} -fuse-linker-plugin" # fails to configure, see issue #734 # END: Workarounds for LTO with Clang # BEGIN: Packages which require Full LTO media-libs/libglvnd LTO_FULL=1 # ld.lld: error: undefined symbol: entrypointFunctions # END: Packages which require Full LTO # BEGIN: Packages which require libstdc++ media-libs/exempi CXXFLAGS+=-stdlib=libstdc++ # fatal error: 'tr1/memory' file not found net-libs/webkit-gtk CXXFLAGS+=-stdlib=libstdc++ # error: use of undeclared identifier 'LC_ALL' # END: Packages which require libstdc++