Bootstrap failure with current mainline
Andreas Jaeger
aj@suse.de
Thu Aug 16 11:43:00 GMT 2001
gromit:/builds/gcc/gcc-3.1-devel/gcc:[0]$ ./xgcc -B./ -B/opt/gcc-3.1-devel/i686-p
c-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:303: warning: `result' might be used uninitialized in this function
/cvs/gcc/gcc/unwind-dw2.c:1187: confused by earlier errors, bailing out
-v shows additinoally:
/cvs/gcc/gcc/unwind-dw2.c: In function `execute_stack_op':
/cvs/gcc/gcc/unwind-dw2.c:303: warning: `result' might be used uninitialized in this function
/cvs/gcc/gcc/unwind-dw2.c: In function `_Unwind_GetGR':
/cvs/gcc/gcc/unwind-dw2.c:1185: 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.
The stacktrace reveals:
(gdb) bt
#0 0x400a5e76 in memset () from /lib/libc.so.6
#1 0x81447d3 in shorten_branches (first=0x403443c0)
at /cvs/gcc/gcc/final.c:1069
#2 0x82f78ce in rest_of_compilation (decl=0x402d9804)
at /cvs/gcc/gcc/toplev.c:3656
#3 0x825b8b7 in output_inline_function (fndecl=0x402d9804)
at /cvs/gcc/gcc/integrate.c:2903
#4 0x82f45f3 in wrapup_global_declarations (vec=0x85daaa0, len=1997)
at /cvs/gcc/gcc/toplev.c:1984
#5 0x82f52c0 in compile_file (name=0x8520d40 "unwind-dw2.i")
at /cvs/gcc/gcc/toplev.c:2356
#6 0x82fa020 in toplev_main (argc=18, argv=0xbffff5d4)
at /cvs/gcc/gcc/toplev.c:4919
#7 0x80bd556 in main (argc=18, argv=0xbffff5d4) at /cvs/gcc/gcc/main.c:34
#8 0x40047c6f in __libc_start_main () from /lib/libc.so.6
(gdb) up
#1 0x81447d3 in shorten_branches (first=0x403443c0)
at /cvs/gcc/gcc/final.c:1069
1069 memset (label_align + old + 1 - min_labelno, 0,
(gdb) p label_align + old + 1 - min_labelno
$6 = (struct label_alignment *) 0x85de8a4
(gdb) p max_labelno
$4 = 232
(gdb) p old
$5 = 684
(gdb) p min_labelno
$11 = 0
This is on GCC 3.1 from trunk last updated at Thu Aug 16 17:31:01 UTC 2001
configured with
/cvs/gcc/configure --prefix=/opt/gcc-3.1-devel --enable-shared --enable-threads=posix --enable-clocale=gnu --with-gnu-as --with-gnu-ld --disable-nls --with-system-zlib --enable-languages=c,objc,c++,f77,java
Thread model: posix
on i686-linux-gnu,
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