[lld] [llvm] [llvm][lld] Support R_AARCH64_GOTPCREL32 (PR #72584)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Sat May 31 11:05:34 PDT 2025
MaskRay wrote:
> We have identified that some Rust projects are broken from here, such as [rust-lang/rust#141737](https://github.com/rust-lang/rust/issues/141737) and [tikv/tikv#18465](https://github.com/tikv/tikv/issues/18465). Can we revert this until the GNU linker also supports `R_AARCH64_GOTPCREL32`?
I don't think it's reasonable to request reverting the lld/ELF or AArch64 assembler changes. The affected code path is only used when the input IR is in a specific form. If Rust needs compatibility with GNU ld or older lld, it should stop emitting IR that triggers this path.
https://github.com/llvm/llvm-project/pull/72584
More information about the llvm-commits
mailing list