On Thu, May 12, 2011 at 6:15 PM, Charles Davis <span dir="ltr"><<a href="mailto:cdavis@mymail.mines.edu">cdavis@mymail.mines.edu</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">On 5/12/11 7:08 PM, Rafael Ávila de Espíndola wrote:<br>
> The problem comes from  SearchForAddressOfSpecialSymbol.cpp:<br>
><br>
>      // FIXME: Currently disabled when using Clang, as we don't always<br>
> have our<br>
>      // runtime support libraries available.<br>
> #ifndef __clang__<br>
> #ifdef __i386__<br>
>      EXPLICIT_SYMBOL(__eprintf);<br>
> #endif<br>
> #endif<br>
><br>
> Now, exactly what runtime library is not available is something that<br>
> someone more familiar with OS X will have to answer :-)<br>
</div>The runtime support library the comment talks about is none other than<br>
compiler-rt. (Specifically, libclang_rt.eprintf.a.) If you check out<br>
compiler-rt into <llvm-src>/projects/compiler-rt, clang will pick it up<br>
and build it automatically.<br></blockquote><div><br></div><div>Well, I was hoping to have my build script automatically use clang if it was available, but it sounds like that is going to break people who check out my code unless they have the compiler-rt stuff - and I suspect that not very many people will have that.</div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Chip<br>
<div><div></div><div class="h5"><br>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>-- Talin<br>