gcc-bugs@gcc.gnu.org
[Top] [All Lists]

[Bug ada/37799] New: SEGV compiling ada/ada.ads in stage2

Subject: [Bug ada/37799] New: SEGV compiling ada/ada.ads in stage2
From: "ro at gcc dot gnu dot org"
Date: 10 Oct 2008 16:10:31 -0000
Current mainline as of 20081002 fails to bootstrap on sparcv9-sun-solaris2.11:

/vol/gccsrc/obj/gcc-4.4.0-20081002/11-gcc-v9/./prev-gcc/xgcc
-B/vol/gccsrc/obj/gcc-4.4.0-20081002/11-gcc-v9/./prev-gcc/
-B/vol/gcc/sparcv9-sun-solaris2.11/bin/ -c -g -O2  -gnatpg -gnata -nostdinc -I-
-I. -Iada -I/vol/gcc/src/gcc-hg/gcc/ada
-I/vol/gcc/src/gcc-hg/gcc/ada/gcc-interface /vol/gcc/src/gcc-hg/gcc/ada/ada.ads
-o ada/ada.o
+===========================GNAT BUG DETECTED==============================+
| 4.4.0 20081002 (experimental) (sparcv9-sun-solaris2.11) Program_Error SIGBUS|
| Error detected at system.ads:1:1                                         |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| Use a subject line meaningful to you and us to track the bug.            |
| Include the entire contents of this bug box in the report.               |
| Include the exact gcc or gnatmake command that you entered.              |
| Also include sources listed below in gnatchop format                     |
| (concatenated together with no headers between files).                   |
+==========================================================================+
make[3]: *** [ada/ada.o] Error 1

Running gnat1 under gdb reveals:

(gdb) run -I- -I. -Iada -I/vol/gcc/src/gcc-hg/gcc/ada
-I/vol/gcc/src/gcc-hg/gcc/ada/gcc-interface -quiet -nostdinc -dumpbase ada.ads
-O2 -g -gnatpg -gnata -mcpu=v9 -gnatO ada/ada.o
/vol/gcc/src/gcc-hg/gcc/ada/ada.ads
Starting program: /vol/gccsrc/obj/gcc-4.4.0-20081002/11-gcc-v9/gcc/gnat1 -I-
-I. -Iada -I/vol/gcc/src/gcc-hg/gcc/ada
-I/vol/gcc/src/gcc-hg/gcc/ada/gcc-interface -quiet -nostdinc -dumpbase ada.ads
-O2 -g -gnatpg -gnata -mcpu=v9 -gnatO ada/ada.o
/vol/gcc/src/gcc-hg/gcc/ada/ada.ads
warning: Temporarily disabling breakpoints for unloaded shared library
"/usr/lib/sparcv9/ld.so.1"

Program received signal SIGSEGV, Segmentation fault.
0x0000000100866de8 in targparm.get_target_parameters (system_text=0x1021454a0,
source_first=0, source_last=9005) at
/vol/gcc/src/gcc-hg/gcc/ada/targparm.adb:253
Current language:  auto; currently ada
(gdb) where
#0  0x0000000100866de8 in targparm.get_target_parameters
(system_text=0x1021454a0, source_first=0, source_last=9005) at
/vol/gcc/src/gcc-hg/gcc/ada/targparm.adb:253
#1  0x000000010089980c in gnat1drv () at
/vol/gcc/src/gcc-hg/gcc/ada/gnat1drv.adb:318
#2  0x000000010023d1e8 in gnat_parse_file (set_yydebug=0) at
/vol/gcc/src/gcc-hg/gcc/ada/gcc-interface/misc.c:208
#3  0x0000000100eff9d8 in compile_file () at
/vol/gcc/src/gcc-hg/gcc/toplev.c:968
#4  0x0000000100f043ec in do_compile () at
/vol/gcc/src/gcc-hg/gcc/toplev.c:2190
#5  0x0000000100f044c8 in toplev_main (argc=18, argv=0xffffffff7ffff438) at
/vol/gcc/src/gcc-hg/gcc/toplev.c:2222
#6  0x000000010089b584 in main (argc=18, argv=0xffffffff7ffff438) at
/vol/gcc/src/gcc-hg/gcc/main.c:35


-- 
           Summary: SEGV compiling ada/ada.ads in stage2
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ro at gcc dot gnu dot org
 GCC build triplet: sparcv9-sun-solaris2.11
  GCC host triplet: sparcv9-sun-solaris2.11
GCC target triplet: sparcv9-sun-solaris2.11


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

<Prev in Thread] Current Thread [Next in Thread>