Alpha failure [was: Re: egcs test failures under glibc 2.0.98]

Andreas Schwab schwab@issan.informatik.uni-dortmund.de
Mon Oct 26 01:55:00 GMT 1998


Philip Blundell <philb@gnu.org> writes:

|> >I was trying to build glibc in CVS as of Oct 24 07:00am PDT on
|> >alpha. But egcs 1.1 used so much memory on one file. It ran out
|> >of memory. Do I need a new egcs to compile it on alpha. BTW, I
|> >am using the kernel header files from Linux 2.1.126.
|> 
|> I had the same problem (with nss/nsswitch.c).  The compiler used up over 100MB 
|> of virtual memory and eventually died with SIGSEGV.  I compiled that file by 
|> hand without -O and there was no problem.

This is a feature :-) due to the huge macros in bits/string2.h.  And it is
also a consequence of the improvements of __builtin_constant_p in egcs,
which causes it to survive the tree->rtl conversion until cse, leaving
behind a big pile of rtl garbage when it is finally replaced by a
constant.

Andreas.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.cs.uni-dortmund.de                      completely different"
schwab@gnu.org



More information about the Libc-alpha mailing list