[cfe-dev] libcxxabi cmake test problem on Linux x86-64

İsmail Dönmez ismail at donmez.ws
Sun Jul 13 02:00:19 PDT 2014


Hi,

How about the attached patch?


On Sat, Jul 12, 2014 at 11:59 PM, Dan Albert <danalbert at google.com> wrote:

> Ah. Okay, that makes sense. Odd that I don't see it though.
>
> -lpthread is fine to include unconditionally, but -lgcc_s should be linked
> based on LIBCXXABI_USE_LLVM_UNWINDER (if true, link libunwind, else link
> libgcc_s). libgcc is unfortunately far reaching, in that it has all of the
> compiler replacement functions *and* the unwinder, so that may not be
> quite correct. We may need to do -lunwind -lcompiler-rt in the case of
> LIBCXXABI_USE_LLVM_UNWINDER=ON, else -lgcc_s.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140713/56e58fb9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libcxxabi-libs.patch
Type: application/octet-stream
Size: 1066 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140713/56e58fb9/attachment.obj>


More information about the cfe-dev mailing list