public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/37799]  New: SEGV compiling ada/ada.ads in stage2
@ 2008-10-10 16:11 ro at gcc dot gnu dot org
  2008-10-11 20:57 ` [Bug ada/37799] SIGBUS " ebotcazou at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: ro at gcc dot gnu dot org @ 2008-10-10 16:11 UTC (permalink / raw)
  To: gcc-bugs

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


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

end of thread, other threads:[~2008-12-03 17:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-10 16:11 [Bug ada/37799] New: SEGV compiling ada/ada.ads in stage2 ro at gcc dot gnu dot org
2008-10-11 20:57 ` [Bug ada/37799] SIGBUS " ebotcazou at gcc dot gnu dot org
2008-10-12 19:48 ` [Bug ada/37799] SEGV " ebotcazou at gcc dot gnu dot org
2008-11-30  9:29 ` ebotcazou at gcc dot gnu dot org
2008-12-02 21:39 ` ro at techfak dot uni-bielefeld dot de
2008-12-02 21:42 ` ro at gcc dot gnu dot org
2008-12-02 22:30 ` ro at techfak dot uni-bielefeld dot de
2008-12-03  8:59 ` ebotcazou at gcc dot gnu dot org
2008-12-03 14:33 ` ro at techfak dot uni-bielefeld dot de
2008-12-03 17:44 ` ebotcazou at gcc dot gnu dot org

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).