[Pkg-pascal-devel] fpc | Bumped FPC ABI version. (!4)

Abou Al Montacir abou.almontacir at sfr.fr
Wed Feb 12 12:33:00 GMT 2025


Hi Peter,

On Wed, 2025-02-12 at 11:00 +0000, Peter Blackman wrote:
> On 11/02/2025 22:17, Mazen Neifer (@mazen) wrote:
> > GitLab
> > 
> > Peter Blackman was added as a reviewer. Paul Gevers was removed from 
> > reviewers.
> > 
> > —
> > Reply to this email directly or view it on GitLab 
> > <https://salsa.debian.org/pascal-team/fpc/-/merge_requests/4>.
> > You're receiving this email because of your account on 
> > salsa.debian.org <https://salsa.debian.org>. Unsubscribe 
> > <
> > https://salsa.debian.org/-/sent_notifications/e1a4eabada43486c69a7e03c6a955f2e/unsubscribe
> > > 
> > from this thread · Manage all notifications 
> > <https://salsa.debian.org/-/profile/notifications> · Help 
> > <https://salsa.debian.org/help>
> > 
> 
> Hi Abou,
> 
> I'm just wondering if this needs to be architecture specific.
> https://salsa.debian.org/pascal-team/fpc/-/merge_requests/4/diffs?commit_id=8f6ab8d889da303a8bbee55c303a4e19febcee94
> 
> I've added hardening manually to some of my pascal packages,
> and discovered that -k-pie caused runtime crashes on ppc64el,
> and that -Cg can break the compilation on m68k.
As explained in a previous discussion, the PIE is enabled only on a subset of
architectures (amd64, i386,  arm*, ...)
Developers shall use @hardening to enable hardening, not manually added flags.
This ensures all FPC compiled programs have the very same compilation flags with
regards to PIE.

Please check CGE, CMV and Lazarus for example of how to use this. I can also
help with regards to that.
> 
> See for example
> https://sources.debian.org/src/cevomapgen/38-1/debian/rules/

easier is to pass @hardening to your make file or include it in a cfg file that
exists already.
Compilation should be as follows:
fpc some flags @hardening my_prog_name
-- 
Cheers,
Abou Al Montacir


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20250212/36c2ec4c/attachment.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/20250212/36c2ec4c/attachment.sig>


More information about the Pkg-pascal-devel mailing list