I tried building on Rawhide for aarch64 and had a similar, but different error:
/usr/bin/ld: /tmp/lto-llvm-759ff6.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol signgam@@GLIBC_2.17' which may bind externally can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /tmp/lto-llvm-759ff6.o(.text.__interceptor_lgamma+0x9c): unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against symbol
signgam@@GLIBC_2.17'
/usr/bin/ld: final link failed: bad value
On 11 Mar 2022, at 5:21, Sérgio Basto wrote:
Hello,
On Thu, 2022-03-10 at 09:36 +0100, Florian Weimer wrote:
* Ron Olson:
Building swiftlang on F36/Rawhide results in a a failure that,
boiled down to its essence, appears to be:/usr/bin/ld: /tmp/lto-llvm-4fd0b1.o: relocation R_X86_64_PC32
against undefined symbol `__libc_stack_end' can not be used when
making a shared object; recompile with -fPICIt compiles fine on 35 so I’m guessing glibc has been updated; a
bunch of web searching hasn’t come up with any useful suggestions,
the one ancient Bugzilla ticket I found was not resolved.Any suggestions on what to do about this?
How is __libc_stack_end declared in the sources? This could be a
Clang
bug or a bug in the source package.by coincidence rawhide compose doomed since 20220309 (...) , i.e. maybe
this is a serious thing and someone need to look what is happening to
rawhide composes--
Sérgio M. B.
_______________________________________________ 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