Bug 163318 - Gnu Ada compiler does not work
Gnu Ada compiler does not work
Product: Fedora
Classification: Fedora
Component: gcc34 (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Depends On:
  Show dependency treegraph
Reported: 2005-07-14 21:14 EDT by Charles C. Van Tilburg
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-07-18 04:31:00 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
hello.adb source file for convenience (86 bytes, text/plain)
2005-07-14 21:14 EDT, Charles C. Van Tilburg
no flags Details

  None (edit)
Description Charles C. Van Tilburg 2005-07-14 21:14:29 EDT
Description of problem:

Gnu Ada compiler does not work

Version-Release number of selected component (if applicable):

FC3 versions libgnat-3.4.3-22.fc3 and gcc-gnat-3.4.3-22.fc3

How reproducible:

gnatmake hello.adb

where hello.adb contains:

with Text_IO;

procedure Hello is
        Text_IO.Put_Line("Hello world!");
end Hello;

Steps to Reproduce:
1. make hello.adb from above contents
2. gnatmake 
Actual results:

[ctilburg@axp ~]$ gnatmake hello.adb
gcc -c hello.adb
+===========================GNAT BUG DETECTED==============================+
| 3.4.3 20050227 (Red Hat 3.4.3-22.fc3) (i386-redhat-linux-gnu)            |
| Storage_Error stack overflow (or erroneous memory access)                |
| Error detected at a-textio.ads:53:9                                      |
| 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).                   |

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.


compilation abandoned
gnatmake: "hello.adb" compilation error

Expected results:

[ctilburg@lab ~]$ gnatmake hello.adb
gcc -c hello.adb
gnatbind -x hello.ali
gnatlink hello.ali

Additional info:

This works under FC4, but not FC3.  There may or may not be
something involving recent SELinux changes; see 

Comment 1 Charles C. Van Tilburg 2005-07-14 21:14:29 EDT
Created attachment 116783 [details]
hello.adb source file for convenience
Comment 2 Jakub Jelinek 2005-07-15 07:09:22 EDT
Works just fine here.  Do you get any audit messages from SELinux?
Comment 3 Charles C. Van Tilburg 2005-07-15 07:52:32 EDT
Comment 4 Charles C. Van Tilburg 2005-07-15 19:39:07 EDT
The problem was clearly the kernel.  

Upgrading from 2.6.11-1.35_FC3 to 2.6.12-1.1372_FC3, which just came 
over the network today, fixed this problem...

I find this troubling to discover given the reaction to the bug report
I got.

Also, IMHO, the new kernel splits out a '-devel' rpm that is not 
installed when one does an rpm -Fvh, even though, it should be since
this is a new split of functionality.
Comment 5 Charles C. Van Tilburg 2005-07-16 21:44:21 EDT
I have abandoned FC3 in favor of FC4

Note You need to log in before you can comment on or make changes to this bug.