Bootstrap comparison failure on i686-linux

Franz Sirl Franz.Sirl-kernel@lauterbach.com
Sat Jan 6 11:50:00 GMT 2001


On Saturday 06 January 2001 20:17, Andreas Jaeger wrote:
> Bootstrapping gcc CVS current (checked out around 18:00 UTC 6th
> January 2001) with gcc 2.95.2 on i686-linux-gnu with glibc 2.2 gives a
> comparsion failure on haifa-sched.o:
> [...]
> Bootstrap comparison failure!
> haifa-sched.o differs
> make[1]: *** [compare] Error 1
>
> I've run objdump -xD on both haifa-sched.o files and diffed the
> output.  The difference is just register renaming.  How can this
> happen?  Any ideas?
>
> My configure command is:
> /cvs/gcc/configure --prefix=/opt/gcc-2.97.test --enable-shared \
>          --enable-threads=posix \
>          --with-gnu-as --with-gnu-ld --disable-nls --with-system-zlib \
>          --enable-languages=c,objc,c++,f77
>
> And I run "make bootstrap" - until I got the above failure.  I didn't
> pass any CFLAGS.

I have similar problems on powerpc-linux-gnu and for me the differences start 
in the loop dump. After realizing that I checked out the recent loop patches 
from Michael Hayes and I think I found a difference against the original 
code, realloced memory is not cleared anymore. VARRAY_GROW handled that 
automatically before. The appended patch fixes that, but I don't know yet if 
it really fixes the comparison failure, bootstrap is still running. You might 
wanna try the patch nevertheless though. I'll check it in under the "obvious 
fix rule" if it fixes my comparison failure.

Franz.

	* loop.c (load_mems_and_recount_loop_regs_set): Clear memory added by
	realloc.



More information about the Gcc mailing list