<div dir="auto"><div>I don't know for certain but it's likely due to gcc specific extensions that glibc capitalizes on that clang decided not to implement.</div><div dir="auto"><br></div><div dir="auto">Autoconf produces evidence of what it's testing for, though. It's probably testing a particular feature. Depending on your goal you might find it easier to deactivate the check and patch glibc to workaround this feature. <br><br><div class="gmail_quote" dir="auto"><div dir="ltr">On Sat, Feb 9, 2019, 9:23 PM Md Salman Ahmed via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><div style="word-wrap:break-word;line-break:after-white-space">Hi All,<div><br></div><div>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.</div><div><br></div><div><span style="color:rgb(36,39,41);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;font-size:13px;font-variant-ligatures:normal;white-space:pre-wrap;background-color:rgb(239,240,241)">checking if clang is sufficient to build libc... no</span></div><div><br></div><div><br></div><div>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.</div><div><br></div><div>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!</div></div></div>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank" rel="noreferrer">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div></div></div>