<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-family:arial,sans-serif;font-size:13px">But on the Libc++AndAbiBuilder, there's no way to set the CMake</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">argument (or is there?):</span></blockquote><div><br></div><div>No, there isn't. Should be simple enough to add though. I'd add it as a dict param. </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 20, 2014 at 8:11 AM, Jonathan Roelofs <span dir="ltr"><<a href="mailto:jonathan@codesourcery.com" target="_blank">jonathan@codesourcery.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">+Dan Albert<br>
<span class=""><br>
On 10/20/14 4:53 AM, Renato Golin wrote:<br>
> Folks,<br>
><br>
> I'm trying to set up a libc++ buildbot on ARM and I found an<br>
> inconsistency which I'm not sure how to fix.<br>
><br>
> I got a build error like this:<br>
><br>
> libc++abi.so: undefined reference to `_Unwind_GetGR'<br>
><br>
> Since I expected that the symbol would be provided by that library, I<br>
> searched the CMake on libc++abi and found this:<br>
><br>
> option(LIBCXXABI_USE_LLVM_UNWINDER "Build and use the LLVM unwinder." OFF)<br>
> ...<br>
> if (LIBCXXABI_USE_LLVM_UNWINDER)<br>
>   add_subdirectory(src/Unwind)<br>
> endif()<br>
><br>
> But on the Libc++AndAbiBuilder, there's no way to set the CMake<br>
> argument (or is there?):<br>
</span>I *think* you can add "-DLIBCXXABI_USE_LLVM_UNWINDER" to the env argument and<br>
get what you want, but Dan will have to correct me on that...<br>
<span class="">><br>
> def getLibcxxAndAbiBuilder(f=None, env={}, additional_features=set()):<br>
><br>
> "additional_features" seem to imply only lit test args, not anything else.<br>
</span>They are lit test args, and triggers for -D defines for various weird<br>
configurations (e.g. single threaded). I don't think there is one for the<br>
unwinder (nor do I think it makes sense to add one for that).<br>
<br>
<br>
Cheers,<br>
<br>
Jon<br>
<div class="HOEnZb"><div class="h5">><br>
> Ideas?<br>
><br>
> cheers,<br>
> --renato<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>
><br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Jon Roelofs<br>
<a href="mailto:jonathan@codesourcery.com">jonathan@codesourcery.com</a><br>
CodeSourcery / Mentor Embedded<br>
</font></span></blockquote></div><br></div>