use -fno-toplevel-reorder if it's available
Alexandre Oliva
aoliva@redhat.com
Mon Jan 30 03:19:00 GMT 2006
-fno-unit-at-a-time is no longer enough to get the gcc trunk to build
working crt files for glibc, since it no longer implies no reordering
is to occur, so we end up with #include "defs.h" at the wrong spot in
initfini.s. -fno-toplevel-reorder is what gets the behavior we want,
so here's a patch to use it. I've successfully built glibc for x86-64
and -32 using it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glibc-fno-toplevel-reorder.patch
Type: text/x-patch
Size: 2485 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20060130/1d017e5b/attachment.bin>
-------------- next part --------------
--
Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}
More information about the Libc-alpha
mailing list