[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/31895] LD segfault in libbfd with --as-needed
From: |
amodra at gmail dot com |
Subject: |
[Bug ld/31895] LD segfault in libbfd with --as-needed |
Date: |
Wed, 19 Jun 2024 13:29:48 +0000 |
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.
- [Bug ld/31895] New: LD segfault in libbfd, address@hidden, 2024/06/14
- [Bug ld/31895] LD segfault in libbfd, nickc at redhat dot com, 2024/06/18
- [Bug ld/31895] LD segfault in libbfd, address@hidden, 2024/06/18
- [Bug ld/31895] LD segfault in libbfd, nickc at redhat dot com, 2024/06/19
- [Bug ld/31895] LD segfault in libbfd with --as-needed,
amodra at gmail dot com <=
- [Bug ld/31895] LD segfault in libbfd with --as-needed, address@hidden, 2024/06/19
- [Bug ld/31895] LD segfault in libbfd with --as-needed, address@hidden, 2024/06/21
- [Bug ld/31895] LD segfault in libbfd with --as-needed, nickc at redhat dot com, 2024/06/21