On 21/09/2020 21.27, Jan Engelhardt wrote:
On Monday 2020-09-21 19:30, Carlos E. R. wrote:
Luigi wants to build peazip in PIE mode, and has a patch in that package to
make it so. But PIE only works if _all_ dependencies are PIC/PIE too.
fpc is PIE-enabled. lazarus [seemingly] isn't.
Ok, I understand the issue. But you can not force upstream to change to use
My guess is that you would have to rebuild the entire RTL stack. I tried/did
once, long ago, then refrained, not worth the effort.
The RTL (of any language) is supposed to be PIC already, otherwise
we would have had problems with shared libraries a long time ago.
RTL is the wrong name, sorry, but I forget the right one. The RTL comes
with the compiler and you say they are compliant already. There is a
bunch of units that comes with Lazarus... ah, the LCL (Lazarus component
library) which maybe is not compliant.
Anyway, turns out, the problem was identified already and a submission
was made to OBS (only this late event sent a notification my way).
All is good. Thanks everyone.
Until the next package, next time :-}
Thank you. I'm sorry I can not contribute, I know nothing about the OBS,
and I tried. Besides, my expertise is with the old Borland Pascal up to
version 7, not with Lazarus / Free Pascal.
Cheers / Saludos,
Carlos E. R.
(from 15.1 x86_64 at Telcontar)