https://gitlab.com/freepascal.org/fpc/source/-/commit/b00fe0e4e42526afb7a11e9964f8cae49b10da44
which is supposed to fix:
https://gitlab.com/freepascal.org/fpc/source/-/issues/39295
has been applied only on ppc64. And the only arch which is now failing the build is ppc64...
Inviato da ProtonMail mobile
-------- Messaggio originale --------
On 24 Gen 2022, 13:49, Artur Frenszek-Iwicki < suve@xxxxxxxxxxxxxxxxx> ha scritto:
Hi all,
some time ago, Lazarus v2.2.0 came out. I tried to update the package
in Rawhide, but the build failed on ppc64le with a linking error.
Link to failed scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=81313575../units/powerpc64-linux/nogui/project.o: in function `WRPR_$PROJECT_$$_TPROJECT_$_IPROJPACK_$_1_$_CLASSES$_$TCOMPONENT_$__$$__ADDREF$$LONGINT':
/builddir/build/BUILD/lazarus-2.2.0/lazarus/ide//project.pp:1:(.text.n_WRPR_$PROJECT_$$_TPROJECT_$_IPROJPACK_$_1_$_CLASSES$_$TCOMPONENT_$__$$__ADDREF$$LONGINT+0x4): call to `CLASSES$_$TCOMPONENT_$__$$__ADDREF$$LONGINT' lacks nop, can't restore toc; (toc save/adjust stub)
/usr/bin/ld: final link failed: bad valueI was wondering if this was a Fedora-specific issue, or some upstream bug,
so I went to the bug tracker. As it turned out, this issue has already
been reported, as openSUSE had stumbled on the exact same error.
https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/39534So, that was two weeks ago. Why bring it up now?
Because we're fresh after the F36 Mass Rebuild, and several packages
depending on Lazarus failed to build, with very similar errors:
a segmentation fault somewhere in "lazbuild", the CLI tool for
building Lazarus projects.Affected packages:
- cqrlog: https://koji.fedoraproject.org/koji/taskinfo?taskID=81478836
- doublecmd: https://koji.fedoraproject.org/koji/taskinfo?taskID=81482400
- goverlay: https://koji.fedoraproject.org/koji/taskinfo?taskID=81517949
- lazpaint: https://koji.fedoraproject.org/koji/taskinfo?taskID=81530759
- pasdoc: https://koji.fedoraproject.org/koji/taskinfo?taskID=81557894So I'm here thinking that maybe, if we were able to solve the pcc64le
issue and update Lazarus to v2.2.0, we can then try rebuilding the affected
packages and see if the segfault this occurs. Only problem is,
unfortunately, I know very little about compilers & linkers & assembly,
so the ppc64le issue is way outside my field of knowledge.
As such, any help regarding coming up with a patch will be greatly appreciated.For the record, the Lazarus package ships with a couple patches,
and those needed to be updated from v2.0.12 for v2.2.0. I did not
commit those to the main repository yet, but you can grab them from this fork:
https://src.fedoraproject.org/fork/suve/rpms/lazarusThanks in advance.
A.FI.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure