Description of problem: Compiling a simple ada "hello world" results in error... +========================GNAT BUG DETECTED========================+ | 3.2.3 20030502 (3.2.3-13) (x86_64-redhat-linux-gnu) GCC error: | | internal error: Segmentation fault | | No source file position information available | | 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 hello.adb compilation abandoned ----------------------------- I removed and recompiled gcc-gnat and the error remains. The hello.adb file looks like.... with Ada.Text_IO; use Ada.Text_IO; procedure Hello is begin Put_Line ("Hello WORLD!"); end Hello; and this was compiled using gcc -c hello.adb lastly, I already sent the bug report to gcc bugzilla and they said to send the bug report to redhat. Version-Release number of selected component (if applicable): 3.2.3-20 (although the error output says 3.2.3-13) How reproducible: Every time Steps to Reproduce: 1.Install/compile default gcc-gnat 2.Create the hello.adb file shown above 3.type gcc -c hello.adb Actual results: +========================GNAT BUG DETECTED========================+ | 3.2.3 20030502 (3.2.3-13) (x86_64-redhat-linux-gnu) GCC error: | | internal error: Segmentation fault | | No source file position information available | | 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 hello.adb compilation abandoned Expected results: The file should have compiled Additional info:
What kernel are you using? The early RHEL3 kernels did not grok PT_GNU_STACK markings properly, so you needed booting with noexec=off noexec32=off. This got fixed either in U2, or in U3, not sure ATM.
Kernel: 2.4.21-4.ELsmp
Yeah, that's too old. So you either need to reboot with noexec=off noexec32=off kernel command line arguments, or up2date the box to U4 including kernel and reboot into that kernel.