[Pkg-pascal-devel] Bug#985946: patch proposal

David Bannon dbannon at internode.on.net
Tue Nov 30 01:33:25 GMT 2021


Real Subject - Fail to build Lazarus (FPC Hardening) on  PPC64 

On Tue, 2021-11-30 at 10:17 +1100, David Bannon wrote:
> Hmm, I wonder why you don't see it in Lazarus ?   I did my tests
> using a binary fpc from FPC site. As such, I probably would have
> grabbed FPC 3.2.3, a "release candidate".  Maybe, the hardening
> problem does not exist with FPC 3.2.2 ?   Thats something I had
> better investigate.  If its a regression, we better act reasonably
> quickly. If its only in FPC 3.2.3 and gets released in FPC 3.2.4, you
> will end up with it. Bad ...

My tests, the ones that identified Hardening problems, were in fact
based on FPC3.2.2

OK, this might be a hint about your problem with Lazarus Abou.  The
Lazarus build does make some binaries during the build and then uses
those binaries to finish off.  But if those binaries have been built
with Hardening, the loader will not be able to find and run them.

Remember how I described the Hardening issue ?  The compile works fine,
sometimes (eg with tomboy-ng) the assembly and link all work fine too,
no errors. But they will not run, the (strange) message from the OS is
that it cannot find the binary but its there all along.

I suspect the 'helper' binaries are doing the same thing, building OK
but not working.

Can you, as a test, try the same build without the Hardening ?  Only a
test ....

Davo




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20211130/efef9646/attachment-0001.htm>


More information about the Pkg-pascal-devel mailing list