[LLVMdev] [ exception_ptr ] libcxx doesn't cope well with libcxxabi under linux

Emanuele Cestari
Thu, 01 May 2014 01:07:48 -0000

Hi,
I'm under Ubuntu 13.10 amd64 I just compiled both my libcxx and my
libcxxabi.

I noticed this really weird behaviour, while trying to compile some
C++11-compliant piece of code I get this error at runtime

exception_ptr not yet implemented
Aborted (core dumped)

Now my experience tells me that this is something that can easily be related to
the ABI, so I go to the official libcxxabi website and according to both the
docs and documentation this ptr is there, it's available and implemented.

The real problem is libcxx because the file <libcxx source
root>/src/exception.cpp contains the error message that I'm seeing at
runtime and there is clearly some discrepancy between the 2 projects, plus
libcxx is stepping in the libcxxabi way and IMHO it shouldn't .

What I would like to know is: there is a good reason for this or it's a bug
?

Aside from that, libcxxabi is able to provide a complete ABI implentation under
linux without libsupc++ and libstdc++ ?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20140501/16c0cf20/attachment.html>