<div dir="ltr">Is -fsplit-stack option used anywhere? My wild guess is that with ld.bfd, the thinLTO link for the DSO does not bring in morestack.o from libgcc.a, but the hidden symbol is defined in lldb binary.<div><br></div><div>David</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 3, 2016 at 1:54 PM, Teresa Johnson via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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/<wbr>tejohnson/binutils_build/<wbr>install/bin/ld: bin/lldb-3.9.1: hidden symbol `__morestack' in /usr/lib/gcc/x86_64-linux-gnu/<wbr>4.8/libgcc.a(morestack.o) is referenced by DSO</div><div>/usr/local/google/home/<wbr>tejohnson/binutils_build/<wbr>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><span class=""><div>ninja: build stopped: subcommand failed.</div></span></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"><span class=""><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>On Mon, Oct 3, 2016 at 3:50 PM, Teresa Johnson <<a href="mailto:tejohnson@google.com" target="_blank">tejohnson@google.com</a>> wrote:<br>
><br>
> On Sun, Oct 2, 2016 at 4:02 AM, Carsten Mattner <<a href="mailto:carstenmattner@gmail.com" target="_blank">carstenmattner@gmail.com</a>> wrote:<br>
>><br>
>> On Sun, Oct 2, 2016 at 6:41 AM, Teresa Johnson <<a href="mailto:tejohnson@google.com" target="_blank">tejohnson@google.com</a>> wrote:<br>
> ><br>
</span><span>> > > 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></span><span class="">-- <br><div class="m_5651372993640721410gmail_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"> <a href="tel:408-460-2413" value="+14084602413" target="_blank">408-460-2413</a></td></tr></tbody></table></span></div>
</span></div>
<br>______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div>