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 17:08:00 GMT 2003


On Fri, Nov 28, 2003 at 01:55:25PM +0100, Eric Botcazou wrote:
> > /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.
> 
> What is the date of your last successful bootstrap with the same 
> configuration?

uhm, well, I haven't yet... I'm trying to get it working...
 
> > [chj@sparky gcc]$ gdb stage1/xgcc
> 
> Could you run gdb on stage1/gnat1 instead and post the assembly around the 
> instruction that generated the error?

well, I don't get much out of it, maybe a memory/kernel related issue
rather than gnat1...

[chj@sparky gcc]$ gdb stage1/gnat1
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 0x4344f0: file /usr/local/src/trunk/gcc/gcc/diagnostic.c, line 584.
Breakpoint 2 at 0x9403b8
Breakpoint 3 at 0x9401b4
(gdb) set args -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
(gdb) r
Starting program: /usr/local/src/trunk/objdir/gcc/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
Breakpoint 2 at 0x5005c2b8: file exit.c, line 35.
Breakpoint 3 at 0x5005b17c: file ../sysdeps/generic/abort.c, line 50.

Program received signal SIGILL, Illegal instruction.
0xefffcab8 in ?? ()
(gdb) bt
#0  0xefffcab8 in ?? ()
Cannot access memory at address 0x300252d
(gdb) u
Execution is not within a known function.
(gdb) up
#1  0x821060b8 in ?? ()
(gdb) bt
#0  0xefffcab8 in ?? ()
#1  0x821060b8 in ?? ()
Cannot access memory at address 0x0
(gdb) up
#2  0x821060b8 in ?? ()
(gdb) bt
#0  0xefffcab8 in ?? ()
#1  0x821060b8 in ?? ()
#2  0x821060b8 in ?? ()
Cannot access memory at address 0x5234723e
(gdb) up
#3  0x00000000 in ?? ()
(gdb) bt
#0  0xefffcab8 in ?? ()
#1  0x821060b8 in ?? ()
#2  0x821060b8 in ?? ()
#3  0x00000000 in ?? ()
(gdb) up
Initial frame selected; you cannot go up.
(gdb) bt
#0  0xefffcab8 in ?? ()
#1  0x821060b8 in ?? ()
#2  0x821060b8 in ?? ()
#3  0x00000000 in ?? ()
(gdb) quit
The program is running.  Exit anyway? (y or n) y
[chj@sparky gcc]$ 

/ChJ



More information about the Gcc mailing list