On 05/06/12 17:28, Stefan G. Weichinger wrote:
Am 04.06.2012 22:19, schrieb Nikos Chantziaras:
I've emerged system and world with gcc-4.7.0 and LTO. I'm posting from
it right now :-) It's a KDE system with 1043 packages installed.
I've posted details on how to do this (including info on how to disable
LTO for specific packages that don't work with it) here:
http://realnc.blogspot.com/2012/06/building-gentoo-linux-with-gcc-47-and.html
Gave it a try out of curiosity ... got @system emerged OK now ...
Did you also apply it to compiling the kernel?
Worth it?
Kernel builds and runs fine with 4.7. But I didn't try to use LTO on
it. I actually never try to force any custom CFLAGS on the kernel
build. I trust upstream to pick safe and fast ones.