Theme: [Feature request] add support for libc++ Package: libunwind8 Version: 1.0.1-2 Severity: wishlist Tags: patch
Hello, I work on porting libc++ - new implementation of C++ standard library, and libc++abi - ABI implementation for libc++. http://libcxx.llvm.org, http://libcxxabi.llvm.org. This work is done in context of Google Summer of Code, and is controlled by mentor Sylvestre Ledru. http://www.google-melange.com/gsoc/homepage/google/gsoc2012, http://wiki.debian.org/SummerOfCode2012/, http://wiki.debian.org/SummerOfCode2012/Projects#Provide_an_alternative_to_libstdc.2B-.2B-_with_libc.2B-.2B- http://wiki.debian.org/SummerOfCode2012/StudentApplications/AndrejBelym One of the aims of my project is avoid dependency of GCC C++ standard libraries - libstdc++ as STL, libsupc++ (now statically linked with libstdc++) - as ABI library, and libgcc_s - as unwinding library. They would be replaced with libc++, libc++abi, and libunwind respectively. But current libunwind-8 package doesn't have some features, that are required to complete unwind library replacing. Static libunwind must be compiled with -fPIC to link it with libc++ statically. libunwind builds with help of libtool, that builds non-PIC objects for static libraries. So static libunwind can not be linked to shared library, because shared binaries require PIC format (unlike libgcc when linked with flag -static-libgcc). http://www.gnu.org/software/libtool/manual/html_node/Creating-object-files.html I've created simple patch that does needed changes. Thank you.
20120715_static_PIC.patch
Description: Binary data