GCC 4.0 build error

Stephen torri storri@torri.org
Fri Feb 11 12:38:00 GMT 2005

I am building GCC from CVS, so I am not expecting a compile to go
without problems, which I have synced up this morning. This week I have
been getting compile errors in phthread.h which I will attach. 

Any ideas on how to get by this?

System stats:

GCC used for compiling:
gcc (GCC) 3.4.3 20050110 (Gentoo Hardened Linux,
ssp-, pie-8.7.7)


---- ERROR ----

/home/storri/src/gcc_build/gcc/xgcc -B/home/storri/src/gcc_build/gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include
-isystem /usr/local/i686-pc-linux-gnu/sys-include -O2  -DIN_GCC    -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc/gcc
-I../../gcc/gcc/. -I../../gcc/gcc/../include
-I../../gcc/gcc/../libcpp/include  -fvisibility=hidden -DHIDE_EXPORTS
-fexceptions -c ../../gcc/gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o
In file included from ../../gcc/gcc/gthr-posix.h:43,
                 from ./gthr-default.h:1,
                 from ../../gcc/gcc/gthr.h:114,
                 from ../../gcc/gcc/unwind-dw2.c:42:
/usr/include/pthread.h:660: error: array type has incomplete element
make[2]: *** [libgcc/./unwind-dw2.o] Error 1
make[2]: Leaving directory `/home/storri/src/gcc_build/gcc'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pthread.h
Type: text/x-chdr
Size: 34714 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20050211/a9b8d576/attachment.bin>

More information about the Gcc-help mailing list