[Bug ada/13442] New: Compiler crash in gnatlib bootstrap, SIGBUS at s-soflin.ads:145:4

jan-jaap dot vanderheijden at phoenixbv dot com gcc-bugzilla@gcc.gnu.org
Fri Dec 19 11:32:00 GMT 2003


While building gnatlib in a manual bootstrap,
gmake CC="stage1/xgcc -Bstage1/" CFLAGS=-O0 GNATLIBCFLAGS=-O0 gnatlib

    [...]

../../xgcc -B../../ -c -O0      -W -Wall -gnatpg  a-caldel.adb -o a-caldel.o
+===========================GNAT BUG DETECTED==============================+
| 3.4 20031217 (experimental) (mips-sgi-irix6.5) Program_Error SIGBUS      |
| Error detected at s-soflin.ads:145:4                                     |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| 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).                   |
+==========================================================================+
(no filenames)

Building stage1 works, the stage1 compiler can build gnatlib, gnatttools,
rebuild itself, but the stage2 compiler cannot build gnatlib (gnat 031217
miscompiles itself?).

Tried two ways: native bootstrap using gnat-3.14, and crossbuild with
crosscompiler from x86-linux.

$ stage1/xgcc -Bstage1/ -v
Reading specs from stage1/specs
Configured with: ../configure --prefix=/opt/gnu-031218 --enable-languages=c,ada
--enable-haifa --with-gnu-ld --with-gnu-as mips-sgi-irix6.5
Thread model: single
gcc version 3.4 20031217 (experimental)

Using binutils-031218, mips-sgi-irix6.5, irix-6.5.21m, IP30

-- 
           Summary: Compiler crash in gnatlib bootstrap, SIGBUS at s-
                    soflin.ads:145:4
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jan-jaap dot vanderheijden at phoenixbv dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: mips-sgi-irix6.5
  GCC host triplet: mips-sgi-irix6.5
GCC target triplet: mips-sgi-irix6.5


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



More information about the Gcc-bugs mailing list