https://sourceware.org/bugzilla/show_bug.cgi?id=27546
Bug ID: 27546 Summary: undefined reference error fix-hint suggestion Product: binutils Version: 2.26 Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: srbvsr at gmail dot com Target Milestone: --- I was trying to build a binary, invoking a C-function (fileA.c) within a C++ function (fileB.cpp). The build ended with a linker error: undefined reference error on the C-function. Going over the objdump i was able to narrow its due to C++ name mangling. Examaple symbol output: 0000000000000000 *UND* 0000000000000000 _Z14ns_test_customv 0000000000000000 g F .text 00000000000001d9 ns_test_custom The enhancement idea here is to provide a suggestion to the end-user a possibility of C++ name mangling scanning the symbol table. There are similar user-suggestions available in the gnu compilers and hope the same can be adopted in the linker. -- You are receiving this mail because: You are on the CC list for the bug.