+++ This bug was initially created as a clone of Bug #23442 +++ Attempting to build a cross-compiler for m68k-unknown-elf on x86_64-linux-gnu fails with an internal error: /home/lpowell/build-gcc/./gcc/xgcc -B/home/lpowell/build-gcc/./gcc/ -B/home/lpowell/m68k-gcc/m68k-elf/bin/ -B/home/lpowell/m68k-gcc/m68k-elf/lib/ -isystem /home/lpowell/m68k-gcc/m68k-elf/include -isystem /home/lpowell/m68k-gcc/m68k-elf/sys-include -O2 -O2 -g -O2 -DIN_GCC -DCROSS_COMPILE -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-4.1.1/gcc -I../../gcc-4.1.1/gcc/. -I../../gcc-4.1.1/gcc/../include -I../../gcc-4.1.1/gcc/../libcpp/include -m68000 -DL_fixdfdi -c ../../gcc-4.1.1/gcc/libgcc2.c -o libgcc/m68000/_fixdfdi.o ../../gcc-4.1.1/gcc/libgcc2.c: In function __fixdfdi: ../../gcc-4.1.1/gcc/libgcc2.c:1238: internal compiler error: in do_SUBST, at combine.c:470
The host compiler is gcc version 4.1.0 The configure command was ../gcc-4.1.1/configure --target=m68k-elf --prefix=/home/lpowell/m68k-gcc --disable-shared --with-gnu-as --with-gnu-ld --with-newlib --without-headers --enable-languages=c --with-local-prefix=/home/lpowell/m68k-gcc/m68k-elf -- Summary: Cross compiler build for m68k--elf fails on x86_64- linux-gnu Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: luke dot powell at bjservices dot com GCC build triplet: x86_64-linux-gnu GCC host triplet: x86_64-linux-gnu GCC target triplet: m68k-unknown-elf http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28911