https://sourceware.org/bugzilla/show_bug.cgi?id=25630
Bug ID: 25630
Summary: BFD assertion failure at elf32-xtensa.c:3288 in
elf_xtensa_finish_dynamic_sections
Product: binutils
Version: 2.35 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: jcmvbkbc at gcc dot gnu.org
Target Milestone: ---
Created attachment 12346
--> https://sourceware.org/bugzilla/attachment.cgi?id=12346&action=edit
minimal reproducer
xtensa ld terminates with assertion failure at elf32-xtensa.c:3288 in
elf_xtensa_finish_dynamic_sections when building the attached example.
Despite libb.a being linked statically the undefined weak symbol 'w' is treated
as dynamic, because liba.so has a reference to libb.so which in turn has a
reference to 'w' as a dynamic symbol.
--
You are receiving this mail because:
You are on the CC list for the bug.