gentooLTO icon indicating copy to clipboard operation
gentooLTO copied to clipboard

What is LTO changing, that even when completely resetting make.conf to normal some packages won't compile at all?

Open Axilot opened this issue 3 years ago • 2 comments

What can you do, to specifically not apply anything related to LTO for a specified package?

Axilot avatar Jun 26 '21 18:06 Axilot

Leave the source lines out of your make.conf, and make sure your CFLAGS are set to default. If you want to be ultra safe, remove portage-bashrc-mv. If you're still experiencing problems after that, it's not GentooLTO.

InBetweenNames avatar Jun 28 '21 16:06 InBetweenNames

Compiling some packages with LTO enabled can have effect on how other packages build. This used to be the case for for example libtool, but can also be the case for installed static libraries built with different versions of a compiler. Try to debug the issue (check the build log to try to figure out the culprit) and/or walk the dependency tree to find your issue.

mid-kid avatar Aug 02 '21 20:08 mid-kid