On Mon, 20 Sep 2021 18:15:44 +0200
Florian Weimer <fweimer(a)redhat.com> wrote:
* Dan Horák:
> On Mon, 20 Sep 2021 13:36:33 -0000
> "Artur Frenszek-Iwicki" <suve(a)fedoraproject.org> wrote:
>
>> Back in July, during the F35 Mass Rebuild, the Free Pascal Compiler package
failed to build [1] because of linking issues on aarch64, i686 and ppc64le, related to the
new glibc 2.34. x86_64 and arm we unaffected, however.
>> This was discussed briefly here on devel in thread [2]. The issue was submitted
upstream [3], but so far, there has been little response.
>
> if I see right, then the libc_csu_{init,fini} symbols are not used for
> anything inside fpc. I am going to try something to get rid of them
> (starting with ppc64le) ...
It is possible to replace them with 0 in the startup code that FPC has
copied from glibc.
yup, there are multiple places to fix (for ppc64le), but in general it's
possible to clone the change you made for glibc.
see
https://koji.fedoraproject.org/koji/taskinfo?taskID=76011952
Dan