https://sourceware.org/bugzilla/show_bug.cgi?id=31432
Matthieu Longo <matthieu.longo at arm dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |matthieu.longo at arm dot com
--- Comment #2 from Matthieu Longo <matthieu.longo at arm dot com> ---
I tried to reproduce the segfault on master
(4432c20455249f7e7b77738e67f347a6da5974c8) but got an assertion failure
instead:
../ld/ld-new: unresolvable R_RISCV_32 relocation against symbol `MY_BUF'
../ld/ld-new: BFD (GNU Binutils) 2.45.50.20260123 assertion fail
../../bfd/elflink.c:10952
Then I applied the patch series [1], and the issue was resolved.
../ld/ld-new: error: --enable-non-contiguous-regions was not able to allocate
the input section `.bss.MY_BUF' (non-contiguous-riscv.o) to an output section
../ld/ld-new: final link failed
It looks to me that the issue mentioned here is the same as the issue
experienced on AArch64.
I replied to the old RFC [2] to point to the [1].
1:
https://inbox.sourceware.org/binutils/[email protected]/
2: https://sourceware.org/pipermail/binutils/2024-March/132792.html
--
You are receiving this mail because:
You are on the CC list for the bug.