[cfe-dev] Trying to build libcxx/libcxxabi on Linux 64 bit

Matthew Dempsky matthew at dempsky.org
Mon Jun 24 02:41:59 PDT 2013


On Mon, Jun 24, 2013 at 2:36 AM, Shriramana Sharma <samjnaa at gmail.com> wrote:
> CMake Error at CMakeLists.txt:118 (message):
>   Failed to find cxa_demangle.h
> Call Stack (most recent call first):
>   CMakeLists.txt:140 (setup_abi_lib)
>
> There is no cxa_demangle.h in the libcxxabi source tree! What to do!?

That's a bug in libc++'s CMakeLists.txt: libc++abi no longer provides
cxa_demangle.h (http://llvm.org/viewvc/llvm-project?view=revision&revision=184118),
so libc++ shouldn't be checking for it anymore.  On line 141, change
"cxxabi.h;cxa_demangle.h" to just "cxxabi.h".



More information about the cfe-dev mailing list