On Linux,
When building and linking against the embedded libc++ (as recommended), the following errors occur during linking:
…/…/…/Linux/LibCxx/lib/Linux/x86_64-unknown-linux-gnu/libc++.a(stdexcept.cpp.o): undefined reference to symbol ‘_ZTVSt11logic_error@@GLIBCXX_3.4’
The symbol in question appears to exist in the system libstdc++. When I examine the libc++ library file with ‘nm’, it appears that this symbol is indeed present and undefined:
nm /…/…/…/Linux/LibCxx/lib/Linux/x86_64-unknown-linux-gnu/libc++.a | grep _ZTVSt11logic_error
U _ZTVSt11logic_error
what am I doing wrong?