59 Patches Allow Finally Building Glibc With LLVM's Clang Compiler
([GNU] 74 Minutes Ago
Glibc + Clang)
- Reference: 0001587475
- News link: https://www.phoronix.com/news/Patches-Allow-Glibc-Clang
- Source link:
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 [1]libc-alpha mailing list .
[1] https://sourceware.org/pipermail/libc-alpha/2025-October/171205.html
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 [1]libc-alpha mailing list .
[1] https://sourceware.org/pipermail/libc-alpha/2025-October/171205.html