From 0da84d89cac91b567157b65d71448feeb4fccd12 Mon Sep 17 00:00:00 2001 From: CyB3RC0nN0R Date: Mon, 9 Aug 2021 22:27:16 +0200 Subject: [PATCH] dev-vcs/git: add -ffat-lto-objects workaround When compiling git without this workaround, cloning a remote repository results in a "bad object" error (the object in question seems to be random) most of the time. --- sys-config/ltoize/files/package.cflags/lto.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/sys-config/ltoize/files/package.cflags/lto.conf b/sys-config/ltoize/files/package.cflags/lto.conf index f882146f..f0abfa4e 100644 --- a/sys-config/ltoize/files/package.cflags/lto.conf +++ b/sys-config/ltoize/files/package.cflags/lto.conf @@ -140,6 +140,7 @@ dev-libs/protobuf *FLAGS-=-flto* #Upstream bug https://github.com/protocolbuffer dev-libs/rocr-runtime *FLAGS-=-flto* # Causes crashes in multiple OpenCL tools dev-qt/qtscript *FLAGS-=-flto* #LTO patch exists, but crashes on newer Qt versions. Needs to be updated. dev-scheme/gambit *FLAGS-=-flto* # Runtime errors when gsc when built with LTO on > GCC 8 +dev-vcs/git *FLAGS+=-ffat-lto-objects # git clone results in "bad object" error media-libs/mesa "has video_cards_i965 ${IUSE//+} && use video_cards_i965 && FlagSubAllFlags -flto*" media-sound/jack2 *FLAGS-=-flto* # segfault in libjack.so.0.1.0 when ANY app trying to use it (breaks everithing built w/ JACK support) net-misc/networkmanager *FLAGS-=-flto* # Test failure