_G_config.h bug
Graham Wilson
gwilson@ghg.net
Wed Jul 1 16:49:00 GMT 1998
when i try to compile egcs-1.0.3a with glibc-2.0.6 it stops when building libio with a
message that says:
/usr/local/src/pgcc-2.90.29/i586-linuxglibc2/gcc/xgcc -B/usr/local/src/pgcc-2.90.29/i586-linuxglibc2/gcc -c -g -O2 -I. -I../../../libio ../../../libio/filedoalloc.c
In file included from ../../../libio/libio.h:30
../../../libio/iolibio.h:1
../../../libio/libioP.h:40
../../../libio/filedoalloc.c:48
_G_config.h: 45: parse error before `_G_sigset_t'
_G_config.h: 45: warning: data definition has no type or storage class
line 45 of _G_config.h is:
typedef __sigset_t _G_sigset_t
i have a i586 with linux-2.0.34 and glibc-2.0.6. my compiler is pgcc-1.0.3 compiled with
libc5. ive also tried compiling with egcs-1.0.3a and it still wont compile.
note 1: i am using pgcc patches but ive also tried without the pgcc patch and it still happens
note 2: if you comment out line 45 then it will compile correctly and will NOT break the compiler
note 3: this does not happen with libc5 only glibc
what's going on?
Thanks, graham
More information about the Gcc-bugs
mailing list