bootstrap/9741: ICE (segfault) while building a cross compiler
Tue Feb 18 11:46:00 GMT 2003

>Number:         9741
>Category:       bootstrap
>Synopsis:       ICE (segfault) while building a cross compiler
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 18 11:46:01 UTC 2003
>Release:        gcc-HEAD as of about 09:00 UTC 2003-02-18
Building current gcc HEAD on hppa-linux (current debian sid on a HP B132L)
I tried to create a hppa-linux hosted C-only (for kernel) cross compiler for alpha-linux:

../gcc/configure --target=alpha-linux --prefix=/usr/local/ --disable-shared --disable-nls --enable-languages=c

After 'make', this leads to:
/home/jbglaw/build/gcc/xgcc -B/home/jbglaw/build/gcc/ -B/usr/local//alpha-linux/bin/ -B/
usr/local//alpha-linux/lib/ -isystem /usr/local//alpha-linux/include -O2  -DIN_GCC -DCRO
SS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem 
nhibit_libc -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/config -I../../gcc/gcc/../include  -DL_muldi3 -c ../../gcc/gcc/libgcc2.c -o libgcc/./_muldi3.o

In file included from /usr/include/signal.h:33,
                 from ../../gcc/gcc/config/alpha/linux.h:72,
                 from tm.h:5,
                 from ../../gcc/gcc/libgcc2.c:43:
/usr/include/bits/sigset.h:30: error: size of array `__val' is too large
/usr/include/bits/sigset.h:31: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.

I do not include sources since you should have them:-)
Simply start a compile.


More information about the Gcc-bugs mailing list