[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/31847] aarch64: bfd assert failure for discarded hidden symbol G
From: |
jremus at linux dot ibm.com |
Subject: |
[Bug ld/31847] aarch64: bfd assert failure for discarded hidden symbol GOT reference |
Date: |
Thu, 06 Jun 2024 15:18:52 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=31847
Jens Remus <jremus at linux dot ibm.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jremus at linux dot ibm.com
--- Comment #1 from Jens Remus <jremus at linux dot ibm.com> ---
On s390x we have a similar issue with superfluous dynamic NONE relocations that
I am looking into. I found a similar issue existed in x86-64 until commit
3747999c6bd4 ("ld: Extract _bfd_elf_link_iterate_on_relocs").
So far it looks like porting the x86-64 changes from the following commits
resolves the issue:
3747999c6bd4 ("ld: Extract _bfd_elf_link_iterate_on_relocs")
af969b14aedc ("PR 30569, always call elf_backend_size_dynamic_sections")
Effectively doing so also resolves an assertion hit when adapting your
"aarch64: Test DT_RELR with discarded sections" tests to s390x in the pic case
(without RELR, since we do not support that yet):
https://sourceware.org/pipermail/binutils/2024-June/134532.html
--
You are receiving this mail because:
You are on the CC list for the bug.