Emanuele Cestari
2014-May-01 01:07 UTC
[LLVMdev] [ exception_ptr ] libcxx doesn't cope well with libcxxabi under linux
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>
Jonathan Roelofs
2014-May-01 01:49 UTC
[LLVMdev] [ exception_ptr ] libcxx doesn't cope well with libcxxabi under linux
+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
Emanuele Cestari
2014-May-01 15:46 UTC
[LLVMdev] [ exception_ptr ] libcxx doesn't cope well with libcxxabi under linux
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>
Reasonably Related Threads
- [LLVMdev] [ exception_ptr ] libcxx doesn't cope well with libcxxabi under linux
- Can't build libcxx alone, it requres libcxxabi
- [SERVER UPDATE] Moving clang, clang-analyzer, libcxxabi, libcxx ... websites to new server
- [SERVER UPDATE] Moving clang, clang-analyzer, libcxxabi, libcxx ... websites to new server
- [SERVER UPDATE] Moving clang, clang-analyzer, libcxxabi, libcxx ... websites to new server