gnat 4.1.0 stack overflow on Fedora Core 5



I made the mistake of upgrading from Fedora Core 4 to Fedora Core 5 and
now a number of programs are broken, including gnat:

# cat zz.adb
with Ada.Text_IO;
use Ada.Text_IO;

procedure zz is
N : Natural;
begin
N := Natural'Last;

Put_Line ("Natural ranges from 0 to " & Natural'Image (N));
end zz;

# gnatmake zz.adb
gcc -c zz.adb
+===========================GNAT BUG
DETECTED==============================+
| 4.1.0 20060304 (Red Hat 4.1.0-3) (i386-redhat-linux-gnu)
Storage_Error stack overflow (or erroneous memory access)|
| Error detected at a-tags.adb:448:7
|
| 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).
|
+==========================================================================+

Please include these source files with error report
Note that list may not be accurate in some cases,
so please double check that the problem can still
be reproduced with the set of files listed.

zz.adb

compilation abandoned
gnatmake: "zz.adb" compilation error

# uname -a
Linux localhost.localdomain 2.6.16-1.2096_FC5 #1 Wed Apr 19 05:14:36
EDT 2006 i686 i686 i386 GNU/Linux

.



Relevant Pages

  • Comments on bug 140214 - the removal of X utilities?
    ... This bug is in regards to the removal in Fedora Core of the X ... The gist of the problem is that one developer, Mike A. Harris, has decided ... be in Fedora Core and gives no reason for this. ...
    (Fedora)
  • Re: Speaking of Fedora being behind....
    ... William M. Quarles wrote: ... >> The latest release of OpenOffioce is 1.1.3 ... > Fedora Core release. ... >> There are about a bazillion bug fixes in 1.1.3.. ...
    (Fedora)
  • Re: Text mode in FC-4
    ... in Fedora Core 4. ... Is this a bug, or a feature? ... and I think that requires compiling the kernel. ...
    (Fedora)
  • Re: kernel-2.4.22-1.2129.nptl
    ... Stop Bsod wrote: ... The kernel shipped with Fedora Core 1 was vulnerable to a bug in the ...
    (linux.redhat)
  • speedtouch driver generates errors
    ... Speedtouch 330 USB ADSL modem running under Fedora Core 4, ... do realise this report doesn't narrow things down much. ...
    (Fedora)