$ uname -a
Linux hertz 2.6.7-gentoo-r14 #8 SMP Mon Sep 6 16:08:44 BST 2004 x86_64 AMD
Opteron(tm) Processor 844 AuthenticAMD GNU/Linux
Source is cvs 4.1.0 20050614 (experimental)
Configured with:
../gcc/configure --prefix=/usr/local/gcc-cvs --enable-languages=c,c++,f95
--disable-multilib
make bootstrap continues until:
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 `/hertz/roger/src/gcc-cvs/build_hertz/gcc'
Comparing stage2 and stage3 of the compiler
make[1]: Entering directory `/hertz/roger/src/gcc-cvs/build_hertz/gcc'
rm -f .bad_compare
case "gnucompare" in *compare | *compare-lean ) stage=2 ;; * ) stage=`echo
gnucompare | sed -e 's,^[a-z]*compare\([0-9][0-9]*\).*,\1,'` ;; esac; \
for dir in . cp fortran build libgcc; do \
if [ "`echo $dir/*.o`" != "$dir/*.o" ] ; then \
for file in $dir/*.o; do \
case $file in \
./cc*-checksum.o | libgcc/* ) \
tail +16c ./$file > tmp-foo1 \
&& tail +16c stage$stage/$file > tmp-foo2 \
&& ( cmp tmp-foo1 tmp-foo2 > /dev/null 2>&1 \
|| echo warning: $file differs || true ) \
;; \
*) case "gnucompare" 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 ; \
esac ; \
done; \
else true; fi; \
done
tail: cannot open `+16c' for reading: No such file or directory
--- last line repeated 160 times ---
tail: cannot open `+16c' for reading: No such file or directory
make[1]: *** [gnucompare] Error 1
make[1]: Leaving directory `/hertz/roger/src/gcc-cvs/build_hertz/gcc'
make: *** [bootstrap] Error 2
$ tail --version
tail (coreutils) 5.2.1
Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering.
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Earlier versions of tail accept the +16c syntax, but this one needs -c+16
instead.
--
Summary: bootstrap fails when comparing stage 2 with stage 3 due
to use of obsoleted "tail +16c" syntax
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: eesrjhc at bath dot ac dot uk
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22074