public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/17803] New: Bootstrap with GCC 2.8.1 is broken
@ 2004-10-03 10:36 v dot haisman at sh dot cvut dot cz
  2004-10-03 10:39 ` [Bug bootstrap/17803] " v dot haisman at sh dot cvut dot cz
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: v dot haisman at sh dot cvut dot cz @ 2004-10-03 10:36 UTC (permalink / raw)
  To: gcc-bugs

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


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

* [Bug bootstrap/17803] Bootstrap with GCC 2.8.1 is broken
  2004-10-03 10:36 [Bug bootstrap/17803] New: Bootstrap with GCC 2.8.1 is broken v dot haisman at sh dot cvut dot cz
@ 2004-10-03 10:39 ` v dot haisman at sh dot cvut dot cz
  2004-10-03 10:50 ` [Bug bootstrap/17803] Bootstrap with GCC 2.8.1/2.95.4 " v dot haisman at sh dot cvut dot cz
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: v dot haisman at sh dot cvut dot cz @ 2004-10-03 10:39 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From v dot haisman at sh dot cvut dot cz  2004-10-03 10:39 -------
And similar error with GCC 2.95.4:

/usr/bin/gcc -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: syntax error before `ATTRIBUTE_SENTINEL'
../../srcdir/gcc/../include/libiberty.h:105: syntax error before
`ATTRIBUTE_SENTINEL'
../../srcdir/gcc/../include/libiberty.h:111: syntax error before
`ATTRIBUTE_SENTINEL'
../../srcdir/gcc/../include/libiberty.h:118: syntax error before
`ATTRIBUTE_SENTINEL'
../../srcdir/gcc/../include/libiberty.h:125: syntax error before
`ATTRIBUTE_SENTINEL'
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> /usr/bin/gcc -v
Using builtin specs.
gcc version 2.95.4 20020320 [FreeBSD]



-- 


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


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

* [Bug bootstrap/17803] Bootstrap with GCC 2.8.1/2.95.4 is broken
  2004-10-03 10:36 [Bug bootstrap/17803] New: Bootstrap with GCC 2.8.1 is broken v dot haisman at sh dot cvut dot cz
  2004-10-03 10:39 ` [Bug bootstrap/17803] " v dot haisman at sh dot cvut dot cz
@ 2004-10-03 10:50 ` v dot haisman at sh dot cvut dot cz
  2004-10-03 11:01 ` [Bug bootstrap/17803] Bootstrap with GCC 2.8.1/2.95.4/3.3.4 " v dot haisman at sh dot cvut dot cz
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: v dot haisman at sh dot cvut dot cz @ 2004-10-03 10:50 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Bootstrap with GCC 2.8.1 is |Bootstrap with GCC
                   |broken                      |2.8.1/2.95.4 is broken


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


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

* [Bug bootstrap/17803] Bootstrap with GCC 2.8.1/2.95.4/3.3.4 is broken
  2004-10-03 10:36 [Bug bootstrap/17803] New: Bootstrap with GCC 2.8.1 is broken v dot haisman at sh dot cvut dot cz
  2004-10-03 10:39 ` [Bug bootstrap/17803] " v dot haisman at sh dot cvut dot cz
  2004-10-03 10:50 ` [Bug bootstrap/17803] Bootstrap with GCC 2.8.1/2.95.4 " v dot haisman at sh dot cvut dot cz
@ 2004-10-03 11:01 ` v dot haisman at sh dot cvut dot cz
  2004-10-03 11:03 ` v dot haisman at sh dot cvut dot cz
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: v dot haisman at sh dot cvut dot cz @ 2004-10-03 11:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From v dot haisman at sh dot cvut dot cz  2004-10-03 11:01 -------
Ok, this is weird, what am I doing wrong?

gcc33 -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/include/libiberty.h:96: error: parse error before "ATTRIBUTE_SENTINEL"
../../srcdir/include/libiberty.h:105: error: parse error before "ATTRIBUTE_SENTINEL"
../../srcdir/include/libiberty.h:111: error: parse error before "ATTRIBUTE_SENTINEL"
../../srcdir/include/libiberty.h:111: warning: type defaults to `int' in
declaration of `ATTRIBUTE_SENTINEL'
../../srcdir/include/libiberty.h:111: warning: data definition has no type or
storage class
../../srcdir/include/libiberty.h:118: error: parse error before "ATTRIBUTE_SENTINEL"
../../srcdir/include/libiberty.h:118: warning: type defaults to `int' in
declaration of `ATTRIBUTE_SENTINEL'
../../srcdir/include/libiberty.h:118: warning: data definition has no type or
storage class
../../srcdir/include/libiberty.h:125: error: parse error before "ATTRIBUTE_SENTINEL"
../../srcdir/include/libiberty.h:125: warning: type defaults to `int' in
declaration of `ATTRIBUTE_SENTINEL'
../../srcdir/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> gcc33 -v
Reading specs from /usr/local/lib/gcc-lib/i386-portbld-freebsd4.9/3.3.4/specs
Configured with: ./..//gcc-3.3-20040322/configure --disable-nls
--with-system-zlib --program-suffix=33
--with-gxx-include-dir=/usr/local/lib/gcc-lib/i386-portbld-freebsd4.9/3.3.4/include/c++/
--disable-shared --prefix=/usr/local i386-portbld-freebsd4.9
Thread model: posix
gcc version 3.3.4 20040322 (prerelease) [FreeBSD]


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Bootstrap with GCC          |Bootstrap with GCC
                   |2.8.1/2.95.4 is broken      |2.8.1/2.95.4/3.3.4 is broken


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


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

* [Bug bootstrap/17803] Bootstrap with GCC 2.8.1/2.95.4/3.3.4 is broken
  2004-10-03 10:36 [Bug bootstrap/17803] New: Bootstrap with GCC 2.8.1 is broken v dot haisman at sh dot cvut dot cz
                   ` (2 preceding siblings ...)
  2004-10-03 11:01 ` [Bug bootstrap/17803] Bootstrap with GCC 2.8.1/2.95.4/3.3.4 " v dot haisman at sh dot cvut dot cz
@ 2004-10-03 11:03 ` v dot haisman at sh dot cvut dot cz
  2004-10-03 14:52 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: v dot haisman at sh dot cvut dot cz @ 2004-10-03 11:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From v dot haisman at sh dot cvut dot cz  2004-10-03 11:02 -------
