https://sourceware.org/bugzilla/show_bug.cgi?id=31895
Alan Modra <amodra at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|LD segfault in libbfd |LD segfault in libbfd with
| |--as-needed
--- Comment #4 from Alan Modra <amodra at gmail dot com> ---
Since this is showing up in the code restoring the symbol table after a shared
library is found not to be needed in an --as-needed link, one work-around might
be to run ld with --no-as-needed.
Some random observations:
Your dmesg dumps show segfaults on three different pieces of code. Are they
all the same libbfd-2.34-system.so?
If you see the problem with ubuntu 24.04 then that would imply there is a
problem with binutils-2.42, assuming you aren't using some other linker
accidentally.
--
You are receiving this mail because:
You are on the CC list for the bug.