Lintian warnings about compiled file lazarus / 32-Linux ---------------------------------------------------------------------- circular · 2020-10-21 15:56 I am trying to submit LazPaint to the Debian distributions and there are some warnings related to the binary file produced by Lazarus/FPC. I suppose it is not that bad but does anyone know if there are compiler switches for that? https://lintian.debian.org/tags/hardening-no-pie.html https://lintian.debian.org/tags/hardening-no-bindnow.html https://lintian.debian.org/tags/hardening-no-fortify-functions.html ---------------------------------------------------------------------- Blaazen · 2020-10-21 16:37 I don't know much about debian. Quick googling shows that Lazarus, FPC and DoubleCommander use lintian-overrides to avoid this kind of warnings. See for example ..lazarus/tools/install/debian_lazarus/lintian.overrides But those are not exactly the warnings you posted. ---------------------------------------------------------------------- circular · 2020-11-20 08:21 I have been able to solve those warnings with the following compiler options: Code: [Select]-Cg -k-pie -k-znow It was suggested to me on mentors if I recall well.