https://sourceware.org/bugzilla/show_bug.cgi?id=22764
--- Comment #13 from Renlin Li <renlin.li at arm dot com> --- (In reply to Arnd Bergmann from comment #11) > I did some more testing with binutils-2.30 on arm64 randconfig kernels. One > major issue I came across was CONFIG_MODVERSIONS, which causes an error for > each exported symbol. > ... > While changing one of the .S files, I also ran into a linker crash: > > aarch64-linux-ld: arch/arm64/kernel/head.o: relocation R_AARCH64_ABS32 > against `__rela_offset' can not be used when making a shared object > 11:39 PM cross-gcc/bin/aarch64-linux-ld: BFD (GNU Binutils) 2.30 internal > error, aborting at /home/arnd/git/binutils/bfd/elfnn-aarch64.c:5279 in > elf64_aarch64_final_link_relocate > 11:40 PM aarch64-linux-ld: Please report this bug. > > This evidently was caused by the same two instructions that came up earlier: > > ldr w9, =__rela_offset // offset to reloc table > ldr w10, =__rela_size // size of reloc table > > After commenting these out, I got no further crashes. Hi Arnd, I could not reproduce the linker crash you described here. Do you have a minimum testcase for this issues? Thanks! -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils