Failure to bootstrap gcc cvs HEAD 20031128 on sparc-linux: ICE in stage1/xgcc (gnat1): ada/sem_type.adb

Christian Joensson christian@j-son.org
Fri Nov 28 15:24:00 GMT 2003


Aurora SPARC Linux 1.0 (Ansel) SS20 dual SuperSparc-(II) sun4m:

binutils-2.13.90.0.20-5
bison-1.35-1
dejagnu-1.4.2-10 (ftp://ftp.redhat.com/pub/redhat/linux/rawhide/SRPMS/SRPMS)
expect-5.32.2-67
gcc 3.4 20031116 (experimental) sparc-linux
glibc-2.3.2-22sparc (ftp://auroralinux.org/pub/aurora/corona/RPMS)
glibc-kernheaders-2.4-8.9sparc (ftp://auroralinux.org/pub/aurora/corona/RPMS)
kernel-smp-2.4.20-3.4sparc (ftp://auroralinux.org/pub/aurora/corona/RPMS)
tcl-8.3.3-67

LAST_UPDATED: Fri Nov 28 08:02:54 UTC 2003

configure  sparc-linux --prefix=/usr/local/gcc-binutils --enable-__cxa_atexit --enable-shared --enable-threads=posix --with-system-zlib --enable-clocale=gnu

stage1/xgcc -Bstage1/ -B/usr/local/gcc-binutils/sparc-linux/bin/ -c -g -O2      -gnatpg -gnata -I- -I. -Iada -I/usr/local/src/trunk/gcc/gcc/ada /usr/local/src/trunk/gcc/gcc/ada/sem_prag.adb -o ada/sem_prag.o
stage1/xgcc -Bstage1/ -B/usr/local/gcc-binutils/sparc-linux/bin/ -c -g -O2      -gnatpg -gnata -I- -I. -Iada -I/usr/local/src/trunk/gcc/gcc/ada /usr/local/src/trunk/gcc/gcc/ada/sem_res.adb -o ada/sem_res.o
stage1/xgcc -Bstage1/ -B/usr/local/gcc-binutils/sparc-linux/bin/ -c -g -O2      -gnatpg -gnata -I- -I. -Iada -I/usr/local/src/trunk/gcc/gcc/ada /usr/local/src/trunk/gcc/gcc/ada/sem_smem.adb -o ada/sem_smem.o
stage1/xgcc -Bstage1/ -B/usr/local/gcc-binutils/sparc-linux/bin/ -c -g -O2      -gnatpg -gnata -I- -I. -Iada -I/usr/local/src/trunk/gcc/gcc/ada /usr/local/src/trunk/gcc/gcc/ada/sem_type.adb -o ada/sem_type.o
xgcc: Internal error: Illegal instruction (program gnat1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [ada/sem_prag.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/usr/local/src/trunk/objdir/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/usr/local/src/trunk/objdir/gcc'
make: *** [bootstrap-lean] Error 2


[chj@sparky gcc]$ gdb stage1/xgcc
GNU gdb Red Hat Linux (5.2-2)
Copyright 2002 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 "sparc-redhat-linux"...
Breakpoint 1 at 0x25158: file /usr/local/src/trunk/gcc/gcc/gcc.c, line 6560.
Breakpoint 2 at 0x40ea8
Breakpoint 3 at 0x40d88
(gdb) set args  -v -save-temps -Bstage1/ -B/usr/local/gcc-binutils/sparc-linux/bin/ -c -g -O2      -gnatpg -gnata -I- -I. -Iada -I/usr/local/src/trunk/gcc/gcc/ada /usr/local/src/trunk/gcc/gcc/ada/sem_prag.adb -o ada/sem_prag.o
(gdb) r
Starting program: /usr/local/src/trunk/objdir/gcc/stage1/xgcc -v -save-temps -Bstage1/ -B/usr/local/gcc-binutils/sparc-linux/bin/ -c -g -O2      -gnatpg -gnata -I- -I. -Iada -I/usr/local/src/trunk/gcc/gcc/ada /usr/local/src/trunk/gcc/gcc/ada/sem_prag.adb -o ada/sem_prag.o
Breakpoint 2 at 0x5005c2b8: file exit.c, line 35.
Breakpoint 3 at 0x5005b17c: file ../sysdeps/generic/abort.c, line 50.
Reading specs from stage1/specs
Configured with: /usr/local/src/trunk/gcc/configure sparc-linux --prefix=/usr/local/gcc-binutils --enable-__cxa_atexit --enable-shared --enable-threads=posix --with-system-zlib --enable-clocale=gnu
Thread model: posix
gcc version 3.4 20031128 (experimental)
 stage1/gnat1 -I- -I. -Iada -I/usr/local/src/trunk/gcc/gcc/ada -quiet -dumpbase sem_prag.adb -g -gnatpg -gnata -O2 -mcpu=v7 -gnatO ada/sem_prag.o /usr/local/src/trunk/gcc/gcc/ada/sem_prag.adb -o sem_prag.s
xgcc: Internal error: Illegal instruction (program gnat1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Breakpoint 2, *__GI_exit (status=1) at exit.c:40
warning: Source file is more recent than executable.

40	#include <sys/stat.h>
(gdb) bt
#0  *__GI_exit (status=1) at exit.c:40
#1  0x00025214 in fatal (
    msgid=0x2e8d8 "Internal error: %s (program %s)\nPlease submit a full bug report.\nSee %s for instructions.") at /usr/local/src/trunk/gcc/gcc/gcc.c:6577
#2  0x00016460 in execute () at /usr/local/src/trunk/gcc/gcc/gcc.c:2813
#3  0x0001d328 in do_spec_1 (
    spec=0x41ad0 "-o %|.s |\n as %(asm_options) %|.s %A", inswitch=0, 
    soft_matched_part=0x0) at /usr/local/src/trunk/gcc/gcc/gcc.c:4366
#4  0x00021a48 in process_brace_body (p=0x4679a "}", 
    atom=0x46773 "S:-o %|.s |\n as %(asm_options) %|.s %A }", 
    end_atom=0x46774 ":-o %|.s |\n as %(asm_options) %|.s %A }", starred=0, 
    matched=1) at /usr/local/src/trunk/gcc/gcc/gcc.c:5613
#5  0x0002133c in handle_braces (
    p=0x46774 ":-o %|.s |\n as %(asm_options) %|.s %A }")
    at /usr/local/src/trunk/gcc/gcc/gcc.c:5531
#6  0x0001fc58 in do_spec_1 (
    spec=0x46770 "%{!S:-o %|.s |\n as %(asm_options) %|.s %A }", inswitch=0, 
    soft_matched_part=0x0) at /usr/local/src/trunk/gcc/gcc/gcc.c:5017
#7  0x00020160 in do_spec_1 (spec=0x4aa30 "%(invoke_as)", inswitch=0, 
    soft_matched_part=0x0) at /usr/local/src/trunk/gcc/gcc/gcc.c:5116
#8  0x00021a48 in process_brace_body (p=0x4aa26 "}", 
    atom=0x4aa13 "gnats*:%(invoke_as)}", end_atom=0x4aa18 "*:%(invoke_as)}", 
    starred=1, matched=1) at /usr/local/src/trunk/gcc/gcc/gcc.c:5613
