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

Emanuele Cestari
Thu, 01 May 2014 15:46:53 -0000

Since the original buildit script doesn't cover my needs I switched to a
custom but really similar script, in the meantime I also got the habit
to dig for new flags and support and the __GLIBCXX__ define was hiding
some of this errors. I see that other linux-based operating system offer this
kind of support and they even use the same core components of my
GNU/Linux distribution.

You are right,
in the end I get this warnings but how I'm supposed to fill the voids ?
In other words why I should user libc++ under linux and what are the
benefits ? I should go for libstdc++ and libsupc++ ?
Il Giovedì 1 Maggio 2014 3:49, Jonathan Roelofs <jonathan at
codesourcery.com> ha scritto:

+cfe-dev

Emanuele,

On 4/30/14, 6:07 PM, Emanuele Cestari wrote:
> 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)
>
Didn't you hit similar warnings when you built libc++abi & libc++? That
would
suggest that libc++ and libc++abi haven't been fully ported to your platform
yet.
>
> 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++ ?
I believe you'll still need to link against libgcc_s in order to get EH
support
on linux.

>
> Thanks.
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu        http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>

--
Jon Roelofs
jonathan at codesourcery.com
CodeSourcery / Mentor Embedded
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20140501/01f552ae/attachment.html>