This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Mainline bootstrap failure (Re: libstdc++ execute tests)
On Apr 12, 2001, Gabriel Dos Reis <Gabriel.Dos-Reis@cmla.ens-cachan.fr> wrote:
> The breakage seems to happen between 16:00 and 18:00. Currently I'm
> suspecting this patch:
> - $(MAKE) CC="$(CC)" libdir=$(libdir) LANGUAGES="$(BOOT_LANGUAGES)" \
> - CFLAGS="$(CFLAGS)"
> + $(MAKE) CC="$(CC)" libdir=$(libdir) LANGUAGES="$(BOOT_LANGUAGES)"
In this case, your bootstrap compiler is a strong suspect.
What is CFLAGS set to in the top-level Makefile? How about
STAGE1_CFLAGS in gcc/Makefile? With DJ's patch, the top-level CFLAGS
probably stops overriding STAGE1_CFLAGS, so you may get an optimized
stage1. If the bootstrap compiler mis-optimizes the code, stage1 may
simply crash. However, if you're lucky (and you seem to be!), it'll
just disable a few optimizations, so stage2 will work correctly, but
it will generate different code, because it won't miss the
optimizations. If this theory is correct, bootstrap4 should succeed.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me