#9  0x0002133c in handle_braces (p=0x4aa19 ":%(invoke_as)}")
    at /usr/local/src/trunk/gcc/gcc/gcc.c:5531
#10 0x0001fc58 in do_spec_1 (spec=0x4aa10 "%{!gnats*:%(invoke_as)}", 
    inswitch=0, soft_matched_part=0x0)
    at /usr/local/src/trunk/gcc/gcc/gcc.c:5017
#11 0x00021a48 in process_brace_body (p=0x4aa09 "}", 
    atom=0x4a9eb "gnatz*:%{!gnats*:%(invoke_as)}}", 
    end_atom=0x4a9f0 "*:%{!gnats*:%(invoke_as)}}", starred=1, matched=1)
    at /usr/local/src/trunk/gcc/gcc/gcc.c:5613
#12 0x0002133c in handle_braces (p=0x4a9f1 ":%{!gnats*:%(invoke_as)}}")
    at /usr/local/src/trunk/gcc/gcc/gcc.c:5531
#13 0x0001fc58 in do_spec_1 (
    spec=0x4a9e8 "%{!gnatz*:%{!gnats*:%(invoke_as)}}", inswitch=0, 
    soft_matched_part=0x0) at /usr/local/src/trunk/gcc/gcc/gcc.c:5017
#14 0x00021a48 in process_brace_body (p=0x2b8f6 "}", 
    atom=0x2b8cd "gnatc*:%{!gnatz*:%{!gnats*:%(invoke_as)}}}", 
    end_atom=0x2b8d2 "*:%{!gnatz*:%{!gnats*:%(invoke_as)}}}", starred=1, 
    matched=1) at /usr/local/src/trunk/gcc/gcc/gcc.c:5613
#15 0x0002133c in handle_braces (
    p=0x2b8d3 ":%{!gnatz*:%{!gnats*:%(invoke_as)}}}")
    at /usr/local/src/trunk/gcc/gcc/gcc.c:5531
#16 0x0001fc58 in do_spec_1 (
    spec=0x2b708 " %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}} %{!gnatc*:%{!gnatz*:%{!gnats*:%{!S:%{!c:    %eone of -c, -S, -gnatc, -gnatz, or -gnats is required for Ada}}}}} gnat1 %{I*"..., inswitch=0, 
    soft_matched_part=0x0) at /usr/local/src/trunk/gcc/gcc/gcc.c:5017
#17 0x0001c940 in do_spec_2 (
    spec=0x2b708 " %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}} %{!gnatc*:%{!gnatz*:%{!gnats*:%{!S:%{!c:    %eone of -c, -S, -gnatc, -gnatz, or -gnats is required for Ada}}}}} gnat1 %{I*"...)
    at /usr/local/src/trunk/gcc/gcc/gcc.c:4202
#18 0x0001c804 in do_spec (
    spec=0x2b708 " %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}} %{!gnatc*:%{!gnatz*:%{!gnats*:%{!S:%{!c:    %eone of -c, -S, -gnatc, -gnatz, or -gnats is required for Ada}}}}} gnat1 %{I*"...)
    at /usr/local/src/trunk/gcc/gcc/gcc.c:4170
#19 0x00024840 in main (argc=17, argv=0xefffeb64)
    at /usr/local/src/trunk/gcc/gcc/gcc.c:6348
(gdb) quit
The program is running.  Exit anyway? (y or n) y
[chj@sparky gcc]$ 



More information about the Gcc mailing list