LLVM's Clang Begins Better Supporting Musl Libc
Written by Michael Larabel in LLVM on 14 June 2016 at 03:25 PM EDT. 28 Comments
LLVM --
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.
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Related LLVM News
Popular News This Week