https://sourceware.org/bugzilla/show_bug.cgi?id=17107

--- Comment #2 from allsey87 at gmail dot com ---
Created attachment 7674
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7674&action=edit
Test case

Test case including source code, output assembly and map file. Test case
includes a singleton class, a dynamic memory allocation using the standard C
library for AVR, and a virtual method inside the class. This combination seemed
required to reliably generate the following linker error:

ld: section .gnu.linkonce.t._ZN10CTestClass11CSetPointerEPv loaded at
[00000000000003e0,00000000000003e7] overlaps section .data loaded at
[00000000000003e0,00000000000003e5]
collect2: error: ld returned 1 exit status
make: *** [build/firmware.elf] Error 1

-- 
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

Reply via email to