[fpc-devel] Executable stack

Jonas Maebe jonas.maebe at elis.ugent.be
Sun Oct 19 13:05:38 CEST 2008


On 19 Oct 2008, at 12:22, Jonas Maebe wrote:

> On 19 Oct 2008, at 12:00, joost at cnoc.nl wrote:
>
>> A new feature of the Fedora-rpm-build tools is that it searches for
>> executables that permit to execute code on the stack.
>> It seems like that fpc allows this, but is it also necessary? So is  
>> it
>> possible to disallow this in the compiler, or is that impossible?
>
> http://bugs.freepascal.org/view.php?id=11563

And I still don't know why executable stacks are suddenly enabled  
automatically under Linux if libc is linked, and whether the proper  
solution for the compiler is to use that linker parameter, whether it  
should somehow annotate the object files, or something else.


Jonas



More information about the fpc-devel mailing list