[cfe-dev] libcxx, libcxxabi, and runtime_error
Richard Gorton
rcgorton at cognitive-electronics.com
Tue May 27 06:09:06 PDT 2014
> Hi - I'm trying to get C++ support for our architecture up and working (as a cross compiled environment) and I'm encountering some link errors:
>
> build/lib/libc++.a(locale.cpp.o):(.data.rel.ro+0x2d0): undefined reference to `std::runtime_error::~runtime_error()'
>
>
> When I nm libcxx:locale.cpp.o, I see:
> U _ZNSt13runtime_errorD1Ev
>
>
> In libcxxabi:stdexcept.o, I see:
> 0000000000000150 T _ZNSt13runtime_errorD0Ev
> U _ZNSt13runtime_errorD1Ev
> 00000000000001f8 T _ZNSt13runtime_errorD2Ev
>
> That is, in both cases, …runtime_errorD1Ev is undefined.
>
> When I use c++filt to demangle the symbols listed in stdexcept.o, they all decode to
> std::runtime_error::~runtime_error()
>
>
> Any suggestions as to how to determine what is happening and why?
>
> My setup: clang/llvm 3.3, with libcxx from the 3.3 release; libcxxabi is much more recent (6-May-2014, svn rev 208087)
>
> Regards,
>
> Richard Gorton
> rcgorton at cog-e.com
>
>
More information about the cfe-dev
mailing list