LLVM's Clang Begins Better Supporting Musl Libc
Patches are landing in LLVM Clang to improve the compiler's support for musl libc as an alternative to glibc on Linux-based systems.
LLVM has added Musl to the triple and work in Clang to enable the compiler to support targets such as x86_64-pc-linux-musl for building binaries against this alternative libc implementation. The later patch explains, "This make it easy for clang to work on some musl-based systems like Alpine Linux and certain flavors of Gentoo."
If you happen to be unfamiliar with musl, this C standard library aims to be clean, lightweight, and robust. Musl is currently only used by default for the libc of Alpine Linux, OpenWRT, Void Linux, and select others. Those that haven't played with Musl in a while can visit musl-libc.org.
LLVM has added Musl to the triple and work in Clang to enable the compiler to support targets such as x86_64-pc-linux-musl for building binaries against this alternative libc implementation. The later patch explains, "This make it easy for clang to work on some musl-based systems like Alpine Linux and certain flavors of Gentoo."
If you happen to be unfamiliar with musl, this C standard library aims to be clean, lightweight, and robust. Musl is currently only used by default for the libc of Alpine Linux, OpenWRT, Void Linux, and select others. Those that haven't played with Musl in a while can visit musl-libc.org.
28 Comments