public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/13442] New: Compiler crash in gnatlib bootstrap, SIGBUS at s-soflin.ads:145:4
@ 2003-12-19 11:32 jan-jaap dot vanderheijden at phoenixbv dot com
  2003-12-19 11:48 ` [Bug ada/13442] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: jan-jaap dot vanderheijden at phoenixbv dot com @ 2003-12-19 11:32 UTC (permalink / raw)
  To: gcc-bugs

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


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

* [Bug ada/13442] Compiler crash in gnatlib bootstrap, SIGBUS at s-soflin.ads:145:4
  2003-12-19 11:32 [Bug ada/13442] New: Compiler crash in gnatlib bootstrap, SIGBUS at s-soflin.ads:145:4 jan-jaap dot vanderheijden at phoenixbv dot com
@ 2003-12-19 11:48 ` pinskia at gcc dot gnu dot org
  2003-12-19 12:00 ` jan-jaap dot vanderheijden at phoenixbv dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-19 11:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-19 11:32 -------
What GNAT version are you starting out with, there are some known bugs for mips with older Ada 
compilers, see PR 6669 and bug 6552?
In bug 6669, there is references to binaries which should work but do not overload his machine.
Can you try them and say if they work because the report in PR 6669 is that they work.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug ada/13442] Compiler crash in gnatlib bootstrap, SIGBUS at s-soflin.ads:145:4
  2003-12-19 11:32 [Bug ada/13442] New: Compiler crash in gnatlib bootstrap, SIGBUS at s-soflin.ads:145:4 jan-jaap dot vanderheijden at phoenixbv dot com
  2003-12-19 11:48 ` [Bug ada/13442] " pinskia at gcc dot gnu dot org
@ 2003-12-19 12:00 ` jan-jaap dot vanderheijden at phoenixbv dot com
  2003-12-19 12:40 ` jan-jaap dot vanderheijden at phoenixbv dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jan-jaap dot vanderheijden at phoenixbv dot com @ 2003-12-19 12:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jan-jaap dot vanderheijden at phoenixbv dot com  2003-12-19 11:47 -------
Subject: Re:  Compiler crash in gnatlib bootstrap, SIGBUS at
 s-soflin.ads:145:4

On 19 Dec 2003 11:32:15 -0000
"pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> wrote:

> 
> ------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-19 11:32 -------
> What GNAT version are you starting out with, there are some known bugs for mips with older Ada 
> compilers, see PR 6669 and bug 6552?
> In bug 6669, there is references to binaries which should work but do not overload his machine.
> Can you try them and say if they work because the report in PR 6669 is that they work.
> 
> -- 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |WAITING
> 
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13442
> 
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.




-- 


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


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

* [Bug ada/13442] Compiler crash in gnatlib bootstrap, SIGBUS at s-soflin.ads:145:4
  2003-12-19 11:32 [Bug ada/13442] New: Compiler crash in gnatlib bootstrap, SIGBUS at s-soflin.ads:145:4 jan-jaap dot vanderheijden at phoenixbv dot com
  2003-12-19 11:48 ` [Bug ada/13442] " pinskia at gcc dot gnu dot org
  2003-12-19 12:00 ` jan-jaap dot vanderheijden at phoenixbv dot com
@ 2003-12-19 12:40 ` jan-jaap dot vanderheijden at phoenixbv dot com
  2003-12-22 10:51 ` jan-jaap dot vanderheijden at phoenixbv dot com
  2003-12-22 10:55 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: jan-jaap dot vanderheijden at phoenixbv dot com @ 2003-12-19 12:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jan-jaap dot vanderheijden at phoenixbv dot com  2003-12-19 11:56 -------
Subject: Re:  Compiler crash in gnatlib bootstrap, SIGBUS at
 s-soflin.ads:145:4

Sorry, pressed "send" to fast...

> 
> ------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-19
> 11:32 ------- What GNAT version are you starting out with, there are some
> known bugs for mips with older Ada compilers, see PR 6669 and bug 6552?

OK, I gave it two tries:

