[Pkg-pascal-devel] PIE / Fortify problems with GOverlay (uses Lazarus)

Abou Al Montacir abou.almontacir at sfr.fr
Tue Aug 4 13:25:06 BST 2020


Hi Stephan,
On Tue, 2020-08-04 at 11:59 +0000, Stephan Lachnit wrote:
> Dear Pascal Packaging Team,
> I'm currently looking into packaging GOverlay (
> https://github.com/benjamimgois/goverlay).It is a gaming related tool written
> with Lazarus.
> I got a working package, but it don't get the executable to be position
> independent or enable any fortifications (warnings from lintian). Obviously
> the debhelper build flags won't help, but I also played around with the
> project / compile settings in Lazarus and didn't get it to work. Can anyone
> maybe help me out with this?
> Code on Salsa: https://salsa.debian.org/games-team/goverlay
> Package on Mentors: https://mentors.debian.net/package/goverlay/
I'm currently busy uploading FPC 3.2.0 and Lazarus 2.0.10. I just finished to
upload a new build to experimental.Once this is done, I can have a look at your
code and try to help with it.However you can already have a look at the Debian
compiler options which is passed to fpc as follows:fpc @${DEB_BUILD_FPC_OPT}
Thi sfile is created by make file as follows:${DEB_BUILD_FPC_OPT}:	echo '#
FPC configuration file for build system tools' > $@	echo '-k${LDFLAGS}' >>
$@	echo '-Fl/usr/lib/${DEB_BUILD_MULTIARCH}' >> $@
Please let me know if it works.-- 
Abou Al Montacir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20200804/f8598d42/attachment-0001.html>
-------------- 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/20200804/f8598d42/attachment-0001.sig>


More information about the Pkg-pascal-devel mailing list