This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gcc-2.95 failed to build


Hi,
I tried building gcc-2.95 tonight (using egcs-1.1.2), and it failed horribly:

gcc -c  -DIN_GCC     -g  -DHAVE_CONFIG_H    -I. -I../../gcc-2.95/gcc -I../../gcc-2.95/gcc/config -I../../gcc-2.95/gcc/../include ../../gcc-2.95/gcc/c-lex.c
../../gcc-2.95/gcc/c-lex.c: In function `forget_protocol_qualifiers':
../../gcc-2.95/gcc/c-lex.c:153: `wordlist' undeclared (first use in this function)
../../gcc-2.95/gcc/c-lex.c:153: (Each undeclared identifier is reported only once
../../gcc-2.95/gcc/c-lex.c:153: for each function it appears in.)
../../gcc-2.95/gcc/c-lex.c:153: sizeof applied to an incomplete type
../../gcc-2.95/gcc/c-lex.c: In function `remember_protocol_qualifiers':
../../gcc-2.95/gcc/c-lex.c:164: `wordlist' undeclared (first use in this function)
../../gcc-2.95/gcc/c-lex.c:164: sizeof applied to an incomplete type
../../gcc-2.95/gcc/c-lex.c: In function `init_lex':
../../gcc-2.95/gcc/c-lex.c:284: warning: initialization makes pointer from integer without a cast
../../gcc-2.95/gcc/c-lex.c:284: dereferencing pointer to incomplete type
../../gcc-2.95/gcc/c-lex.c:288: warning: initialization makes pointer from integer without a cast
../../gcc-2.95/gcc/c-lex.c:288: dereferencing pointer to incomplete type
../../gcc-2.95/gcc/c-lex.c:289: warning: initialization makes pointer from integer without a cast
../../gcc-2.95/gcc/c-lex.c:289: dereferencing pointer to incomplete type
../../gcc-2.95/gcc/c-lex.c:290: warning: initialization makes pointer from integer without a cast
../../gcc-2.95/gcc/c-lex.c:290: dereferencing pointer to incomplete type
../../gcc-2.95/gcc/c-lex.c:291: warning: initialization makes pointer from integer without a cast
../../gcc-2.95/gcc/c-lex.c:291: dereferencing pointer to incomplete type
../../gcc-2.95/gcc/c-lex.c:292: warning: initialization makes pointer from integer without a cast
../../gcc-2.95/gcc/c-lex.c:292: dereferencing pointer to incomplete type
../../gcc-2.95/gcc/c-lex.c:293: warning: initialization makes pointer from integer without a cast
../../gcc-2.95/gcc/c-lex.c:293: dereferencing pointer to incomplete type
../../gcc-2.95/gcc/c-lex.c:294: warning: initialization makes pointer from integer without a cast
../../gcc-2.95/gcc/c-lex.c:294: dereferencing pointer to incomplete type
../../gcc-2.95/gcc/c-lex.c:295: warning: initialization makes pointer from integer without a cast
../../gcc-2.95/gcc/c-lex.c:295: dereferencing pointer to incomplete type
../../gcc-2.95/gcc/c-lex.c:298: warning: initialization makes pointer from integer without a cast
../../gcc-2.95/gcc/c-lex.c:298: dereferencing pointer to incomplete type
../../gcc-2.95/gcc/c-lex.c:302: warning: initialization makes pointer from integer without a cast
../../gcc-2.95/gcc/c-lex.c:302: dereferencing pointer to incomplete type
../../gcc-2.95/gcc/c-lex.c:303: warning: initialization makes pointer from integer without a cast
../../gcc-2.95/gcc/c-lex.c:303: dereferencing pointer to incomplete type
../../gcc-2.95/gcc/c-lex.c:304: warning: initialization makes pointer from integer without a cast
../../gcc-2.95/gcc/c-lex.c:304: dereferencing pointer to incomplete type
../../gcc-2.95/gcc/c-lex.c:305: warning: initialization makes pointer from integer without a cast
../../gcc-2.95/gcc/c-lex.c:305: dereferencing pointer to incomplete type
../../gcc-2.95/gcc/c-lex.c:306: warning: initialization makes pointer from integer without a cast
../../gcc-2.95/gcc/c-lex.c:306: dereferencing pointer to incomplete type
../../gcc-2.95/gcc/c-lex.c: In function `yylex':
../../gcc-2.95/gcc/c-lex.c:1347: warning: assignment makes pointer from integer without a cast
../../gcc-2.95/gcc/c-lex.c:1349: dereferencing pointer to incomplete type
../../gcc-2.95/gcc/c-lex.c:1350: dereferencing pointer to incomplete type
../../gcc-2.95/gcc/c-lex.c:1351: dereferencing pointer to incomplete type
../../gcc-2.95/gcc/c-lex.c:1366: dereferencing pointer to incomplete type
make[2]: *** [c-lex.o] Error 1
make[2]: Leaving directory `/usr/src/objdir-gcc-2.95/gcc'
make[1]: *** [bootstrap-lean] Error 2
make[1]: Leaving directory `/usr/src/objdir-gcc-2.95/gcc'
make: *** [bootstrap-lean] Error 2

My setup is as follows:
i586-pc-linux-gnu
glibc-2.1.1
binutils-2.9.5.0.3
I created my source-tree by gunzipping my original egcs-1.1.2.tar.gz file and
applying the bz2 patch that I downloaded from the egcs FTP site.

Gcc was configured as follows:
# ../gcc-2.95/configure --prefix=/usr --with-gnu-binutils --enable-shared --enable-nls

# make CFLAGS='-O2' LIBCFLAGS='-O2' LIBCXXFLAGS='-O2
  -fno-implicit-templates' bootstrap-lean

Cheers,
Chris.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]