gcc-2_95-branch libobjc problem

Bernhard Rosenkraenzer bero@redhat.com
Sun Oct 24 06:10:00 GMT 1999


Tried compiling gcc-2_95-branch from current CVS on Red Hat Linux 6.1/x86.
Everything except for libobjc works well (replacing the libobjc
Makefile.in with just
all:
install:
works around this and the resulting gcc/g++ versions work great); libobjc
doesn't compile:

/shared/src/redhat/BUILD/gcc-2.95.2/obj-i386-redhat-linux/gcc/xgcc
-B/shared/src/redhat/BUILD/gcc-2.95.2/obj-i386-redhat-linux/gcc/
-B/usr/i386-redhat-linux/bin/ -fgnu-runtime -c -o linking.o -I.
-I../../../libobjc   -O2 -m486 -fexceptions
-DIN_GCC -I../../../libobjc/objc  -I../../../libobjc/../gcc
-I../../../libobjc/../gcc/config -I../../gcc -I../../../libobjc/../include
../../../libobjc/linking.m
In file included from ../../../libobjc/objc/Object.h:30,
                 from ../../../libobjc/linking.m:28:
../../../libobjc/objc/objc.h:51: parse error before `const'
xgcc: Internal compiler error: program cc1obj got fatal signal 11
make: *** [linking.o] Error 1

I ./configure'd with --enable-haifa --enable-threads=posix.

LLaP
bero




More information about the Gcc-bugs mailing list