On Mon, Jun 4, 2012 at 3:19 PM, Nikos Chantziaras <[email protected]> wrote: > 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
Thanks. I'm not sure if I'm ready to recompile world yet, but we'll see where curiosity and boredom lead me. :) I have an older, slower machine that might benefit more from small optimizations. A few questions: Do you have any measure of compile times using lto compared to not using it? Was there any effect on quality of debugging info in the resulting binaries? I thought I read at some point there was no (or bad) debug info with LTO. Maybe I'm thinking about clang, though. Did you use gold or the standard linker?

