https://sourceware.org/bugzilla/show_bug.cgi?id=32067
--- Comment #10 from Sourceware Commits <cvs-commit at gcc dot gnu.org> --- The binutils-2_43-branch branch has been updated by Alan Modra <amo...@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=28867943aa28087a1f71ac8167321711de759be7 commit 28867943aa28087a1f71ac8167321711de759be7 Author: Alan Modra <amo...@gmail.com> Date: Sat Aug 10 08:41:16 2024 +0930 PR32067, ld -Wl,--oformat,binary crash in _bfd_elf_link_keep_memory The direct fix for this segfault is to test for a non-NULL bed in _bfd_elf_link_keep_memory, but also there isn't much point in running code for LTO if the output is binary. PR 32067 * elflink.c (_bfd_elf_link_keep_memory): Test for non-NULL bed. (elf_link_add_object_symbols): Don't run the loop setting non_ir_ref_regular if the output hash table is not ELF. (cherry picked from commit ec8f5671b4e70806fe3053636426a8d179dfef55) -- You are receiving this mail because: You are on the CC list for the bug.