<div dir="ltr">Aha - finally reproduced! The difference is using ld.bfd not ld.gold. With that I get the same failure (using 3.9 to build 3.9 sources):<div><br></div><div><div>/usr/local/google/home/tejohnson/binutils_build/install/bin/ld: bin/lldb-3.9.1: hidden symbol `__morestack' in /usr/lib/gcc/x86_64-linux-gnu/4.8/libgcc.a(morestack.o) is referenced by DSO</div><div>/usr/local/google/home/tejohnson/binutils_build/install/bin/ld: final link failed: Bad value</div><div>clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)</div><div>ninja: build stopped: subcommand failed.</div></div><div><br></div><div>I am not sure what the official support story is for LLVMgold.so and ld.bfd. As mentioned earlier, the LLVM site indicates it should use the gold linker. Can you use that while I try to figure out whether this is something that should be supported/working?</div><div><br></div><div>Thanks,</div><div>Teresa</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 3, 2016 at 9:56 AM, Carsten Mattner <span dir="ltr"><<a href="mailto:carstenmattner@gmail.com" target="_blank">carstenmattner@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, Oct 3, 2016 at 3:50 PM, Teresa Johnson <<a href="mailto:tejohnson@google.com">tejohnson@google.com</a>> wrote:<br>
><br>
> On Sun, Oct 2, 2016 at 4:02 AM, Carsten Mattner <<a href="mailto:carstenmattner@gmail.com">carstenmattner@gmail.com</a>> wrote:<br>
>><br>
>> On Sun, Oct 2, 2016 at 6:41 AM, Teresa Johnson <<a href="mailto:tejohnson@google.com">tejohnson@google.com</a>> wrote:<br>
> ><br>
</span><span class="">> > > I use trunk, but it depends on how close to the bleeding edge you<br>
> > > are comfortable with. But like I said, I also tried bootstrapping<br>
> > > with 3.9 (both trunk as well as 3.9 sources) and couldn't reproduce.<br>
>><br>
>> Hmm, so you're saying neither fails for you, right?<br>
><br>
> Yes<br>
<br>
</span>Okay. Do you mind focusing on the 3.9 branch? It's less of a moving target<br>
and lends itself more to figuring out what's failing for me.<br>
<br>
As soon as I get around to it, I'll send you my full configure and build<br>
steps as a shell script. Need to streamline it.<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><span style="font-family:Times;font-size:medium"><table cellspacing="0" cellpadding="0"><tbody><tr style="color:rgb(85,85,85);font-family:sans-serif;font-size:small"><td nowrap style="border-top-style:solid;border-top-color:rgb(213,15,37);border-top-width:2px">Teresa Johnson |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(51,105,232);border-top-width:2px"> Software Engineer |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(0,153,57);border-top-width:2px"> <a href="mailto:tejohnson@google.com" target="_blank">tejohnson@google.com</a> |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px"> 408-460-2413</td></tr></tbody></table></span></div>
</div>