This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/23442] New: Compiler fails to build - internal compiler error: in do_SUBST, at combine.c:462
- From: "hamish at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Aug 2005 13:46:47 -0000
- Subject: [Bug bootstrap/23442] New: Compiler fails to build - internal compiler error: in do_SUBST, at combine.c:462
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Attempting to build a cross-compiler for m68k-unknown-elf on x86_64-linux-gnu
fails with an internal error:
/home/hamish/projects/rockbox/gcc-4/orig/build/gcc/xgcc
-B/home/hamish/projects/rockbox/gcc-4/orig/build/gcc/
-B/home/hamish/m68k-amd64/m68k-elf/bin/ -B/home/hamish/m68k-amd64/m68k-elf/lib/
-isystem /home/hamish/m68k-amd64/m68k-elf/include -isystem
/home/hamish/m68k-amd64/m68k-elf/sys-include -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.0.1/gcc
-I../../gcc-4.0.1/gcc/. -I../../gcc-4.0.1/gcc/../include
-I../../gcc-4.0.1/gcc/../libcpp/include -m68000 -DL_fixdfdi -c
../../gcc-4.0.1/gcc/libgcc2.c -o libgcc/m68000/_fixdfdi.o
../../gcc-4.0.1/gcc/libgcc2.c: In function '__fixdfdi':
../../gcc-4.0.1/gcc/libgcc2.c:1256: internal compiler error: in do_SUBST, at
combine.c:462
The host compiler is
gcc version 4.0.2 20050806 (prerelease) (Debian 4.0.1-4)
The same internal error occurs trying to build gcc-3.4.4,
using either gcc-4.0.2 or gcc-3.4.4.
The configure command was
../gcc-4.0.1/configure --prefix=$HOME/m68k-amd64 --target=m68k-unknown-elf
--enable-languages=c
Google found someone else had this problem with a sparc64 host:
http://www.rtems.com/ml/rtems-users/2005/june/msg00025.html
And someone else had this problem on x86_64 with gcc-3.4:
http://mailman.uclinux.org/pipermail/uclinux-dev/2005-June/033210.html
Hamish
--
Summary: Compiler fails to build - internal compiler error: in
do_SUBST, at combine.c:462
Product: gcc
Version: 4.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hamish at debian dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: x86_64-linux-gnu
GCC target triplet: m68k-unknown-elf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23442