[LTO Build]

Thomas Schwinge thomas@codesourcery.com
Thu Mar 1 11:52:00 GMT 2012


Hi!

On Thu, 01 Mar 2012 11:13:39 +0100, Krisztian Kocsis <krisztian.kocsis@navayo.net> wrote:
> Does glibc support building with -flto flag?
> 
> If I put it to the CFLAGS then configure will because the .init_array
> check fails. I'v checked it manually and -flto really drops this section.
> 
> Is it a compiler bug or glibc does not support LTO enabled builds?

I think there haven't been any attempts yet to support this in glibc --
as your experimenting is showing.  Would you be interested in working on
that?


Grüße,
 Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-help/attachments/20120301/e10412ec/attachment.sig>


More information about the Libc-help mailing list