1) bootstrap native using gnat-3.14, which was in turn built from 3.13 <-- 3.12
<-- 3.11 (which is the last public binary)
This was very tedious, and fails as detailed in the bugreport.

2) build a crosscompiler, target mips-sgi-irix6.5, host x86/debian-3.0.
This is a new possibility, now that mips-sgi-irix6.5 is a binutils target.
I'm using gcc-3.3.2 + gnat as my x86 compiler to build the gcc-3.4-031218
snapshot cross(gcc+gnat), then use this to crossbuild the native
mips-sgi-irix6.5 gcc+gnat.
Then use this to bootstrap-build a native snapshot gcc compiler on irix.
This failed in the "native bootstrap" part, in the same location
(s-soflin.ads:145:4).

On 19 Dec 2003 11:32:15 -0000
"pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> wrote:

> In bug 6669, there is references to binaries which should work but do not
> overload his machine. Can you try them and say if they work because the report
> in PR 6669 is that they work.

I'll give this a try.

Jan-Jaap


-- 


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


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

* [Bug ada/13442] Compiler crash in gnatlib bootstrap, SIGBUS at s-soflin.ads:145:4
  2003-12-19 11:32 [Bug ada/13442] New: Compiler crash in gnatlib bootstrap, SIGBUS at s-soflin.ads:145:4 jan-jaap dot vanderheijden at phoenixbv dot com
                   ` (2 preceding siblings ...)
  2003-12-19 12:40 ` jan-jaap dot vanderheijden at phoenixbv dot com
@ 2003-12-22 10:51 ` jan-jaap dot vanderheijden at phoenixbv dot com
  2003-12-22 10:55 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: jan-jaap dot vanderheijden at phoenixbv dot com @ 2003-12-22 10:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jan-jaap dot vanderheijden at phoenixbv dot com  2003-12-22 09:18 -------
Subject: Re:  Compiler crash in gnatlib bootstrap, SIGBUS at
 s-soflin.ads:145:4

On 19 Dec 2003 11:32:15 -0000
"pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> wrote:

> 
> ------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-19
> 11:32 ------- What GNAT version are you starting out with, there are some
> known bugs for mips with older Ada compilers, see PR 6669 and bug 6552?
> In bug 6669, there is references to binaries which should work but do not
> overload his machine. Can you try them and say if they work because the report
> in PR 6669 is that they work.

I can confirm that gcc-3.4-20031217 can be bootstrapped with the gcc binary
mentioned above. I did configure it like that one, while my original (failed)
attempt was with GNU as/ld.

So, I will repeat once more to see if that was the cause of this faillure.
Meanwhile, the bug I filed can be canceled.

Thanks,
	Jan-Jaap


-- 


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


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

* [Bug ada/13442] Compiler crash in gnatlib bootstrap, SIGBUS at s-soflin.ads:145:4
  2003-12-19 11:32 [Bug ada/13442] New: Compiler crash in gnatlib bootstrap, SIGBUS at s-soflin.ads:145:4 jan-jaap dot vanderheijden at phoenixbv dot com
                   ` (3 preceding siblings ...)
  2003-12-22 10:51 ` jan-jaap dot vanderheijden at phoenixbv dot com
@ 2003-12-22 10:55 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-22 10:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-22 09:19 -------
Closing per the submitter.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


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


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

end of thread, other threads:[~2003-12-22  9:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-19 11:32 [Bug ada/13442] New: Compiler crash in gnatlib bootstrap, SIGBUS at s-soflin.ads:145:4 jan-jaap dot vanderheijden at phoenixbv dot com
2003-12-19 11:48 ` [Bug ada/13442] " pinskia at gcc dot gnu dot org
2003-12-19 12:00 ` jan-jaap dot vanderheijden at phoenixbv dot com
2003-12-19 12:40 ` jan-jaap dot vanderheijden at phoenixbv dot com
2003-12-22 10:51 ` jan-jaap dot vanderheijden at phoenixbv dot com
2003-12-22 10:55 ` pinskia 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).