[Bug bootstrap/17803] New: Bootstrap with GCC 2.8.1 is broken

v dot haisman at sh dot cvut dot cz gcc-bugzilla@gcc.gnu.org
Sun Oct 3 10:36:00 GMT 2004


Bootstrap with GCC 2.8.1 is broken:

make[2]: Entering directory `/home/4/wilx/tmp/gcc-head/objdir/gcc'
adagcc -c   -g -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC   -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes  -fno-common  
-DHAVE_CONFIG_H -DGENERATOR_FILE -I/home/4/wilx/include   -I. -Ibuild
-I../../srcdir/gcc -I../../srcdir/gcc/build -I../../srcdir/gcc/../include
-I../../srcdir/gcc/../libcpp/include  \
 -o build/genmodes.o ../../srcdir/gcc/genmodes.c
In file included from ../../srcdir/gcc/system.h:467,
                 from ../../srcdir/gcc/genmodes.c:23:
../../srcdir/gcc/../include/libiberty.h:96: parse error before `ATTRIBUTE_SENTINEL'
../../srcdir/gcc/../include/libiberty.h:96: warning: type defaults to `int' in
declaration of `ATTRIBUTE_SENTINEL'
../../srcdir/gcc/../include/libiberty.h:96: warning: data definition has no type
or storage class
../../srcdir/gcc/../include/libiberty.h:105: parse error before `ATTRIBUTE_SENTINEL'
../../srcdir/gcc/../include/libiberty.h:105: warning: type defaults to `int' in
declaration of `ATTRIBUTE_SENTINEL'
../../srcdir/gcc/../include/libiberty.h:105: warning: data definition has no
type or storage class
../../srcdir/gcc/../include/libiberty.h:111: parse error before `ATTRIBUTE_SENTINEL'
../../srcdir/gcc/../include/libiberty.h:111: warning: type defaults to `int' in
declaration of `ATTRIBUTE_SENTINEL'
../../srcdir/gcc/../include/libiberty.h:111: warning: data definition has no
type or storage class
../../srcdir/gcc/../include/libiberty.h:118: parse error before `ATTRIBUTE_SENTINEL'
../../srcdir/gcc/../include/libiberty.h:118: warning: type defaults to `int' in
declaration of `ATTRIBUTE_SENTINEL'
../../srcdir/gcc/../include/libiberty.h:118: warning: data definition has no
type or storage class
../../srcdir/gcc/../include/libiberty.h:125: parse error before `ATTRIBUTE_SENTINEL'
../../srcdir/gcc/../include/libiberty.h:125: warning: type defaults to `int' in
declaration of `ATTRIBUTE_SENTINEL'
../../srcdir/gcc/../include/libiberty.h:125: warning: data definition has no
type or storage class
make[2]: *** [build/genmodes.o] Error 1
make[2]: Leaving directory `/home/4/wilx/tmp/gcc-head/objdir/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/home/4/wilx/tmp/gcc-head/objdir/gcc'
make: *** [bootstrap] Error 2

wilx@logout:::~/tmp/gcc-head/objdir> adagcc -v
Reading specs from /usr/local/lib/gcc-lib/i386-unknown-freebsd4.10/2.8.1/specs
gcc version 2.8.1

This is line 96:
extern char *concat PARAMS ((const char *, ...)) ATTRIBUTE_MALLOC
ATTRIBUTE_SENTINEL;

It seems that it doesn't like the two attributes because when I comment out
either of the two attributes it continues fine.

-- 
           Summary: Bootstrap with GCC 2.8.1 is broken
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: v dot haisman at sh dot cvut dot cz
                CC: gcc-bugs at gcc dot gnu dot org,v dot haisman at sh dot
                    cvut dot cz
 GCC build triplet: i386-unknown-freebsd4.10
  GCC host triplet: i386-unknown-freebsd4.10
GCC target triplet: i386-unknown-freebsd4.10


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



More information about the Gcc-bugs mailing list