Crosscompiler for m68hc11 broken

Andreas Jaeger aj@suse.de
Fri Jul 12 04:26:00 GMT 2002


Crosscompiling from i686-linux-gnu to m68hc11-elf gives this segfault:

/mmix/m68hc11-elf/build/gcc/xgcc -B/mmix/m68hc11-elf/build/gcc/ -nostdinc -B/mmix/m68hc11-elf/build/m68hc11-elf/newlib/ -isystem /mmix/m68hc11-elf/build/m68hc11-elf/newlib/targ-include -isystem /mmix/cross-sources/combined/newlib/libc/include -B/mmix/m68hc11-elf/install/m68hc11-elf/bin/ -B/mmix/m68hc11-elf/install/m68hc11-elf/lib/ -isystem /mmix/m68hc11-elf/install/m68hc11-elf/include -L/mmix/m68hc11-elf/build/ld -Os  -DUSE_GAS -DIN_GCC   -DIN_LIBGCC2 -I. -I. -I/mmix/cross-sources/combined/gcc -I/mmix/cross-sources/combined/gcc/. -I/mmix/cross-sources/combined/gcc/config -I/mmix/cross-sources/combined/gcc/../include  -DL_muldi3 -c /mmix/cross-sources/combined/gcc/libgcc2.c -o libgcc/./_muldi3.o
/mmix/cross-sources/combined/gcc/libgcc2.c: In function `__muldi3':
/mmix/cross-sources/combined/gcc/libgcc2.c:365: error: verify_flow_info: REG_BR_PROB does not match cfg 5000 0
/mmix/cross-sources/combined/gcc/libgcc2.c:365: error: verify_flow_info: REG_BR_PROB does not match cfg 5000 0
/mmix/cross-sources/combined/gcc/libgcc2.c:365: error: verify_flow_info: REG_BR_PROB does not match cfg 5000 0
/mmix/cross-sources/combined/gcc/libgcc2.c:365: internal compiler error: verify_flow_info failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

$ /mmix/m68hc11-elf/build/gcc/xgcc -B/mmix
/m68hc11-elf/build/gcc/ -nostdinc -B/mmix/m68hc11-elf/build/m68hc11-elf/newlib/ -isystem /mmix/m68hc11-elf/build/m68hc11-elf/newlib/targ-include -isystem /mmix/cross-sources/combined/newlib/libc/include -B/mmix/m68hc11-elf/install/m68hc11-elf/bin/ -B/mmix/m68hc11-elf/install/m68hc11-elf/lib/ -isystem /mmix/m68hc11-elf/install/m68hc11-elf/include -L/mmix/m68hc11-elf/build/ld -Os  -DUSE_GAS -DIN_GCC   -DIN_LIBGCC2 -I. -I. -I/mmix/cross-sources/combined/gcc -I/mmix/cross-sources/combined/gcc/. -I/mmix/cross-sources/combined/gcc/config -I/mmix/cross-sources/combined/gcc/../include  -DL_muldi3 -c /mmix/cross-sources/combined/gcc/libgcc2.c -o libgcc/./_muldi3.o -v -save-temps
Reading specs from /mmix/m68hc11-elf/build/gcc/specs
Configured with: /mmix/cross-sources/combined/configure --target=m68hc11-elf --prefix=/mmix/m68hc11-elf/install --disable-nls
Thread model: single
gcc version 3.2 20020711 (experimental)
 /mmix/m68hc11-elf/build/gcc/cc1 -E -quiet -nostdinc -v -I. -I. -I/mmix/cross-sources/combined/gcc -I/mmix/cross-sources/combined/gcc/. -I/mmix/cross-sources/combined/gcc/config -I/mmix/cross-sources/combined/gcc/../include -iprefix /mmix/m68hc11-elf/build/gcc/../lib/gcc-lib/m68hc11-elf/3.2/ -isystem /mmix/m68hc11-elf/build/gcc/include -isystem /mmix/m68hc11-elf/build/m68hc11-elf/newlib/include -isystem /mmix/m68hc11-elf/install/m68hc11-elf/bin/include -isystem /mmix/m68hc11-elf/install/m68hc11-elf/lib/include -D__GNUC__=3 -D__GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=0 -Dmc68hc1x -D__mc68hc1x__ -D__mc68hc1x -D__INT__=32 -Dmc6811 -DMC6811 -Dmc68hc11 -DUSE_GAS -DIN_GCC -DIN_LIBGCC2 -DL_muldi3 -isystem /mmix/m68hc11-elf/build/m68hc11-elf/newlib/targ-include -isystem /mmix/cross-sources/combined/newlib/libc/include -isystem /mmix/m68hc11-elf/install/m68hc11-elf/include /mmix/cross-sources/combined/gcc/libgcc2.c -Os libgcc2.i
ignoring nonexistent directory "/mmix/m68hc11-elf/build/m68hc11-elf/newlib/include"
ignoring nonexistent directory "/mmix/m68hc11-elf/install/m68hc11-elf/bin/include"
ignoring nonexistent directory "/mmix/m68hc11-elf/install/m68hc11-elf/lib/include"
ignoring nonexistent directory "/mmix/m68hc11-elf/build/m68hc11-elf/newlib/targ-include"
ignoring nonexistent directory "/mmix/m68hc11-elf/install/m68hc11-elf/include"
ignoring duplicate directory "."
ignoring duplicate directory "/mmix/cross-sources/combined/gcc"
#include "..." search starts here:
#include <...> search starts here:
 .
 /mmix/cross-sources/combined/gcc
 /mmix/cross-sources/combined/gcc/config
 /mmix/cross-sources/combined/include
 /mmix/m68hc11-elf/build/gcc/include
 /mmix/cross-sources/combined/newlib/libc/include
End of search list.
 /mmix/m68hc11-elf/build/gcc/cc1 -fpreprocessed libgcc2.i -quiet -dumpbase libgcc2.c -Os -version -o libgcc2.s
GNU C version 3.2 20020711 (experimental) (m68hc11-elf)
        compiled by GNU C version 2.95.3 20010315 (SuSE).
/mmix/cross-sources/combined/gcc/libgcc2.c: In function `__muldi3':
/mmix/cross-sources/combined/gcc/libgcc2.c:365: error: verify_flow_info: REG_BR_PROB does not match cfg 5000 0
/mmix/cross-sources/combined/gcc/libgcc2.c:365: error: verify_flow_info: REG_BR_PROB does not match cfg 5000 0
/mmix/cross-sources/combined/gcc/libgcc2.c:365: error: verify_flow_info: REG_BR_PROB does not match cfg 5000 0
/mmix/cross-sources/combined/gcc/libgcc2.c:365: internal compiler error: verify_flow_info failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

