Bootstrap failure in stage1 fix-header, !HAVE_DESIGNATED_INITIALIZERS

Zack Weinberg zack@wolery.cumb.org
Sat Aug 19 19:46:00 GMT 2000


On Sat, Aug 19, 2000 at 10:06:39PM -0400, Kaveh R. Ghazi wrote:
> Recent CVS dies in stage1 whenever one uses cc to bootstrap on
> mips-sgi-irix6.2 and sparc-sun-solaris2.7.  Fix-header gobbles up
> memory until it runs out and xmalloc fails.
> 
> The trigger appears to be the HAVE_DESIGNATED_INITIALIZERS else-clause
> since if I force the compiler to take the else path, it always fails
> even with gcc.

Bizarre; none of the code under !HAVE_DESIGNATED_INITIALIZERS should
be allocating memory.

I'll look into this as soon as I get a chance, but if you could change
xmalloc so it aborts on failure, run the offending process under the
debugger, and send me a backtrace, I'd much appreciate it.

zw


More information about the Gcc-bugs mailing list