On Mon, 20 Sep 2021 18:34:44 +0200
Dan Horák <d...@danny.cz> wrote:

> On Mon, 20 Sep 2021 18:15:44 +0200
> Florian Weimer <fwei...@redhat.com> wrote:
> 
> > * Dan Horák:
> > 
> > > On Mon, 20 Sep 2021 13:36:33 -0000
> > > "Artur Frenszek-Iwicki" <s...@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
and almost there
patch: https://paste.centos.org/view/53ad5822
scratch build:
https://koji.fedoraproject.org/koji/taskinfo?taskID=76015030

the aarch64 failure might be some parallel make problem ...

Florian, can the patch go upstream as it is or are there any side
effects when the resulting binary would run on system with glibc < 2.34?

for the record - ppc (32-bit), m68k, mips and riscv64 need similar fix

but that's all for tomorrow ...


                Dan
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to