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

David Bannon dbannon at internode.on.net
Mon Nov 29 23:17:18 GMT 2021


On Mon, 2021-11-29 at 20:50 +0100, Abou Al Montacir wrote:
> > PIE Issues - To make a stable binary for my app, I needed to turn
> > off the hardening for the powerpc64 processor. I cannot, at this
> > stage determine if FPC deliberately supports hardening on POWER, I
> > need to do some more experiments. I suspect (but do not know) that
> > FPC hardening may be limited to x86 and ARM.
> I don't know, maybe you can ask on the FPC forum?

I have logged a bug report, 
https://gitlab.com/freepascal.org/fpc/source/-/issues/39451 about a
week ago. The answer is that officially Hardening should work. Some
works was done in that area recently, its possible its a regression.

Initially some interest but gone a bit quiet...

> > I have not heard back from sponsor Philipp Huebner,  (and thats
> > unusual) so he may be unhappy about me disabling PIE Hardening on
> > powerpc64.  Honesly, I very much doubt anyone is going to use it
> > there !
> Then you can disable that target for your package. I don't think
> Release Team will be happy with that, but may be acceptable.

Its in Sid now.  Given the nature of the application, its pretty
unlikely it will get any use on POWER anyway.  The problem is, IMHO, in
FPC, a fix to that will take some time to propagate to Debian, FPC has
a slower release cycle than Lazarus. I believe the same problem will
apply to all FPC apps on PowerPC64.

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 ...



> On ppc64el, Lazaus tests are failing due to an internal error. I may
> disable that target for Lazarus, then it will disable all LCL based
> apps, unless I ca find the root cause or upstream accepts to help on
> it.

Hmm, the only problem I found with Lazarus on PPC64 was its inability
to build LHelp (as noted previously). Both Lazarus and my app, tomboy-
ng seem to work fine there.

I raised the issue of LHelp on the Lazarus Forum but have not had any
responses. I have not submitted a bug report because PPC64 is not an
officially supported platform for Lazarus. But its cool that it works
there ....

What is the nature of this internal error you are seeing ?  Can you
tell me how to replicate it ?

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


More information about the Pkg-pascal-devel mailing list