<div dir="ltr">I just built a stage-1 compiler from the 3.9 release bits and built the lldb from head sources which worked fine. Let me try again using 3.9 build compiler to build 3.9 bits. Teresa</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 27, 2016 at 2:55 PM, Teresa Johnson <span dir="ltr"><<a href="mailto:tejohnson@google.com" target="_blank">tejohnson@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote"><div dir="ltr">On Tue, Sep 27, 2016, 2:38 PM Carsten Mattner <<a href="mailto:carstenmattner@gmail.com" target="_blank">carstenmattner@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Sep 27, 2016 at 11:17 PM, Teresa Johnson <<a href="mailto:tejohnson@google.com" class="m_2877136771301726504gmail_msg" target="_blank">tejohnson@google.com</a>> wrote:<br class="m_2877136771301726504gmail_msg">
<br class="m_2877136771301726504gmail_msg">
> Sure, I will try this and let you know. Unfortunately, though, I<br class="m_2877136771301726504gmail_msg">
> have another big work commitment that is going to eat up most of my<br class="m_2877136771301726504gmail_msg">
> time through Thu, although I may be able to find some time to try<br class="m_2877136771301726504gmail_msg">
> it.<br class="m_2877136771301726504gmail_msg">
<br class="m_2877136771301726504gmail_msg">
No worries, if I get around it before you do, I will :).<br class="m_2877136771301726504gmail_msg">
<br class="m_2877136771301726504gmail_msg">
> I think so - what is confusing me is that your cmake command is<br class="m_2877136771301726504gmail_msg">
> specifying the same $PREFIX for both the install destination and the<br class="m_2877136771301726504gmail_msg">
> source of the llvm-ar/llvm-ranlib that will be used in the new<br class="m_2877136771301726504gmail_msg">
> build. Should the llvm-ar/llvm-ranlib in the cmake command use your<br class="m_2877136771301726504gmail_msg">
> moved-to PREFIX instead?<br class="m_2877136771301726504gmail_msg">
<br class="m_2877136771301726504gmail_msg">
Only if 'ninja install` would reference the two executables. If that's<br class="m_2877136771301726504gmail_msg">
case, and I haven't gotten that far yet due to ThinLTO not finishing,<br class="m_2877136771301726504gmail_msg">
I'll consider copying those to the local build tree first.<br class="m_2877136771301726504gmail_msg">
<br class="m_2877136771301726504gmail_msg">
> Can you nm the .so files in your lib dir and see if any reference<br class="m_2877136771301726504gmail_msg">
> __morestack?<br class="m_2877136771301726504gmail_msg">
<br class="m_2877136771301726504gmail_msg">
$ for so in lib/*.so; do echo $so ; nm $so|grep __morestack;done<br class="m_2877136771301726504gmail_msg">
lib/BugpointPasses.so<br class="m_2877136771301726504gmail_msg">
lib/libclang.so<br class="m_2877136771301726504gmail_msg">
lib/libgomp.so<br class="m_2877136771301726504gmail_msg">
lib/libiomp5.so<br class="m_2877136771301726504gmail_msg">
lib/liblldb.so<br class="m_2877136771301726504gmail_msg">
U __morestack<br class="m_2877136771301726504gmail_msg">
lib/libLTO.so<br class="m_2877136771301726504gmail_msg">
lib/libomp.so<br class="m_2877136771301726504gmail_msg">
lib/LLVMgold.so<br class="m_2877136771301726504gmail_msg">
lib/LLVMHello.so<br class="m_2877136771301726504gmail_msg">
lib/LLVMPolly.so<br class="m_2877136771301726504gmail_msg">
<br class="m_2877136771301726504gmail_msg">
Looks like liblldb.so does. Does that explain anything?<br class="m_2877136771301726504gmail_msg"></blockquote></div><div><br></div></div></div><div>Interesting, it doesn't in my build. Let me think about what might trigger that difference...</div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></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>