Add support for musl-libc on Linux

Lei Zhang via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 11 00:14:38 PDT 2016


Hi,

The first patch introduces musl as a new environment type in LLVM; the
second helps clang to find musl's dynamic linker, which has a
different naming scheme from glibc's.

The two patches together enable clang to support targets like
"x86_64-pc-linux-musl" and build binaries against musl-libc instead of
glibc. This make it easy for clang to work on some musl-based systems
like Alpine Linux and certain flavors of Gentoo.


Regards,
Lei
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-musl.patch
Type: application/octet-stream
Size: 1029 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160611/22508f12/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-musl.patch
Type: application/octet-stream
Size: 502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160611/22508f12/attachment-0001.obj>


More information about the llvm-commits mailing list