Hi, I recently tried to build libcxxabi on ARM/Linux but looks like libunwind is not providing the necessary symbols needed, precisely _Unwind_SjLj_RaiseException and related functions are missing. Did anyone have any success with this before? Thanks, ismail -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140113/20ce409a/attachment.html>
> I recently tried to build libcxxabi on ARM/Linux but looks like libunwind is > not providing the necessary symbols needed, precisely > _Unwind_SjLj_RaiseException and related functions are missing.I've not tried it, but I'm very surprised that symbol is needed on Linux. As far as I know only iOS uses the setjmp/longjmp exception-handling style. Of course, it could be a very poorly named but still generic function (or an alias or something). But I'd still start my search by looking into just what thinks it wants that and why. Good luck! Tim.
On 13 January 2014 10:13, İsmail Dönmez <ismail at donmez.ws> wrote:> I recently tried to build libcxxabi on ARM/Linux but looks like libunwind > is not providing the necessary symbols needed, precisely > _Unwind_SjLj_RaiseException and related functions are missing. >Hi Ismail, ARM Linux shouldn't use SJLJ exception handling, but again, nor does EHABI work yet, so you should be ok in disabling EH for now, if that helps you build the library (I don't know). Support for EHABI is coming a long way, and I hope we can have something, even if basic, for the next release. But that doesn't help your problem, and someone with more knowledge on the libcxx could chime in to help you. cheers, --renato -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140113/e28fd841/attachment.html>
Hi, On Mon, Jan 13, 2014 at 12:36 PM, Renato Golin <renato.golin at linaro.org>wrote:> On 13 January 2014 10:13, İsmail Dönmez <ismail at donmez.ws> wrote: > >> I recently tried to build libcxxabi on ARM/Linux but looks like libunwind >> is not providing the necessary symbols needed, precisely >> _Unwind_SjLj_RaiseException and related functions are missing. >> > > Hi Ismail, > > ARM Linux shouldn't use SJLJ exception handling, but again, nor does EHABI > work yet, so you should be ok in disabling EH for now, if that helps you > build the library (I don't know). > > Support for EHABI is coming a long way, and I hope we can have something, > even if basic, for the next release. But that doesn't help your problem, > and someone with more knowledge on the libcxx could chime in to help you. >Ah OK, that clears things up. Thanks a lot! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140113/be9fed22/attachment.html>