On Tue, 1 Feb 2005, Steven Bosscher wrote: > On Feb 01, 2005 05:10 PM, Richard Guenther <[EMAIL PROTECTED]> wrote: > > > Hi! > > > > I get the following error during bootstrap: > > > > ./xgcc -B./ -B/usr/local/x86_64-unknown-linux-gnu/bin/ -isystem > > /usr/local/x86_64-unknown-linux-gnu/include -isystem > > /usr/local/x86_64-unknown-linux-gnu/sys-include > > -L/net/pherkad/scratch/rguenth/gcc-obj/gcc/../ld -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/net/pherkad/scratch/rguenth/gcc/gcc > > -I/net/pherkad/scratch/rguenth/gcc/gcc/. > > -I/net/pherkad/scratch/rguenth/gcc/gcc/../include > > -I/net/pherkad/scratch/rguenth/gcc/gcc/../libcpp/include > > -fvisibility=hidden -DHIDE_EXPORTS -fexceptions -c > > /net/pherkad/scratch/rguenth/gcc/gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o > > In file included from > > /net/pherkad/scratch/rguenth/gcc/gcc/gthr-posix.h:43, > > from ./gthr-default.h:1, > > from /net/pherkad/scratch/rguenth/gcc/gcc/gthr.h:114, > > from > > /net/pherkad/scratch/rguenth/gcc/gcc/unwind-dw2.c:42: > > /usr/include/pthread.h:655: error: array type has incomplete element type > > > > while libc didnt change for the last 10 days and bootstrap worked > > last week. The error is at > > > > /* Function used in the macros. */ > > struct __jmp_buf_tag; > > extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) > > __THROW; > > > > where __jmp_buf_tag is the incomplete type. I guess either this > > was caused by some #include removal or configure change. Anyones > > bell rings? > > Yup. PR19333, which I commited a fix for last night. That code > really is illegal. > > Can we fixincludes this somehow?
I did not find a PR for this problem, and it seems to be still present, so I filed PR bootstrap/20166 for it. Richard. -- Richard Guenther <richard dot guenther at uni-tuebingen dot de> WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/