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]

Re: Bootstrap broken on debian/amd64?


On Feb 01, 2005 05:10 PM, Richard Guenther <rguenth@tat.physik.uni-tuebingen.de> 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?

Gr.
Steven



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