[Pkg-pascal-devel] Improve hardening situation of FPC generated programs
Abou Al Montacir
abou.almontacir at sfr.fr
Sat Feb 1 11:33:15 GMT 2025
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20250201/4dcea004/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20250201/4dcea004/attachment-0001.sig>
More information about the Pkg-pascal-devel
mailing list