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]

Bootstrap failure on i686-linux



The current GCC from CVS is broken, I get at beginning of stage1
bootstrap:

stage1/xgcc -Bstage1/ -B/opt/gcc-3.1-devel/i686-pc-linux-gnu/bin/ -c  -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I/cvs/gcc/gcc -I/cvs/gcc/gcc/. -I/cvs/gcc/gcc/config -I/cvs/gcc/gcc/../include /cvs/gcc/gcc/gengenrtl.c
/cvs/gcc/gcc/gengenrtl.c: In function `gendecl':
/cvs/gcc/gcc/gengenrtl.c:266: Internal compiler error in verify_local_live_at_start, at flow.c:4376
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

(gdb) r -fpreprocessed gengenrtl.i -quiet -dumpbase gengenrtl.c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -Wno-long-long -pedantic -version -o gengenrtl.s
Starting program: /builds/gcc/gcc-3.1-devel/gcc/stage1/cc1 -fpreprocessed gengenrtl.i -quiet -dumpbase gengenrtl.c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -Wno-long-long -pedantic -version -o gengenrtl.s
Breakpoint 1 at 0x4005b755
Breakpoint 3 at 0x4005a347
GNU CPP version 3.1 20010801 (experimental) (cpplib) (i386 Linux/ELF)
GNU C version 3.1 20010801 (experimental) (i686-pc-linux-gnu)
        compiled by GNU C version 2.95.3 20010315 (SuSE).

Breakpoint 2, fancy_abort (file=0x8401ab2 "/cvs/gcc/gcc/flow.c", line=4376, 
    function=0x840220b "verify_local_live_at_start") at /cvs/gcc/gcc/diagnostic.c:1713
1713      internal_error ("Internal compiler error in %s, at %s:%d",
(gdb) bt
#0  fancy_abort (file=0x8401ab2 "/cvs/gcc/gcc/flow.c", line=4376, 
    function=0x840220b "verify_local_live_at_start") at /cvs/gcc/gcc/diagnostic.c:1713
#1  0x815646d in print_rtl_and_abort_fcn (file=0x8401ab2 "/cvs/gcc/gcc/flow.c", line=4376, 
    function=0x840220b "verify_local_live_at_start") at /cvs/gcc/gcc/flow.c:8060
#2  0x814f7c9 in verify_local_live_at_start (new_live_at_start=0xbfffed5c, bb=0x85445f0)
    at /cvs/gcc/gcc/flow.c:4376
#3  0x814fc81 in update_life_info (blocks=0x85c15a8, extent=UPDATE_LIFE_LOCAL, prop_flags=1)
    at /cvs/gcc/gcc/flow.c:4488
#4  0x83c4ab1 in schedule_insns (dump_file=0x0) at /cvs/gcc/gcc/sched-rgn.c:3059
#5  0x82f679f in rest_of_compilation (decl=0x403f6510) at /cvs/gcc/gcc/toplev.c:3562
#6  0x806fd37 in c_expand_body (fndecl=0x403f6510, nested_p=0) at /cvs/gcc/gcc/c-decl.c:6724
#7  0x806f9be in finish_function (nested=0) at /cvs/gcc/gcc/c-decl.c:6641
#8  0x804a78c in yyparse_1 () at c-parse.y:359
#9  0x8055505 in yyparse () at /cvs/gcc/gcc/c-lex.c:155
#10 0x82f41be in compile_file (name=0x85221f8 "gengenrtl.i") at /cvs/gcc/gcc/toplev.c:2316
#11 0x82f9010 in toplev_main (argc=19, argv=0xbffff5a4) at /cvs/gcc/gcc/toplev.c:4913
#12 0x80bcdf6 in main (argc=19, argv=0xbffff5a4) at /cvs/gcc/gcc/main.c:34
#13 0x40048c6f in __libc_start_main () from /lib/libc.so.6
(gdb) p new_live_at_start      
$1 = 0xbfffed5c
(gdb) p bb->global_live_at_start
$2 = 0x8544b3c
(gdb) p *bb->global_live_at_start
$3 = {first = 0x85bec9c, current = 0x85bec9c, indx = 0}
(gdb) p *new_live_at_start
$4 = {first = 0x85bec88, current = 0x85bec88, indx = 0}
(gdb) p new_live_at_start->first
$5 = (bitmap_element *) 0x85bec88
(gdb) p *new_live_at_start->first  
$6 = {next = 0x0, prev = 0x0, indx = 0, bits = {1048824, 0}}
(gdb) p bb->global_live_at_start->first
$7 = (bitmap_element *) 0x85bec9c
(gdb) p *bb->global_live_at_start->first
$8 = {next = 0x0, prev = 0x0, indx = 0, bits = {1048792, 0}}

I can send preproccessed sources if needed but this should be easy to
track down.

Configuration on i686-linux-gnu is:
Reading specs from stage1/specs
Configured with: /cvs/gcc/configure --prefix=/opt/gcc-3.1-devel --enable-shared --enable-threads=posix --with-gnu-as --with-gnu-ld --disable-nls --with-system-zlib --enable-languages=c,objc,c++,f77,java
Thread model: posix

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]