[llvm-dev] Compiling GNU C Library (glibc) with llvm

Md Salman Ahmed via llvm-dev llvm-dev at lists.llvm.org
Sat Feb 9 19:23:10 PST 2019


Hi All,

I was trying to build GNU C Library (glibc implementation) using the clang compiler in a x86_64 Linux system. However, whenever I try to set the clang compiler as the compiler in the configure script of glibc, I am getting the following error.

checking if clang is sufficient to build libc... no


I did a quick research to see why does clang compiler is not sufficient to build the glibc implementation and found that the glibc implementation may have some target specific features that GCC only can support. But I am not getting what are the exact reasons behind this insufficiency.

Can anybody please point me what are the exact reason behind this insufficiency. Some examples would also help. Any kind of help would be greatly appreciated. Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190209/d13da75a/attachment.html>


More information about the llvm-dev mailing list