<div><div><div dir="auto">The clang part is not committed yet. It’s review is here <div><a href="https://reviews.llvm.org/D56571">https://reviews.llvm.org/D56571</a></div></div></div></div><div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 10, 2019 at 10:09 AM David Blaikie via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">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 dir="ltr">As luck would have it, asm goto was recently implemented in LLVM: <a href="http://llvm.org/viewvc/llvm-project?view=revision&revision=353563" target="_blank">http://llvm.org/viewvc/llvm-project?view=revision&revision=353563</a> (not sure if it's fully baked yet, that might just be the LLVM part & maybe there's some Clang plumbing still required)<br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Feb 9, 2019 at 7:32 PM blubee blubeeme via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">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 dir="ltr"><div dir="ltr">The main reason is that GLIBC uses non-standards compliant extensions for programmers convenience and LLVM want's to stick to the standards as much as possible.</div><div><br>LLVM also uses some non-standard extensions. For example asm goto; the last time I checked Clang did not support ASM GOTO and so later linux kernels cannot be compiled. </div><div><br></div><div>The general answer comes down to standards compliance; that's my understanding.</div><div><br></div><div>Best,</div><div>Owen</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 10, 2019 at 11:23 AM Md Salman Ahmed via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div>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">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div></div>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div></div>
</div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">~Craig</div>