https://sourceware.org/bugzilla/show_bug.cgi?id=23304
Bug ID: 23304 Summary: ARM linker fails to combine identical typeinfo sections Product: binutils Version: 2.31 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: nickc at redhat dot com Target Milestone: --- Target: ARM Created attachment 11078 --> https://sourceware.org/bugzilla/attachment.cgi?id=11078&action=edit testcase. The ARM linker fails to combine identical typeinfo sections from different compilation units. To see this compile the source files in the attached testcase with: g++ -c inst1.cpp inst2.cpp main.cpp g++ inst1.o inst2.o main.o For the ARM target this will produce messages like this: ld-new: inst2.o:(.rodata+0x0): multiple definition of `typeinfo for test_template<long, 2l>'; inst1.o:(.rodata+0x0): first defined here Other targets, eg AArch64 and x86_64, do not have this problem. This bug was originally reported alongside a memory exhaustion problem in the Fedora version of the linker: https://bugzilla.redhat.com/show_bug.cgi?id=1584711 -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils