"Bootstrap comparison failure!" w/gcc 2.95.1 under SPARC Solaris 2.6

John Gotts jgotts@engin.umich.edu
Thu Sep 23 16:25:00 GMT 1999


Relevant Hardware: Sun Enterprise 250

Output:

Comparing stage2 and stage3 of the compiler
make[1]: Entering directory `/net/center/home/jgotts/solaris/gcc-2.95.1/gcc'
rm -f .bad_compare
case "compare" in compare | compare-lean ) stage=2 ;; * ) stage=`echo compare | sed -e 's,^compare\([0-9][0-9]*\).*,\1,'` ;; esac; \
for file in *.o; do \
  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; \
done
case "compare" in compare | compare-lean ) stage=2 ;; * ) stage=`echo compare | sed -e 's,^compare\([0-9][0-9]*\).*,\1,'` ;; esac; \
for dir in tmp-foo intl ch cp f java objc; do \
  if [ "`echo $dir/*.o`" != "$dir/*.o" ] ; then \
    for file in $dir/*.o; do \
      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; \
    done; \
  else true; fi; \
done
rm -f tmp-foo*
case "compare" in compare | compare-lean ) stage=2 ;; * ) stage=`echo compare | sed -e 's,^compare\([0-9][0-9]*\).*,\1,'` ;; esac; \
if [ -f .bad_compare ]; then \
  echo "Bootstrap comparison failure!"; \
  cat .bad_compare; \
  exit 1; \
else \
  case "compare" in \
    *-lean ) rm -rf stage$stage ;; \
    *) ;; \
  esac; true; \
fi
Bootstrap comparison failure!
emit-rtl.o differs
make[1]: *** [compare] Error 1
make[1]: Leaving directory `/net/center/home/jgotts/solaris/gcc-2.95.1/gcc'
make: *** [bootstrap] Error 2

Stage 1 was built with version 5.0 of the Sun compiler suite.

Any ideas?

[Please cc: me if possible as I'm not subscribed to this list.]

John

--
John GOTTS <jgotts@engin.umich.edu> http://www-personal.engin.umich.edu/~jgotts


More information about the Gcc-bugs mailing list