i960 cross compile broken

Andreas Jaeger aj@suse.de
Fri Jul 12 16:24:00 GMT 2002


Crosscompiling to i960-elf from i686-linux-gnu fails with:
/mmix/i960-elf/build/gcc/xgcc -B/mmix/i960-elf/build/gcc/ -nostdinc -B/mmix/i960-elf/build/i960-elf/newlib/ -isystem /mmix/i960-elf/build/i960-elf/newlib/targ-include -isystem /mmix/cross-sources/combined/newlib/libc/include -B/mmix/i960-elf/install/i960-elf/bin/ -B/mmix/i960-elf/install/i960-elf/lib/ -isystem /mmix/i960-elf/install/i960-elf/include -L/mmix/i960-elf/build/ld -S tmp-dum.c
tmp-dum.c:1: internal compiler error: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

arthur:/mmix/i960-elf/build/gcc:[1]$ gdb  /mmix/i960-elf/build/gcc/cc1
GNU gdb 5.2
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-suse-linux"...
Breakpoint 1 at 0x80bf9d0: file /mmix/cross-sources/combined/gcc/diagnostic.c, line 1364.
Breakpoint 2 at 0x80492c8
Breakpoint 3 at 0x8049108
(gdb) r  -fpreprocessed tmp-dum.i -mka -quiet -dumpbase tmp-dum.c -version -o tmp-dum.s
Breakpoint 2 at 0x4005a1dd
Breakpoint 3 at 0x40058e0f
GNU C version 3.2 20020712 (experimental) (i960-elf)
        compiled by GNU C version 2.95.3 20010315 (SuSE).

Program received signal SIGSEGV, Segmentation fault.
recog_1 (x0=0x40155ca0, insn=0x401689c0, pnum_clobbers=0xbffff478)
    at insn-recog.c:2656
2656      if (((current_function_args_size == 0
(gdb) bt
#0  recog_1 (x0=0x40155ca0, insn=0x401689c0, pnum_clobbers=0xbffff478)
    at insn-recog.c:2656
#1  0x081251a5 in recog (x0=0x40155ca0, insn=0x401689c0, 
    pnum_clobbers=0xbffff478) at insn-recog.c:2900
#2  0x080d280f in init_expr_once ()
    at /mmix/cross-sources/combined/gcc/expr.c:258
#3  0x0819a61f in lang_dependent_init (name=0xbffff73b "tmp-dum.i")
    at /mmix/cross-sources/combined/gcc/toplev.c:5096
#4  0x0819a7e8 in do_compile (no_backend=0)
    at /mmix/cross-sources/combined/gcc/toplev.c:5194
#5  0x0819a868 in toplev_main (argc=10, argv=0xbffff584)
    at /mmix/cross-sources/combined/gcc/toplev.c:5227
#6  0x08096846 in main (argc=10, argv=0xbffff584)
    at /mmix/cross-sources/combined/gcc/main.c:35
#7  0x400469ed in __libc_start_main () from /lib/libc.so.6

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj



More information about the Gcc-bugs mailing list