This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

mcore-elf fails to build


Crosscompiling GCC mainline CVS with host i686-linux-gnu and target
mcore-elf fails with:

/mmix/mcore-elf/build/gcc/xgcc -B/mmix/mcore-elf/build/gcc/ -nostdinc -B/mmix/mcore-elf/build/mcore-elf/newlib/ -isystem /mmix/mcore-elf/build/mcore-elf/newlib/targ-include -isystem /mmix/cross-sources/combined/newlib/libc/include -B/mmix/mcore-elf/install/mcore-elf/bin/ -B/mmix/mcore-elf/install/mcore-elf/lib/ -isystem /mmix/mcore-elf/install/mcore-elf/include -L/mmix/mcore-elf/build/ld -O2  -DIN_GCC -DCROSS_COMPILE  -DDONT_HAVE_STDIO -DDONT_HAVE_SETJMP  -Dinhibit_libc  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -O3 -DNO_FLOATLIB_FIXUNSDFSI  -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -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_lshrdi3 -c /mmix/cross-sources/combined/gcc/libgcc2.c -o libgcc/./_lshrdi3.o
/mmix/cross-sources/combined/gcc/libgcc2.c: In function `__lshrdi3':
/mmix/cross-sources/combined/gcc/libgcc2.c:264: error: Too many outgoing branch edges from bb 1
/mmix/cross-sources/combined/gcc/libgcc2.c:264: 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.
make[2]: *** [libgcc/./_lshrdi3.o] Error 1

$ gdb  /mmix/mcore-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 0x80c0000: file /mmix/cross-sources/combined/gcc/diagnostic.c, line 1364.
Breakpoint 2 at 0x80492e8
Breakpoint 3 at 0x8049128
(gdb) r -fpreprocessed libgcc2.i -funsigned-bitfields -quiet -dumpbase libgcc2.c -g -O2 -O3 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -version -o libgcc2.s
Breakpoint 2 at 0x4005a1dd
Breakpoint 3 at 0x40058e0f
GNU C version 3.2 20020712 (experimental) (mcore-elf)
        compiled by GNU C version 2.95.3 20010315 (SuSE).
/mmix/cross-sources/combined/gcc/libgcc2.c: In function `__lshrdi3':
/mmix/cross-sources/combined/gcc/libgcc2.c:264: error: Too many outgoing branch edges from bb 1
/mmix/cross-sources/combined/gcc/libgcc2.c:264: 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  0x080bfd12 in internal_error ()
    at /mmix/cross-sources/combined/gcc/diagnostic.c:1199
#2  0x080aca9a in verify_flow_info ()
    at /mmix/cross-sources/combined/gcc/cfgrtl.c:2075
#3  0x081de95a in try_optimize_cfg (mode=35)
    at /mmix/cross-sources/combined/gcc/cfgcleanup.c:1728
#4  0x081dea76 in cleanup_cfg (mode=35)
    at /mmix/cross-sources/combined/gcc/cfgcleanup.c:1818
#5  0x081af5a7 in rest_of_compilation (decl=0x4017bd90)
    at /mmix/cross-sources/combined/gcc/toplev.c:3282
#6  0x080612af in c_expand_body (fndecl=0x4017bd90, nested_p=0, can_defer_p=0)
    at /mmix/cross-sources/combined/gcc/c-decl.c:6902
#7  0x08060ff9 in c_expand_deferred_function (fndecl=0x4017bd90)
    at /mmix/cross-sources/combined/gcc/c-decl.c:6788
#8  0x08087c55 in expand_deferred_fns ()
    at /mmix/cross-sources/combined/gcc/c-objc-common.c:289
#9  0x08087efd in c_objc_common_finish_file ()
    at /mmix/cross-sources/combined/gcc/c-objc-common.c:345
#10 0x080502cb in finish_file ()
    at /mmix/cross-sources/combined/gcc/c-lang.c:222
#11 0x08049a27 in yyparse () at c-parse.y:338
#12 0x08050f5e in c_common_parse_file (set_yydebug=0)
    at /mmix/cross-sources/combined/gcc/c-lex.c:165
#13 0x081ad7e2 in compile_file ()
    at /mmix/cross-sources/combined/gcc/toplev.c:2095
#14 0x081b2154 in do_compile (no_backend=0)
    at /mmix/cross-sources/combined/gcc/toplev.c:5195
#15 0x081b21c8 in toplev_main (argc=18, argv=0xbffff504)
    at /mmix/cross-sources/combined/gcc/toplev.c:5227
#16 0x08097016 in main (argc=18, argv=0xbffff504)
    at /mmix/cross-sources/combined/gcc/main.c:35
#17 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]