<html dir="ltr"><head></head><body style="text-align:left; direction:ltr;"><div>On Mon, 2021-11-29 at 20:50 +0100, Abou Al Montacir wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div><br></div><div>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.</div></blockquote><div>I don't know, maybe you can ask on the FPC forum?</div></blockquote><div><br></div><div>I have logged a bug report, <a href="https://gitlab.com/freepascal.org/fpc/source/-/issues/39451">https://gitlab.com/freepascal.org/fpc/source/-/issues/39451</a> 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.</div><div><br></div><div>Initially some interest but gone a bit quiet...</div><div><br></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div><br></div><div>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 !</div></blockquote><div>Then you can disable that target for your package. I don't think Release Team will be happy with that, but may be acceptable.</div></blockquote><div><br></div><div>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.</div><div><br></div><div>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 ...</div><div><br></div><div><br></div><div><br></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><br></blockquote><div>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.</div></blockquote><div><br></div><div>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.</div><div><br></div><div>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 ....</div><div><br></div><div>What is the nature of this internal error you are seeing ? Can you tell me how to replicate it ?</div><div><br></div><div>Davo</div></body></html>