<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 30, 2016 at 9:35 AM, 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><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></blockquote><div><br></div><div>Nevermind - it looks like I didn't actually get the 3.9 bits. Anyone know how to get 3.9 via git or git-svn? Typically I use git svn like so to get trunk bits:</div><div><br></div><div>    git clone <a href="http://llvm.org/git/llvm.git">http://llvm.org/git/llvm.git</a> llvm_${num}</div><div>    cd llvm_${num}</div><div>    git svn init <a href="https://llvm.org/svn/llvm-project/llvm/trunk">https://llvm.org/svn/llvm-project/llvm/trunk</a> --username=tejohnson</div><div>    git config svn-remote.svn.fetch :refs/remotes/origin/master</div><div>    git svn rebase -l</div><div><br></div><div>I attempted to get 3.9 bits by modifying this slightly (the git svn init command):</div><div><br></div><div><div>    git clone <a href="http://llvm.org/git/llvm.git">http://llvm.org/git/llvm.git</a> llvm_39_${num}</div><div>    cd llvm_39_${num}</div><div>    git svn init <a href="https://llvm.org/svn/llvm-project/llvm/branches/release_39">https://llvm.org/svn/llvm-project/llvm/branches/release_39</a> --username=tejohnson</div><div>    git config svn-remote.svn.fetch :refs/remotes/origin/master</div><div>    git svn rebase -l</div></div><div><br></div><div>However, I still see latest trunk.</div><div><br></div><div>Teresa</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_extra"><div><div class="gmail-h5"><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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail-m_-1011479967847469764HOEnZb"><div class="gmail-m_-1011479967847469764h5"><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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, Sep 27, 2016 at 11:17 PM, Teresa Johnson <<a href="mailto:tejohnson@google.com" class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg" target="_blank">tejohnson@google.com</a>> wrote:<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
> Sure, I will try this and let you know. Unfortunately, though, I<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
> have another big work commitment that is going to eat up most of my<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
> time through Thu, although I may be able to find some time to try<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
> it.<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
No worries, if I get around it before you do, I will :).<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
> I think so - what is confusing me is that your cmake command is<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
> specifying the same $PREFIX for both the install destination and the<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
> source of the llvm-ar/llvm-ranlib that will be used in the new<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
> build. Should the llvm-ar/llvm-ranlib in the cmake command use your<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
> moved-to PREFIX instead?<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
Only if 'ninja install` would reference the two executables. If that's<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
case, and I haven't gotten that far yet due to ThinLTO not finishing,<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
I'll consider copying those to the local build tree first.<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
> Can you nm the .so files in your lib dir and see if any reference<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
> __morestack?<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
$ for so in lib/*.so; do echo $so ; nm $so|grep __morestack;done<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
lib/BugpointPasses.so<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
lib/libclang.so<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
lib/libgomp.so<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
lib/libiomp5.so<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
lib/liblldb.so<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
                 U __morestack<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
lib/libLTO.so<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
lib/libomp.so<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
lib/LLVMgold.so<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
lib/LLVMHello.so<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
lib/LLVMPolly.so<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
<br class="gmail-m_-1011479967847469764m_2877136771301726504gmail_msg">
Looks like liblldb.so does. Does that explain anything?<br class="gmail-m_-1011479967847469764m_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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
</blockquote></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="gmail-">-- <br><div class="gmail-m_-1011479967847469764gmail_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:2px solid rgb(213,15,37)">Teresa Johnson |</td><td nowrap style="border-top:2px solid rgb(51,105,232)"> Software Engineer |</td><td nowrap style="border-top:2px solid rgb(0,153,57)"> <a href="mailto:tejohnson@google.com" target="_blank">tejohnson@google.com</a> |</td><td nowrap style="border-top:2px solid rgb(238,178,17)"> <a href="tel:408-460-2413" value="+14084602413" target="_blank">408-460-2413</a></td></tr></tbody></table></span></div>
</span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="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:2px solid rgb(213,15,37)">Teresa Johnson |</td><td nowrap style="border-top:2px solid rgb(51,105,232)"> Software Engineer |</td><td nowrap style="border-top:2px solid rgb(0,153,57)"> <a href="mailto:tejohnson@google.com" target="_blank">tejohnson@google.com</a> |</td><td nowrap style="border-top:2px solid rgb(238,178,17)"> 408-460-2413</td></tr></tbody></table></span></div>
</div></div>