egcs/gcc/gcj bombs during build in stage1
Godmar Back
gback@cs.utah.edu
Mon Oct 18 22:18:00 GMT 1999
Hi,
this should probably be submitted to the gcc bug database, but it may
reflect a glitch in the CVS tree, or it may ring a bell with anybody else
on this (all frequent gcc builders, I assume)
I updated my egcs/gcc CVS tree, and typed
...mypathtoegcs/configure --prefix=/my/destdir
and
make bootstrap
as the doc says.
and after a while stage1 bails on me like this:
stage1/xgcc -Bstage1/ -B/opt/local/i686-pc-linux-gnu/bin/ -DIN_GCC -W -Wall -O2 -g -O2 -DHAVE_CONFIG_H -I. -I../../egcs/gcc -I../../egcs/gcc/config -I../../egcs/gcc/../include \
-DTARGET_NAME=\"i686-pc-linux-gnu\" \
-c `echo ../../egcs/gcc/toplev.c | sed 's,^\./,,'`
../../egcs/gcc/toplev.c: In function `default_print_error_function':
../../egcs/gcc/toplev.c:1544: warning: format not a string literal, argument types not checked
../../egcs/gcc/toplev.c: In function `report_error_function':
../../egcs/gcc/toplev.c:1579: warning: format not a string literal, argument types not checked
../../egcs/gcc/toplev.c: In function `vnotice':
../../egcs/gcc/toplev.c:1595: warning: format not a string literal, argument types not checked
../../egcs/gcc/toplev.c: In function `vmessage':
../../egcs/gcc/toplev.c:1664: warning: format not a string literal, argument types not checked
../../egcs/gcc/toplev.c: In function `v_message_with_decl':
../../egcs/gcc/toplev.c:1720: warning: format not a string literal, argument types not checked
../../egcs/gcc/toplev.c: In function `_fatal_insn':
../../egcs/gcc/toplev.c:1971: warning: format not a string literal, argument types not checked
stage1/xgcc -Bstage1/ -B/opt/local/i686-pc-linux-gnu/bin/ -c -DIN_GCC -W -Wall -O2 -g -O2 -DHAVE_CONFIG_H -I. -I../../egcs/gcc -I../../egcs/gcc/config -I../../egcs/gcc/../include ../../egcs/gcc/tree.c
xgcc: Internal compiler error: program cc1 got fatal signal 11
make[2]: *** [tree.o] Error 1
make[2]: Leaving directory `/x/gback/egcs-obj/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/x/gback/egcs-obj/gcc'
make: *** [bootstrap] Error 2
In case this helps anyone:
[root@peerless gcc]# gdb stage1/xgcc
GNU gdb 4.17.0.4 with Linux/x86 hardware watchpoint and FPU support
Copyright 1998 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-redhat-linux"...
Breakpoint 1 at 0x8048e6c
Breakpoint 2 at 0x805285b: file ../../egcs/gcc/gcc.c, line 5326.
Breakpoint 3 at 0x8048c8c
(gdb) run -Bstage1/ -B/opt/local/i686-pc-linux-gnu/bin/ -c -DIN_GCC -W -Wal -O2 -g -O2 -DHAVE_CONFIG_H -I. -I../../egcs/gcc -I../../egcs/gcc/config -I./../egcs/gcc/../include ../../egcs/gcc/tree.c
Starting program: /x/gback/egcs-obj/gcc/stage1/xgcc -Bstage1/ -B/opt/local/i686-pc-linux-gnu/bin/ -c -DIN_GCC -W -Wall -O2 -g -O2 -DHAVE_CONFIG_H -I. -I../../egcs/gcc -I../../egcs/gcc/config -I../../egcs/gcc/../include ../../egcs/gcc/tree.c
Breakpoint 1 at 0x4002c685: file exit.c, line 40.
Breakpoint 3 at 0x4002b7a6: file ../sysdeps/generic/abort.c, line 50.
xgcc: Internal compiler error: program cc1 got fatal signal 11
Breakpoint 1, exit (status=1) at exit.c:40
exit.c:40: No such file or directory.
A backtrace from where it's crashing.
#0 exit (status=1) at exit.c:40
#1 0x80528c3 in fatal (
msgid=0x80584b3 "Internal compiler error: program %s got fatal signal %d")
at ../../egcs/gcc/gcc.c:5350
#2 0x804b94b in execute () at ../../egcs/gcc/gcc.c:2360
#3 0x804e864 in do_spec_1 (
spec=0x8061e38 "cc1 %{!pipe:%g.i} %1 \t\t %{!Q:-quiet} -dumpbase %b.c %{d*} %{m*} %{a*}\t\t %{g*} %{O*} %{W*} %{w} %{pedantic*} %{std*}\t\t %{traditional} %{v:-version} %{pg:-p} %{p} %{f*}\t\t %{aux-info*} %{Qn:-fno-"...,
inswitch=0, soft_matched_part=0x0) at ../../egcs/gcc/gcc.c:3487
#4 0x805080a in handle_braces (
p=0x8061c4a "!E:cc1 %{!pipe:%g.i} %1 \t\t %{!Q:-quiet} -dumpbase %b.c %{d*} %{m*} %{a*}\t\t %{g*} %{O*} %{W*} %{w} %{pedantic*} %{std*}\t\t %{traditional} %{v:-version} %{pg:-p} %{p} %{f*}\t\t %{aux-info*} %{Qn:-f"...)
at ../../egcs/gcc/gcc.c:4447
#5 0x804ff9e in do_spec_1 (
spec=0x8061c48 "%{!E:cc1 %{!pipe:%g.i} %1 \t\t %{!Q:-quiet} -dumpbase %b.c %{d*} %{m*} %{a*}\t\t %{g*} %{O*} %{W*} %{w} %{pedantic*} %{std*}\t\t %{traditional} %{v:-version} %{pg:-p} %{p} %{f*}\t\t %{aux-info*} %{Qn:"...,
inswitch=0, soft_matched_part=0x0) at ../../egcs/gcc/gcc.c:4102
#6 0x805080a in handle_braces (
p=0x8061a52 "!MM:%{!E:cc1 %{!pipe:%g.i} %1 \t\t %{!Q:-quiet} -dumpbase %b.c %{d*} %{m*} %{a*}\t\t %{g*} %{O*} %{W*} %{w} %{pedantic*} %{std*}\t\t %{traditional} %{v:-version} %{pg:-p} %{p} %{f*}\t\t %{aux-info*} %"...)
at ../../egcs/gcc/gcc.c:4447
#7 0x804ff9e in do_spec_1 (
spec=0x8061a50 "%{!MM:%{!E:cc1 %{!pipe:%g.i} %1 \t\t %{!Q:-quiet} -dumpbase %b.c %{d*} %{m*} %{a*}\t\t %{g*} %{O*} %{W*} %{w} %{pedantic*} %{std*}\t\t %{traditional} %{v:-version} %{pg:-p} %{p} %{f*}\t\t %{aux-info*}"...,
inswitch=0, soft_matched_part=0x0) at ../../egcs/gcc/gcc.c:4102
#8 0x805080a in handle_braces (
p=0x80613fb "!M:%{!MM:%{!E:cc1 %{!pipe:%g.i} %1 \t\t %{!Q:-quiet} -dumpbase %b.c %{d*} %{m*} %{a*}\t\t %{g*} %{O*} %{W*} %{w} %{pedantic*} %{std*}\t\t %{traditional} %{v:-version} %{pg:-p} %{p} %{f*}\t\t %{aux-inf"...)
at ../../egcs/gcc/gcc.c:4447
#9 0x804ff9e in do_spec_1 (
spec=0x80610e0 "cpp -lang-c %{ansi:-std=c89} %{std*} %{nostdinc*}\t%{C} %{v} %{A*} %{I*} %{P} %{$} %I\t%{C:%{!E:%eGNU C does not support -C without using -E}}\t%{M} %{MM} %{MD:-MD %b.d} %{MMD:-MMD %b.d} %{MG} %{!"...,
inswitch=0, soft_matched_part=0x0) at ../../egcs/gcc/gcc.c:4102
#10 0x804e592 in do_spec (
spec=0x80610e0 "cpp -lang-c %{ansi:-std=c89} %{std*} %{nostdinc*}\t%{C} %{v} %{A*} %{I*} %{P} %{$} %I\t%{C:%{!E:%eGNU C does not support -C without using -E}}\t%{M} %{MM} %{MD:-MD %b.d} %{MMD:-MMD %b.d} %{MG} %{!"...)
at ../../egcs/gcc/gcc.c:3406
#11 0x8052391 in main (argc=16, argv=0xbffffa84) at ../../egcs/gcc/gcc.c:5116
I built stage1 with this gcc:
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/specs
gcc version 2.7.2.3
- Godmar
More information about the Java
mailing list