Compiling gcc 4.0.4 with a target of m68k-elf on a x86_64 Linux architecture
(SuSE 10.1), an internal error is generated when compiling libgcc2.c:

Command line that generated internal error:
/home/zdenekjs/68k/gcc-4.0.4-build/gcc/xgcc
-B/home/zdenekjs/68k/gcc-4.0.4-build/gcc/ -nostdinc -B/home/zdenekjs/68
k/gcc-4.0.4-build/m68k-elf/newlib/ -isystem
/home/zdenekjs/68k/gcc-4.0.4-build/m68k-elf/newlib/targ-include -isyste
m /home/zdenekjs/68k/gcc-4.0.4/newlib/libc/include
-B/usr/local/m68k-elf/m68k-elf/bin/ -B/usr/local/m68k-elf/m68k-e
lf/lib/ -isystem /usr/local/m68k-elf/m68k-elf/include -isystem
/usr/local/m68k-elf/m68k-elf/sys-include -O2  -DIN_G
CC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isy
stem ./include   -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I.
-I. -I../../gcc-4.0.4/gcc -I../../gcc
-4.0.4/gcc/. -I../../gcc-4.0.4/gcc/../include
-I../../gcc-4.0.4/gcc/../libcpp/include  -m68000 -DL_fixdfdi -c ../..
/gcc-4.0.4/gcc/libgcc2.c -o libgcc/m68000/_fixdfdi.o

Output:
./../gcc-4.0.4/gcc/libgcc2.c: In function ‘__fixdfdi’:
../../gcc-4.0.4/gcc/libgcc2.c:1256: internal compiler error: in do_SUBST, at
combine.c:462
Please submit a full bug report,


-- 
           Summary: Building libgcc2 on x86_64 for m68k-elf: internal
                    compiler error: in do_SUBST, at combine.c:462
           Product: gcc
           Version: 4.0.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zdenekjs at sarpeidon dot net
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: m68k-unknown-elf


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31324

Reply via email to