[PATCH] D18330: [ELF/AArch64] Implemented set of R_AARCH64_TLSDESC_* relocations.
Ed Maste via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 22 07:20:21 PDT 2016
emaste added a comment.
With this and http://reviews.llvm.org/D18331, http://reviews.llvm.org/D18332, http://reviews.llvm.org/D18333 applied, linking FreeBSD/arm64 with lld still gives me:
relocation R_AARCH64_ADR_PREL_PG_HI21 cannot be used when making a shared object; recompile with -fPIC.
relocation R_AARCH64_LDST64_ABS_LO12_NC cannot be used when making a shared object; recompile with -fPIC.
relocation R_AARCH64_ADR_PREL_PG_HI21 cannot be used when making a shared object; recompile with -fPIC.
relocation R_AARCH64_LDST64_ABS_LO12_NC cannot be used when making a shared object; recompile with -fPIC.
relocation R_AARCH64_ADR_PREL_PG_HI21 cannot be used when making a shared object; recompile with -fPIC.
relocation R_AARCH64_LDST64_ABS_LO12_NC cannot be used when making a shared object; recompile with -fPIC.
relocation R_AARCH64_LDST64_ABS_LO12_NC cannot be used when making a shared object; recompile with -fPIC.
relocation R_AARCH64_LDST64_ABS_LO12_NC cannot be used when making a shared object; recompile with -fPIC.
This happens when linking libc.so and is proving slightly tricky to track down.
Repository:
rL LLVM
http://reviews.llvm.org/D18330
More information about the llvm-commits
mailing list