Can't build a gcc cross-compiler

Scott Newell newell at cei.net
Mon Jun 6 17:51:39 UTC 2005


Now what?  I can't seem to build gcc (tried both gcc-3.4.3 and gcc-4.0.0)
without running into an ICE.  I'm trying to build a m68k cross under
OpenBSD/sparc64.

My host compiler is:
	gcc --version
gcc (GCC) 3.3.2 (propolice)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Here's the ICE:

/home/newell/rtems/tools/b-gcc/gcc/xgcc
-B/home/newell/rtems/tools/b-gcc/gcc/ -nostdinc
-B/home/newell/rtems/tools/b-gcc/m68k-rtems/newlib/ -isystem
/home/newell/rtems/tools/b-gcc/m68k-rtems/newlib/targ-include -isystem
/home/newell/rtems/tools/gcc-4.0.0/newlib/libc/include
-B/usr/rtems/m68k-rtems/bin/ -B/usr/rtems/m68k-rtems/lib/ -isystem
/usr/rtems/m68k-rtems/include -isystem /usr/rtems/m68k-rtems/sys-include
-O2 -I../../gcc-4.0.0/gcc/../newlib/libc/sys/rtems/include -DIN_GCC
-DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include   -g
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc
-I. -I. -I../../gcc-4.0.0/gcc -I../../gcc-4.0.0/gcc/.
-I../../gcc-4.0.0/gcc/../include -I./../intl
-I../../gcc-4.0.0/gcc/../libcpp/include  -m68000 -DL_fixdfdi -c
../../gcc-4.0.0/gcc/libgcc2.c -o libgcc/m68000/_fixdfdi.o
../../gcc-4.0.0/gcc/libgcc2.c: In function '__fixdfdi':
../../gcc-4.0.0/gcc/libgcc2.c:1256: internal compiler error: in do_SUBST,
at combine.c:462
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
gmake[2]: *** [libgcc/m68000/_fixdfdi.o] Error 1
gmake[2]: Leaving directory `/home/newell/rtems/tools/b-gcc/gcc'
gmake[1]: *** [stmp-multilib] Error 2
gmake[1]: Leaving directory `/home/newell/rtems/tools/b-gcc/gcc'
gmake: *** [all-gcc] Error 2


thanks!
newell




More information about the users mailing list