Re: [gentoo-dev] LTO use in the tree

2014-04-20 Thread Michał Górny
Dnia 2014-04-20, o godz. 21:14:51 Ryan Hill napisał(a): > As more and more packages are starting to add LTO flags automatically through > their build systems, I thought I'd point out a couple things: > > - LTO utterly destroys debug info. Flags like -g are incompatible with LTO. > > - LTO caus

[gentoo-dev] LTO use in the tree

2014-04-20 Thread Ryan Hill
Hey all, As more and more packages are starting to add LTO flags automatically through their build systems, I thought I'd point out a couple things: - LTO utterly destroys debug info. Flags like -g are incompatible with LTO. - LTO causes .GCC.command.line sections to be discarded, which means y