VOOZH about

URL: https://www.phoronix.com/news/Patches-Allow-Glibc-Clang

⇱ 59 Patches Allow Finally Building Glibc With LLVM's Clang Compiler - Phoronix


👁 Phoronix

59 Patches Allow Finally Building Glibc With LLVM's Clang Compiler

Written by Michael Larabel in GNU on 28 October 2025 at 05:46 AM EDT. 13 Comments
Linaro engineer Adhemerval Zanella recently sent out a set of 59 patches to allow building the GNU C Library "glibc" with the LLVM Clang compiler as an alternative to GCC.

The patches are focused on being able to use Clang to build the GNU C Library for x86_64 Linux and AArch64 Linux systems. Clang 18 and newer in turn can then build a working glibc. One caveat though is that the GCC runtime support is still needed with further work needed to adapt to Clang's compiler-rt runtime library.

Those interested in building the GNU C Library with LLVM Clang can find the patches under review on the libc-alpha mailing list.

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 20,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, LinkedIn, or contacted via MichaelLarabel.com.