forwarded message from Godmar Back

Tom Tromey tromey@cygnus.com
Tue Oct 19 11:19:00 GMT 1999


Here's a bug that was reported to the libgcj list.
Please contact the original author (not me) directly if you need more
info.

Tom


------- start of forwarded message (RFC 934 encapsulation) -------
Content-Length: -1744
Received: from sourceware.cygnus.com (sourceware.cygnus.com [205.180.83.45])
	by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with SMTP id WAA07417
	for <tromey@cygnus.com>; Mon, 18 Oct 1999 22:19:13 -0700 (PDT)
Received: (qmail 24955 invoked by alias); 19 Oct 1999 05:18:46 -0000
Received: (qmail 24938 invoked from network); 19 Oct 1999 05:18:44 -0000
Received: from wrath.cs.utah.edu (155.99.198.100)
  by sourceware.cygnus.com with SMTP; 19 Oct 1999 05:18:44 -0000
Received: from peerless.cs.utah.edu (peerless.cs.utah.edu [155.99.212.87])
	by wrath.cs.utah.edu (8.8.8/8.8.8) with ESMTP id XAA03120
	for <java-discuss@sourceware.cygnus.com>; Mon, 18 Oct 1999 23:18:43 -0600 (MDT)
Received: (from gback@localhost)
	by peerless.cs.utah.edu (8.8.7/8.9.1) id XAA11931
	for java-discuss@sourceware.cygnus.com; Mon, 18 Oct 1999 23:18:42 -0600
	(envelope-from gback@cs.utah.edu)
Mailing-List: contact java-discuss-help@sourceware.cygnus.com; run by ezmlm
Precedence: bulk
List-Subscribe: < mailto:java-discuss-subscribe@sourceware.cygnus.com >
List-Archive: < http://sourceware.cygnus.com/ml/java-discuss/ >
List-Post: < mailto:java-discuss@sourceware.cygnus.com >
List-Help: < mailto:java-discuss-help@sourceware.cygnus.com >, < http://sourceware.cygnus.com/ml/#faqs >
Delivered-To: mailing list java-discuss@sourceware.cygnus.com
Message-Id: <199910190518.XAA11931@peerless.cs.utah.edu>
Content-Type: text
X-UIDL: 48bda2919b40c3860fc9632b843e8396
From: Godmar Back <gback@cs.utah.edu>
Sender: java-discuss-owner@sourceware.cygnus.com
To: java-discuss@sourceware.cygnus.com
Subject: egcs/gcc/gcj bombs during build in stage1
Date: Mon, 18 Oct 1999 23:18:42 -0600 (MDT)


 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


------- end -------


More information about the Gcc-bugs mailing list