A warning to Fedora users: There is a bug in the latest kernel updates for Fedora 4 and 5. Gnat doesn't work at all on these kernels. Until this bug has been fixed you have to stick to the Linux 2.6.15 packages when using Gnat.
I have no idea whether this affects other distributions than Fedora.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for directing my attention to Exec-shield. It is a bug and it's related to Exec-shield. When Fedora's own GCC package can't be rebuilt out of the box, there's definitely a bug somewhere, though not necessarily in Linux.
To work around the problem, Fedora users can put "kernel.exec-shield = 9" in /etc/sysctl.conf.
Update: The bug is fixed in the latest kernel for Fedora 5 (kernel-2.6.16-1.2122_FC5). I haven't tested the one for Fedora 4 (kernel-2.6.16 -1.2111_FC4) yet, but according to its changelog the fix has been applied there too.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
A warning to Fedora users: There is a bug in the latest kernel updates for Fedora 4 and 5. Gnat doesn't work at all on these kernels. Until this bug has been fixed you have to stick to the Linux 2.6.15 packages when using Gnat.
I have no idea whether this affects other distributions than Fedora.
Is this actually a bug or is it related to the exec shield capability of fedora?
See http://gcc.gnu.org/ml/gcc/2006-04/msg00410.html
and then
http://gcc.gnu.org/ml/gcc/2006-04/msg00426.html
Thank you for directing my attention to Exec-shield. It is a bug and it's related to Exec-shield. When Fedora's own GCC package can't be rebuilt out of the box, there's definitely a bug somewhere, though not necessarily in Linux.
To work around the problem, Fedora users can put "kernel.exec-shield = 9" in /etc/sysctl.conf.
The best place to continue this discussion is this Bugzilla entry:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=187853
Update: The bug is fixed in the latest kernel for Fedora 5 (kernel-2.6.16-1.2122_FC5). I haven't tested the one for Fedora 4 (kernel-2.6.16 -1.2111_FC4) yet, but according to its changelog the fix has been applied there too.