https://sourceware.org/bugzilla/show_bug.cgi?id=19437
Bug ID: 19437 Summary: ld segmentation fault Product: binutils Version: 2.25 Status: NEW Severity: critical Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: joao.m.santos.silva at gmail dot com Target Milestone: --- Created attachment 8889 --> https://sourceware.org/bugzilla/attachment.cgi?id=8889&action=edit testcase source file If I use mingw-w64 I get: $ x86_64-w64-mingw32-g++ bug.cpp libfec.a *** Error in `/usr/bin/x86_64-w64-mingw32-ld': free(): invalid pointer: 0x0000000000f22c18 *** collect2: error: ld terminated with signal 6 [Aborted] https://sourceforge.net/p/mingw-w64/bugs/521/ If I use win-builds I get: $ /home/jmss/opt/cross_toolchain_64/bin/x86_64-w64-mingw32-g++ bug.cpp libfec.a collect2: error: ld terminated with signal 11 [Segmentation fault] http://win-builds.org/bugs/index.php?do=details&task_id=131&project=1&order=id&sort=desc Adrien Nader says this error is due to ld from binutils and confirms it occurs with both versions 2.25 and 2.25.1 Files to replicate are in attachment. -- 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