[cfe-dev] libc++abi on linux

Sylvestre Ledru sylvestre at debian.org
Fri Jul 13 00:48:18 PDT 2012


Le 13/07/2012 02:17, Leonid Borisenko a écrit :
>> OK, so on Linux, we need some kind of unwind, it seems we have options
>> (I haven't tested them all):
>>
>> 1) libc++abi and LLVM writes (or acquires) its own unwind
>> 2) libc++abi with http://www.nongnu.org/libunwind/
>> 3) libc++abi with unwind.h from GCC and libgcc_s
>> 4) Pathscale libunwind/libcxxrt
>>
>> I very much doubt that list is complete.
>>
>> If libc++abi, libsupc++ and libcxxrt are "equivalent" we have a few
>> hybrid options, that I definitely would not suggest!
>>
>> It looks like the second and third options are in common use, 2, if you
>> want to be UoI (LLVM) compatible (libunwind is MIT licence) and 3, which
>> is likely to "better" when linking with GCC built code.
>>
>> So... Shall I just throw together some instructions on installing your
>> distributions libunwind7 (or now, libunwind8) and compiling libc++ and
>> libc++abi against it?  Obviously I'll make sure it works first!
>>
>> I found a backport of clang-3.1 for Ubuntu 12.04 from 12.10, that seems
>> to be option 3.
>    FWIW, there is a WIP project of Debian package of libc++ [1] [2] [3] 
> (link to project's SVN repository is included in [3]). Project is 
> mentored by Debian developer in scope of GSOC 2012 [4].
>
Thanks ;)

We are planning to upload it pretty soon the Debian archive.

By the way, Andrej and I have been following this thread with a lot of
attention.
We are trying to provide tools and methods to build without the gcc libs
in Debian.

Sylvestre




More information about the cfe-dev mailing list