Re: libtool and LTO

2010-10-04 Thread Ralf Wildenhues
Hello Andi, Bob, * Bob Friesenhahn wrote on Tue, Oct 05, 2010 at 12:30:51AM CEST: > On Mon, 4 Oct 2010, Andi Kleen wrote: > > >I discovered that libtool breaks gcc LTO (link time optimization) > > > >Is there a solution or a workaround known? > > > >I'm using libtool 2.2.6b > > Maybe you should

Re: libtool and LTO

2010-10-04 Thread Bob Friesenhahn
On Mon, 4 Oct 2010, Andi Kleen wrote: I discovered that libtool breaks gcc LTO (link time optimization) Is there a solution or a workaround known? I'm using libtool 2.2.6b Maybe you should use libtool 2.4? I believe that this includes fixes by Ralf Wildenhues for -flto but if you are using

libtool and LTO

2010-10-04 Thread Andi Kleen
Hi, I discovered that libtool breaks gcc LTO (link time optimization) The code needs to be generated at link time from the .o file file, but libtool seems to call ld directly and then the LTO code generation does not run (which needs linking through "gcc") In normal gcc this still appears to