<div dir="ltr">Honestly, I don't know Clang very well so if you say so, I'm okay with it.  I just know that LLD requires libc++ and libc++abi when using Clang++ according to the documentation on <a href="http://llvm.org">llvm.org</a>.<div>
<br></div><div>I've attached a new patch that just gets rid of the -stdlib=libc++:</div><div><br></div><div><div>Index: zorg/buildbot/builders/LLDBuilder.py</div><div>===================================================================</div>
<div>--- zorg/buildbot/builders/LLDBuilder.py        (revision 196862)</div><div>+++ zorg/buildbot/builders/LLDBuilder.py        (working copy)</div><div>@@ -57,10 +57,11 @@</div><div>                                haltOnFailure=False,</div>
<div>                                description=["create build dir"],</div><div>                                workdir="."))</div><div>+</div><div>     cmakeCommand = [</div><div>         "cmake",</div>
<div>         "-DCMAKE_BUILD_TYPE=Release",</div><div>-        "-DCMAKE_CXX_FLAGS=\"-Wall -Werror -std=c++11 -stdlib=libc++ -U__STRICT_ANSI__\"",</div><div>+        "-DCMAKE_CXX_FLAGS=\"-Wall -Werror -std=c++11 -U__STRICT_ANSI__\"",</div>
<div>         "../%s" % llvm_srcdir]</div><div>     # Note: ShellCommand does not pass the params with special symbols right.</div><div>     # The " ".join is a workaround for this bug.</div></div><div>
<br></div><div><br></div><div>-- Mikael</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/10 Chandler Carruth <span dir="ltr"><<a href="mailto:chandlerc@google.com" target="_blank">chandlerc@google.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 9, 2013 at 6:44 PM, Mikael Lyngvig <span dir="ltr"><<a href="mailto:mikael@lyngvig.org" target="_blank">mikael@lyngvig.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>+</div><div>+    # Only use -stdlib=libc++ for Clang++, not for GCC.</div>
<div>+    stdlib = ""</div><div>+    if env['CXX'].find('clang++') != -1:</div><div>+        stdlib = "-stdlib=libc++"</div><div>+</div></blockquote></div><br>Why not just remove this entirely and rely on the default -stdlib?</div>

</div>
</blockquote></div><br></div>