http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375

--- Comment #57 from Markus Trippelsdorf <markus at trippelsdorf dot de> 
2011-03-09 19:49:56 UTC ---
(In reply to comment #56)
> > Turned out that GNU ld doesn't like "--as-needed";
> > LDFLAGS="-Wl,-O1,--hash-style=gnu,--no-keep-memory" works fine.
> > (although GNU ld uses way more memory than gold.)
> 
> Hmm, seems like GNU LD bug to me (tough I never used --as-needed)
> Could you fill it in, please?

Done: http://sourceware.org/bugzilla/show_bug.cgi?id=12557

>You can build -fprofile-generate without -flto and use -flto only for final
>build.

How do you do this with "make -f client.mk profiledbuild"?
Or do you run both phases by hand?

Reply via email to