This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: use -fno-toplevel-reorder if it's available


On Mon, Jan 30, 2006 at 01:19:05AM -0200, Alexandre Oliva wrote:
> -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.

While this patch probably should be applied, since
-fno-toplevel-reorder is the semantics we actually want,
the fact that -fno-unit-at-a-time didn't work was a bug;
I reported it to Ian yesterday afternoon, and he checked in a fix for
GCC HEAD shortly afterwards.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]