[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/22764] [2.30 Regression] ld fails to link 4.13 and 4.15 kernels
From: |
renlin.li at arm dot com |
Subject: |
[Bug ld/22764] [2.30 Regression] ld fails to link 4.13 and 4.15 kernels on aarch64-linux-gnu |
Date: |
Mon, 05 Feb 2018 07:11:18 +0000 |
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 ld/22764] [2.30 Regression] ld fails to link 4.13 and 4.15 kernels on aarch64-linux-gnu, doko at debian dot org, 2018/02/02
- [Bug ld/22764] [2.30 Regression] ld fails to link 4.13 and 4.15 kernels on aarch64-linux-gnu, doko at debian dot org, 2018/02/02
- [Bug ld/22764] [2.30 Regression] ld fails to link 4.13 and 4.15 kernels on aarch64-linux-gnu, pinskia at gcc dot gnu.org, 2018/02/02
- [Bug ld/22764] [2.30 Regression] ld fails to link 4.13 and 4.15 kernels on aarch64-linux-gnu, ard.biesheuvel at linaro dot org, 2018/02/02
- [Bug ld/22764] [2.30 Regression] ld fails to link 4.13 and 4.15 kernels on aarch64-linux-gnu, renlin.li at arm dot com, 2018/02/02
- [Bug ld/22764] [2.30 Regression] ld fails to link 4.13 and 4.15 kernels on aarch64-linux-gnu, ard.biesheuvel at linaro dot org, 2018/02/02
- [Bug ld/22764] [2.30 Regression] ld fails to link 4.13 and 4.15 kernels on aarch64-linux-gnu, egeyar.bagcioglu at oracle dot com, 2018/02/03
- [Bug ld/22764] [2.30 Regression] ld fails to link 4.13 and 4.15 kernels on aarch64-linux-gnu, arnd at arndb dot de, 2018/02/05
- [Bug ld/22764] [2.30 Regression] ld fails to link 4.13 and 4.15 kernels on aarch64-linux-gnu, renlin.li at arm dot com, 2018/02/05
- [Bug ld/22764] [2.30 Regression] ld fails to link 4.13 and 4.15 kernels on aarch64-linux-gnu,
renlin.li at arm dot com <=
- [Bug ld/22764] [2.30 Regression] ld fails to link 4.13 and 4.15 kernels on aarch64-linux-gnu, cvs-commit at gcc dot gnu.org, 2018/02/05
- [Bug ld/22764] [2.30 Regression] ld fails to link 4.13 and 4.15 kernels on aarch64-linux-gnu, cvs-commit at gcc dot gnu.org, 2018/02/05
- [Bug ld/22764] [2.30 Regression] ld fails to link 4.13 and 4.15 kernels on aarch64-linux-gnu, pbrobinson at gmail dot com, 2018/02/22