bootstrap failure on trunk for i686-linux-gnu

Andreas Jaeger aj@suse.de
Tue Jun 19 03:27:00 GMT 2001


Andreas Jaeger <aj@suse.de> writes:

> Bootstrapping currently fails on the trunk for me, if you need
> further details, just ask,
> 
> Andreas
> 
> ./xgcc -B./ -B/opt/gcc-3.1-devel/i686-pc-linux-gnu/bin/ -isystem /opt/gcc-3.1-devel/i686-pc-linux-gnu/include -O2   -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g1 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I/cvs/gcc/gcc -I/cvs/gcc/gcc/. -I/cvs/gcc/gcc/config -I/cvs/gcc/gcc/../include -fexceptions -c /cvs/gcc/gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o
> /cvs/gcc/gcc/unwind-dw2.c: In function `execute_stack_op':
> /cvs/gcc/gcc/unwind-dw2.c:300: warning: `result' might be used uninitialized in this function
> /cvs/gcc/gcc/unwind-dw2.c: In function `uw_update_context_1':
> /cvs/gcc/gcc/unwind-dw2.c:1010: 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.

Here's some output from gdb, note that e and e_fall are NULL:

(gdb) r  -fpreprocessed unwind-dw2.i -quiet -dumpbase unwind-dw2.c -g1 -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -version -fPIC -fexceptions -o unwind-dw2.s
Starting program: /builds/gcc/gcc-3.1-devel/gcc/./cc1 -fpreprocessed unwind-dw2.i -quiet -dumpbase unwind-dw2.c -g1 -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -version -fPIC -fexceptions -o unwind-dw2.s
Breakpoint 1 at 0x4005b755
Breakpoint 3 at 0x4005a347
GNU CPP version 3.1 20010619 (experimental) (cpplib) (i386 Linux/ELF)
GNU C version 3.1 20010619 (experimental) (i686-pc-linux-gnu)
        compiled by GNU C version 2.95.3 20010315 (SuSE).
/cvs/gcc/gcc/unwind-dw2.c: In function `execute_stack_op':
/cvs/gcc/gcc/unwind-dw2.c:300: warning: `result' might be used uninitialized in this function

Program received signal SIGSEGV, Segmentation fault.
0x8348818 in fixup_reorder_chain () at /cvs/gcc/gcc/bb-reorder.c:596
596                   if (RBI (bb)->index + 1 == RBI (e_fall->dest)->index
(gdb) bt  
#0  0x8348818 in fixup_reorder_chain () at /cvs/gcc/gcc/bb-reorder.c:596
#1  0x834a32a in reorder_basic_blocks () at /cvs/gcc/gcc/bb-reorder.c:1366
#2  0x8303403 in rest_of_compilation (decl=0x404b8618)
    at /cvs/gcc/gcc/toplev.c:3630
#3  0x806ec57 in c_expand_body (fndecl=0x404b8618, nested_p=0)
    at /cvs/gcc/gcc/c-decl.c:6874
#4  0x806e8de in finish_function (nested=0) at /cvs/gcc/gcc/c-decl.c:6791
#5  0x804a4ec in yyparse_1 () at c-parse.y:343
#6  0x8053bc5 in yyparse () at /cvs/gcc/gcc/c-lex.c:154
#7  0x8300dc3 in compile_file (name=0x850cfd8 "unwind-dw2.i")
    at /cvs/gcc/gcc/toplev.c:2336
#8  0x8305c80 in toplev_main (argc=18, argv=0xbffff5d4)
    at /cvs/gcc/gcc/toplev.c:4988
#9  0x80bbd46 in main (argc=18, argv=0xbffff5d4) at /cvs/gcc/gcc/main.c:34
#10 0x40048c6f in __libc_start_main () from /lib/libc.so.6
(gdb) The program is running.  Exit anyway? (y or n) n
Not confirmed.
(gdb) p bb
$1 = 0x852b2d8
(gdb) p e_fall
$2 = 0x0
(gdb) p e_taken
$3 = 0x85c0498
(gdb) p e
$4 = 0x0

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