public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/40637]  New: Ada bootstrap ICE on stage3 s-bitops.o
@ 2009-07-03 13:21 laurent at guerby dot net
  2009-07-03 13:27 ` [Bug ada/40637] " laurent at guerby dot net
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: laurent at guerby dot net @ 2009-07-03 13:21 UTC (permalink / raw)
  To: gcc-bugs

On trunk revision 149204:

/home/guerby/build/./prev-gcc/xgcc -B/home/guerby/build/./prev-gcc/
-B/n/40/guerby/install-trunk/powerpc64-unknown-linux-gnu/bin/
-B/n/40/guerby/install-trunk/powerpc64-unknown-linux-gnu/bin/
-B/n/40/guerby/install-trunk/powerpc64-unknown-linux-gnu/lib/ -isystem
/n/40/guerby/install-trunk/powerpc64-unknown-linux-gnu/include -isystem
/n/40/guerby/install-trunk/powerpc64-unknown-linux-gnu/sys-include    -c -g -O2
 -gnatpg -gnata -nostdinc -I- -I. -Iada -I../../trunk/gcc/ada
-I../../trunk/gcc/ada/gcc-interface ../../trunk/gcc/ada/s-bitops.adb -o
ada/s-bitops.o

raised STORAGE_ERROR : stack overflow (or erroneous memory access)
make[3]: *** [ada/s-bitops.o] Error 1
make[3]: Leaving directory `/home/guerby/build/gcc'
make[2]: *** [all-stage3-gcc] Error 2
make[2]: Leaving directory `/home/guerby/build'
make[1]: *** [stage3-bubble] Error 2
make[1]: Leaving directory `/home/guerby/build'
make: *** [bootstrap] Error 2

Under the debugger:

(gdb) r -I- -I. -Iada -I../../trunk/gcc/ada -I../../trunk/gcc/ada/gcc-interface
-quiet -nostdinc -dumpbase s-bitops.adb -auxbase-strip ada/s-bitops.o -O2 -g
-gnatpg -gnata -gnatO ada/s-bitops.o ../../trunk/gcc/ada/s-bitops.adb -o
/tmp/ccz0AGDK.s
Starting program: /home/guerby/build/prev-gcc/gnat1 -I- -I. -Iada
-I../../trunk/gcc/ada -I../../trunk/gcc/ada/gcc-interface -quiet -nostdinc
-dumpbase s-bitops.adb -auxbase-strip ada/s-bitops.o -O2 -g -gnatpg -gnata
-gnatO ada/s-bitops.o ../../trunk/gcc/ada/s-bitops.adb -o /tmp/ccz0AGDK.s
warning: no loadable sections found in added symbol-file system-supplied DSO at
0x100000

Program received signal SIGSEGV, Segmentation fault.
0x000000001030d95c in <osint___elabs> () at ../../trunk/gcc/ada/osint.ads:601
601                       new File_Name_Array (1 .. Int (Argument_Count) + 2);
Current language:  auto; currently ada
(gdb) bt
#0  0x000000001030d95c in <osint___elabs> () at
../../trunk/gcc/ada/osint.ads:601
#1  0x000000001011e644 in adainit () at ada/b_gnat1.c:368
Backtrace stopped: frame did not save the PC
(gdb) b main
Breakpoint 3 at 0x104ae94c: file ../../trunk/gcc/main.c, line 35.
(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: /home/guerby/build/prev-gcc/gnat1 -I- -I. -Iada
-I../../trunk/gcc/ada -I../../trunk/gcc/ada/gcc-interface -quiet -nostdinc
-dumpbase s-bitops.adb -auxbase-strip ada/s-bitops.o -O2 -g -gnatpg -gnata
-gnatO ada/s-bitops.o ../../trunk/gcc/ada/s-bitops.adb -o /tmp/ccz0AGDK.s
warning: no loadable sections found in added symbol-file system-supplied DSO at
0x100000

Breakpoint 3, main (argc=21, argv=0xffffffff7d8) at ../../trunk/gcc/main.c:35
35        return toplev_main (argc, argv);
Current language:  auto; currently c
(gdb) bt
#0  main (argc=21, argv=0xffffffff7d8) at ../../trunk/gcc/main.c:35
(gdb) s

Program received signal SIGSEGV, Segmentation fault.
0x000000001030d95c in <osint___elabs> () at ../../trunk/gcc/ada/osint.ads:601
601                       new File_Name_Array (1 .. Int (Argument_Count) + 2);
Current language:  auto; currently ada
(gdb) bt
#0  0x000000001030d95c in <osint___elabs> () at
../../trunk/gcc/ada/osint.ads:601
#1  0x000000001011e644 in adainit () at ada/b_gnat1.c:368
Backtrace stopped: frame did not save the PC

This is the first Ada file compiled during stage3, likely stage2 compiler is
miscompiled.


-- 
           Summary: Ada bootstrap ICE on stage3 s-bitops.o
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, build
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: laurent at guerby dot net
 GCC build triplet: powerpc64-unknown-linux-gnu
  GCC host triplet: powerpc64-unknown-linux-gnu
GCC target triplet: powerpc64-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40637


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-09-10 16:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-03 13:21 [Bug ada/40637] New: Ada bootstrap ICE on stage3 s-bitops.o laurent at guerby dot net
2009-07-03 13:27 ` [Bug ada/40637] " laurent at guerby dot net
2009-07-04 16:01 ` debian-gcc at lists dot debian dot org
2009-07-30 12:51 ` laurent at guerby dot net
2009-07-30 13:25 ` [Bug ada/40637] Ada bootstrap on powerpc64 " laurent at guerby dot net
2009-07-31 16:08 ` laurent at guerby dot net
2009-07-31 22:02 ` meissner at gcc dot gnu dot org
2009-08-02 17:21 ` laurent at guerby dot net
2009-08-23 18:04 ` laurent at guerby dot net
2009-09-10 16:15 ` laurent at guerby dot net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).