[Bug bootstrap/24873] gcc 4.0.2 bootstrap report compare fail
gaojianbin at 263 dot net
gcc-bugzilla@gcc.gnu.org
Thu Nov 24 00:22:00 GMT 2005
------- Comment #3 from gaojianbin at 263 dot net 2005-11-24 00:22 -------
../gcc-4.0.2/configure --prefix=/swtdata/emv_emu/emu1/jbgao/gccbin
--enable-threads=aix --enable-languages="c
,c++" --with-included-gettext --enable-shared --disable-multilib
make bootstrap
use the cc compiler;ibm visual age version 6
here is the output.
//------------------------
echo timestamp > stage3_build
echo stage3_build > stage_last
Bootstrap complete - make "quickstrap" to redo last build,
"restage1" through "restage3" to rebuild specific stages,
"restrap" to redo the bootstrap from stage1, or
"cleanstrap" to redo the bootstrap from scratch.
make[1]: Leaving directory `/swtdata/emv_emu/emu1/jbgao/gccbin/gcc'
Comparing stage2 and stage3 of the compiler
make[1]: Entering directory `/swtdata/emv_emu/emu1/jbgao/gccbin/gcc'
rm -f .bad_compare
case "slowcompare" in *compare | *compare-lean ) stage=2 ;; * ) stage=`echo
slowcompare | sed -e 's,^[a-z]*compare\([0-9][0-9]*\).*,\1,'` ;; esac; \
for dir in . cp build; do \
if [ "`echo $dir/*.o`" != "$dir/*.o" ] ; then \
for file in $dir/*.o; do \
case "slowcompare" in \
slowcompare* ) \
tail +16c ./$file > tmp-foo1; \
tail +16c stage$stage/$file > tmp-foo2 \
&& (cmp tmp-foo1 tmp-foo2 > /dev/null 2>&1 || echo $file differs >>
.bad_compare) || true; \
;; \
fastcompare* ) \
cmp $file stage$stage/$file 16 16 > /dev/null 2>&1; \
test $? -eq 1 && echo $file differs >> .bad_compare || true; \
;; \
gnucompare* ) \
cmp --ignore-initial=16 $file stage$stage/$file > /dev/null 2>&1; \
test $? -eq 1 && echo $file differs >> .bad_compare || true; \
;; \
esac ; \
done; \
else true; fi; \
done
rm -f tmp-foo*
case "slowcompare" in *compare | *compare-lean ) stage=2 ;; * ) stage=`echo
slowcompare | sed -e 's,^[a-z]*compare\([0-9][0-9]*\).*,\1,'` ;; esac; \
if [ -f .bad_compare ]; then \
echo "Bootstrap comparison failure!"; \
cat .bad_compare; \
exit 1; \
else \
case "slowcompare" in \
*-lean ) rm -rf stage$stage ;; \
*) ;; \
esac; true; \
fi
Bootstrap comparison failure!
./fold-const.o differs
make[1]: *** [slowcompare] Error 1
make[1]: Leaving directory `/swtdata/emv_emu/emu1/jbgao/gccbin/gcc'
make: *** [bootstrap] Error 2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24873
More information about the Gcc-bugs
mailing list