GNU C version 3.2 20020711 (experimental) (m68hc11-elf)
        compiled by GNU C version 2.95.3 20010315 (SuSE).
/mmix/cross-sources/combined/gcc/libgcc2.c: In function `__muldi3':
/mmix/cross-sources/combined/gcc/libgcc2.c:365: error: verify_flow_info: REG_BR_PROB does not match cfg 5000 0
/mmix/cross-sources/combined/gcc/libgcc2.c:365: error: verify_flow_info: REG_BR_PROB does not match cfg 5000 0
/mmix/cross-sources/combined/gcc/libgcc2.c:365: error: verify_flow_info: REG_BR_PROB does not match cfg 5000 0
/mmix/cross-sources/combined/gcc/libgcc2.c:365: internal compiler error: verify_flow_info failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

Breakpoint 2, 0x4005a1dd in exit () from /lib/libc.so.6
(gdb) bt
#0  0x4005a1dd in exit () from /lib/libc.so.6
#1  0x080bf7f2 in internal_error ()
    at /mmix/cross-sources/combined/gcc/diagnostic.c:1199
#2  0x080ac1ca in verify_flow_info ()
    at /mmix/cross-sources/combined/gcc/cfgrtl.c:2075
#3  0x081ee8ad in find_basic_blocks (f=0x401823a0, nregs=88, file=0x0)
    at /mmix/cross-sources/combined/gcc/cfgbuild.c:658
#4  0x081ea5b9 in m68hc11_reorg (first=0x401823a0)
    at /mmix/cross-sources/combined/gcc/config/m68hc11/m68hc11.c:5106
#5  0x081be380 in rest_of_compilation (decl=0x40175a10)
    at /mmix/cross-sources/combined/gcc/toplev.c:3410
#6  0x0806117f in c_expand_body (fndecl=0x40175a10, nested_p=0, can_defer_p=1)
    at /mmix/cross-sources/combined/gcc/c-decl.c:6902
#7  0x08060e65 in finish_function (nested=0, can_defer_p=1)
    at /mmix/cross-sources/combined/gcc/c-decl.c:6769
#8  0x0804a012 in yyparse () at c-parse.y:403
#9  0x08050fae in c_common_parse_file (set_yydebug=0)
    at /mmix/cross-sources/combined/gcc/c-lex.c:165
#10 0x081bc3b2 in compile_file ()
    at /mmix/cross-sources/combined/gcc/toplev.c:2095
#11 0x081c0cc4 in do_compile (no_backend=0)
    at /mmix/cross-sources/combined/gcc/toplev.c:5195
#12 0x081c0d38 in toplev_main (argc=10, argv=0xbffff584)
    at /mmix/cross-sources/combined/gcc/toplev.c:5227
#13 0x08096c56 in main (argc=10, argv=0xbffff584)
    at /mmix/cross-sources/combined/gcc/main.c:35
#14 0x400469ed in __libc_start_main () from /lib/libc.so.6


-------------- next part --------------
A non-text attachment was scrubbed...
Name: libgcc2.i
Type: application/octet-stream
Size: 8242 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20020712/d80cb1cc/attachment.obj>
-------------- next part --------------

-- 
 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