public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/22074] New: bootstrap fails when comparing stage 2 with stage 3 due to use of obsoleted "tail +16c" syntax
@ 2005-06-15 11:27 eesrjhc at bath dot ac dot uk
  2005-06-15 11:35 ` [Bug bootstrap/22074] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: eesrjhc at bath dot ac dot uk @ 2005-06-15 11:27 UTC (permalink / raw)
  To: gcc-bugs

$ 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug bootstrap/22074] bootstrap fails when comparing stage 2 with stage 3 due to use of obsoleted "tail +16c" syntax
  2005-06-15 11:27 [Bug bootstrap/22074] New: bootstrap fails when comparing stage 2 with stage 3 due to use of obsoleted "tail +16c" syntax eesrjhc at bath dot ac dot uk
@ 2005-06-15 11:35 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-15 11:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-15 11:35 -------
This is really a bug in coreutils.

*** This bug has been marked as a duplicate of 14251 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22074


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-06-15 11:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-15 11:27 [Bug bootstrap/22074] New: bootstrap fails when comparing stage 2 with stage 3 due to use of obsoleted "tail +16c" syntax eesrjhc at bath dot ac dot uk
2005-06-15 11:35 ` [Bug bootstrap/22074] " pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).