Recent gcc regression on Solaris
Tom Tromey
tromey@redhat.com
Mon Jan 29 12:08:00 GMT 2001
My Solaris native build now fails, where it succeeded just days ago:
./xgcc -B./ -B/ferrule/work3/tromey/java/install/sparc-sun-solaris2.6/bin/ -isystem /ferrule/work3/tromey/java/install/sparc-sun-solaris2.6/include -DIN_GCC -DSVR4 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/config -I../../gcc/gcc/../include -g0 \
-finhibit-size-directive -fno-inline-functions \
-fno-exceptions -fPIC \
-c ../../gcc/gcc/crtstuff.c -DCRT_BEGIN -o crtbegin.o
../../gcc/gcc/crtstuff.c:91: parse error before "TARGET_ATTRIBUTE_WEAK"
../../gcc/gcc/crtstuff.c:91: warning: type defaults to `int' in declaration of `TARGET_ATTRIBUTE_WEAK'
../../gcc/gcc/crtstuff.c:91: warning: data definition has no type or storage class
../../gcc/gcc/crtstuff.c:94: parse error before "TARGET_ATTRIBUTE_WEAK"
../../gcc/gcc/crtstuff.c:94: warning: type defaults to `int' in declaration of `TARGET_ATTRIBUTE_WEAK'
../../gcc/gcc/crtstuff.c:94: warning: data definition has no type or storage class
../../gcc/gcc/crtstuff.c:165: parse error before "TARGET_ATTRIBUTE_WEAK"
../../gcc/gcc/crtstuff.c:165: warning: type defaults to `int' in declaration of `TARGET_ATTRIBUTE_WEAK'
../../gcc/gcc/crtstuff.c:165: warning: data definition has no type or storage class
I suspect the recent defaults.h change by Kaveh Ghazi, but I have not
tried reverting it.
Tom
More information about the Gcc-bugs
mailing list