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]

GCC 3.0.3 20020121 fails to compile with glibc 2.2.5 ?


I tried to bootstrap GCC 3.0.3 20020121 with 2.95.4 CVS after
installing glibc 2.2.5 and it failed:

gcc -c  -DIN_GCC    -g  -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wtraditional
-pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I.
-I/usr/local/src/GNU/gcc-3.0.3/gcc
-I/usr/local/src/GNU/gcc-3.0.3/gcc/.
-I/usr/local/src/GNU/gcc-3.0.3/gcc/config
-I/usr/local/src/GNU/gcc-3.0.3/gcc/../include
/usr/local/src/GNU/gcc-3.0.3/gcc/ggc-common.c -o ggc-common.o
In file included from /usr/include/sys/wait.h:30,
   		 from /usr/local/src/GNU/gcc-3.0.3/gcc/system.h:230,
		 from /usr/local/src/GNU/gcc-3.0.3/gcc/ggc-common.c:25:
/usr/include/signal.h:203: variable-size type declared outside of any function
/usr/include/signal.h:209: variable-size type declared outside of any function
/usr/include/signal.h:215: variable-size type declared outside of any function
/usr/include/signal.h:219: variable-size type declared outside of any function
/usr/include/signal.h:223: variable-size type declared outside of any function
In file included from /usr/include/signal.h:232,
   		 from /usr/include/sys/wait.h:30,
		 from /usr/local/src/GNU/gcc-3.0.3/gcc/system.h:230,
		 from /usr/local/src/GNU/gcc-3.0.3/gcc/ggc-common.c:25:
/usr/include/bits/sigaction.h:34: variable-size type declared outside of any function
make[2]: *** [ggc-common.o] Error 1
make[2]: Leaving directory /home/pervalidus/tmp/objdir/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory /home/pervalidus/tmp/objdir/gcc'
make: *** [bootstrap-lean] Error 2

Is it a GCC problem ? Linux 2.4.17 ia32.

-- 
0@pervalidus.{net, dyndns.org}


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