This is the mail archive of the gcc@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]
Other format: [Raw text]

New bootstrap failure on sparc-solaris2.7, fails to define "sparc"


Neil,

I'm getting a new bootstrap failure on sparc-sun-solaris2.7 within the
last day or so., probably related to recent changes you made.  It dies
in stage1 building any libgcc target file.  E.g.

 > /teal/tmpdisk/ghazi/gcc-testing/34/build/gcc/xgcc
 > -B/teal/tmpdisk/ghazi/gcc-testing/34/build/gcc/
 > -B/usr/local/sparc-sun-solaris2.7/bin/
 > -B/usr/local/sparc-sun-solaris2.7/lib/ -isystem
 > /usr/local/sparc-sun-solaris2.7/include -isystem
 > /usr/local/sparc-sun-solaris2.7/sys-include -DIN_GCC -W -Wall
 > -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
 > ./include -I. -I. -I../../egcc-CVS20030518/gcc
 > -I../../egcc-CVS20030518/gcc/. -I../../egcc-CVS20030518/gcc/config
 > -I../../egcc-CVS20030518/gcc/../include \
 > -c ../../egcc-CVS20030518/gcc/config/sparc/gmon-sol2.c -o gmon.o
 > 
 > In file included from /usr/include/sys/feature_tests.h:15,
 >                  from /teal/tmpdisk/ghazi/gcc-testing/34/build/gcc/include/stdio.h:36,
 >                  from ../../egcc-CVS20030518/gcc/tsystem.h:71,
 >                  from ../../egcc-CVS20030518/gcc/config/sparc/gmon-sol2.c:36:
 > /usr/include/sys/isa_defs.h:322:2: #error "ISA not supported"
 > In file included from /teal/tmpdisk/ghazi/gcc-testing/34/build/gcc/include/limits.h:11,
 >                  from ../../egcc-CVS20030518/gcc/tsystem.h:89,
 >                  from ../../egcc-CVS20030518/gcc/config/sparc/gmon-sol2.c:36:
 > /teal/tmpdisk/ghazi/gcc-testing/34/build/gcc/include/syslimits.h:64:2: #error "chars are signed or unsigned"
 > make[2]: *** [gmon.o] Error 1

The problem appears to be that neither "sparc" nor "__sparc" gets
defined.  (If I add -Dsparc or -D__sparc to the above invocation, the
compilation succeeds.)

Would you please take a look?

		Thanks,
		--Kaveh
--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu


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