Bootstrap with previous GCC 4.0.0 continues beyond that file.

wilx@logout:::~/tmp/gcc-head/objdir> gcc -v
Reading specs from /home/4/wilx/lib/gcc/i386-unknown-freebsd4.10/4.0.0/specs
Configured with: ../srcdir/configure --disable-nls
--enable-version-specific-runtime-libs --enable-dwarf2 --with-cpu=pentium3
--with-arch=pentium3 --with-system-zlib --disable-shared --prefix=/home/4/wilx
--enable-languages=c,c++,objc --disable-sjlj-exceptions
--enable-shared=libstdc++ --enable-shared=libobjc --with-gc=zone
Thread model: posix
gcc version 4.0.0 20040926 (experimental)



-- 


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


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

* [Bug bootstrap/17803] Bootstrap with GCC 2.8.1/2.95.4/3.3.4 is broken
  2004-10-03 10:36 [Bug bootstrap/17803] New: Bootstrap with GCC 2.8.1 is broken v dot haisman at sh dot cvut dot cz
                   ` (3 preceding siblings ...)
  2004-10-03 11:03 ` v dot haisman at sh dot cvut dot cz
@ 2004-10-03 14:52 ` pinskia at gcc dot gnu dot org
  2004-10-03 15:50 ` v dot haisman at sh dot cvut dot cz
  2004-10-03 18:20 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-03 14:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-03 14:52 -------
This does not make sense unless you already have ansidecl.h installed somewhere:
/* Attribute `sentinel' was valid as of gcc 3.5.  */
#ifndef ATTRIBUTE_SENTINEL
# if (GCC_VERSION >= 3005)
#  define ATTRIBUTE_SENTINEL __attribute__ ((__sentinel__))
# else
#  define ATTRIBUTE_SENTINEL
# endif /* GNUC >= 3.5 */
#endif /* ATTRIBUTE_SENTINEL */

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug bootstrap/17803] Bootstrap with GCC 2.8.1/2.95.4/3.3.4 is broken
  2004-10-03 10:36 [Bug bootstrap/17803] New: Bootstrap with GCC 2.8.1 is broken v dot haisman at sh dot cvut dot cz
                   ` (4 preceding siblings ...)
  2004-10-03 14:52 ` pinskia at gcc dot gnu dot org
@ 2004-10-03 15:50 ` v dot haisman at sh dot cvut dot cz
  2004-10-03 18:20 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: v dot haisman at sh dot cvut dot cz @ 2004-10-03 15:50 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From v dot haisman at sh dot cvut dot cz  2004-10-03 15:50 -------
Subject: Re:  Bootstrap with GCC 2.8.1/2.95.4/3.3.4 is
 broken

Strange, it was there but I am sure I didn't copy it there myself...
Sorry for the noise.



On Sun, 3 Oct 2004, pinskia at gcc dot gnu dot org wrote:

>
> ------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-03 14:52 -------
> This does not make sense unless you already have ansidecl.h installed somewhere:
> /* Attribute `sentinel' was valid as of gcc 3.5.  */
> #ifndef ATTRIBUTE_SENTINEL
> # if (GCC_VERSION >= 3005)
> #  define ATTRIBUTE_SENTINEL __attribute__ ((__sentinel__))
> # else
> #  define ATTRIBUTE_SENTINEL
> # endif /* GNUC >= 3.5 */
> #endif /* ATTRIBUTE_SENTINEL */
>
> --
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |WAITING
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17803
>
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
> You are on the CC list for the bug, or are watching someone who is.
>


-- 


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


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

* [Bug bootstrap/17803] Bootstrap with GCC 2.8.1/2.95.4/3.3.4 is broken
  2004-10-03 10:36 [Bug bootstrap/17803] New: Bootstrap with GCC 2.8.1 is broken v dot haisman at sh dot cvut dot cz
                   ` (5 preceding siblings ...)
  2004-10-03 15:50 ` v dot haisman at sh dot cvut dot cz
@ 2004-10-03 18:20 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-03 18:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-03 18:20 -------
Invalid so closing.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


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


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

end of thread, other threads:[~2004-10-03 18:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-03 10:36 [Bug bootstrap/17803] New: Bootstrap with GCC 2.8.1 is broken v dot haisman at sh dot cvut dot cz
2004-10-03 10:39 ` [Bug bootstrap/17803] " v dot haisman at sh dot cvut dot cz
2004-10-03 10:50 ` [Bug bootstrap/17803] Bootstrap with GCC 2.8.1/2.95.4 " v dot haisman at sh dot cvut dot cz
2004-10-03 11:01 ` [Bug bootstrap/17803] Bootstrap with GCC 2.8.1/2.95.4/3.3.4 " v dot haisman at sh dot cvut dot cz
2004-10-03 11:03 ` v dot haisman at sh dot cvut dot cz
2004-10-03 14:52 ` pinskia at gcc dot gnu dot org
2004-10-03 15:50 ` v dot haisman at sh dot cvut dot cz
2004-10-03 18:20 ` 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).