59 Patches Allow Finally Building Glibc With LLVM's Clang Compiler
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.
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.
