[Pkg-pascal-devel] Improve hardening situation of FPC generated programs
Peter Blackman
peter at pblackman.plus.com
Sat Feb 1 13:52:40 GMT 2025
On 01/02/2025 11:33, Abou Al Montacir wrote:
> Hi Peter,
>
> On Sat, 2025-02-01 at 10:56 +0000, Peter B wrote:
>> On 31/01/2025 19:00, Abou Al Montacir wrote:
>>>
>>>
>>> This forces all programs to be dynamically linked (even if not needed)
>>> and to be PIE.
>>> If everyone is OK, I can prepare an upload with that change.
>>> --
>>> Cheers,
>>> Abou Al Montacir
>>
>> Hi Abou,
>>
>> There must be a way to switch this off,
>> or make it conditional on the architecture.
> It is already (-XD is conditional and the section FPC_LINK_DYNAMIC
> depends on it)
>>
>> PIE can break the compilation on m68k
>> and cause run times crashes on ppc64el
> Yes, indeed, I only enabled it for amd64, i386, armel and arm64 (FPC
> armhf is also not friend with PIE)
> --
> Cheers,
> Abou Al Montacir
Hi Abou,
Sorry, I missed the context of "forces all programs to be..."
Would be good to have a generic solution to missing PIE.
Regards,
Peter B
More information about the Pkg-pascal-devel
mailing list