error while x-compiling libgcc2.c

Georg-Johann Lay avr@gjlay.de
Wed Mar 25 18:50:00 GMT 2009


Florent DEFAY schrieb:
> Hi,
> 
> I am workingon a new port.
> Target: 16 bits, no hard mul.
> 
> My problem is when I try to compile libgcc2, it finishes with error:
> __________________________________________________________________
> /home/guest1/gcc/build_target/./gcc/xgcc
> -B/home/guest1/gcc/build_target/./gcc/
> -B/home/guest1/target/target/bin/ -B/home/guest1/target/target/lib/
> -isystem /home/guest1/target/target/include -isystem
> /home/guest1/target/target/sys-include -O2 -g -g -O2 -O2  -O2 -g -g
> -O2   -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE   -W -Wall -Wwrite-strings
> -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
> -isystem ./include   -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
> -Dinhibit_libc  -I. -I. -I../.././gcc -I../../../gcc-4.3.3/libgcc
> -I../../../gcc-4.3.3/libgcc/. -I../../../gcc-4.3.3/libgcc/../gcc
> -I../../../gcc-4.3.3/libgcc/../include   -o _muldi3.o -MT _muldi3.o
> -MD -MP -MF _muldi3.dep -DL_muldi3 -c
> ../../../gcc-4.3.3/libgcc/../gcc/libgcc2.c \
> 
> xgcc: Internal error: Segmentation fault (program cc1)
> Please submit a full bug report.
> See <http://gcc.gnu.org/bugs.html> for instructions.
> make: *** [_muldi3.o] Error 1

You will have to debug cc1.

Call xgcc with -v -save-temps to get .i and command line arguments for cc1.

Georg-Johann



More information about the Gcc-help mailing list