<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Sep 30, 2016, at 9:55 AM, Teresa Johnson <<a href="mailto:tejohnson@google.com" class="">tejohnson@google.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><br class="Apple-interchange-newline"><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div class="gmail_quote" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">On Fri, Sep 30, 2016 at 9:35 AM, Teresa Johnson<span class="Apple-converted-space"> </span><span dir="ltr" class=""><<a href="mailto:tejohnson@google.com" target="_blank" class="">tejohnson@google.com</a>></span><span class="Apple-converted-space"> </span>wrote:<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div dir="ltr" class="">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 class=""><br class=""></div><div class="">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></div></blockquote><blockquote type="cite" class=""><div class=""><div class="gmail_quote" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div class=""><br class=""></div><div class="">    git clone<span class="Apple-converted-space"> </span><a href="http://llvm.org/git/llvm.git" class="">http://llvm.org/git/llvm.git</a><span class="Apple-converted-space"> </span>llvm_${num}</div><div class="">    cd llvm_${num}</div></div></div></blockquote><div><br class=""></div><div>Switch branch: git checkout release_39 I think</div><div><br class=""></div><div>(Try `git ls-remote origin` if needed)</div><div><br class=""></div><div>— </div><div>Mehdi</div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><div class="gmail_quote" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div class="">    git svn init<span class="Apple-converted-space"> </span><a href="https://llvm.org/svn/llvm-project/llvm/trunk" class="">https://llvm.org/svn/llvm-project/llvm/trunk</a><span class="Apple-converted-space"> </span>--username=tejohnson</div><div class="">    git config svn-remote.svn.fetch :refs/remotes/origin/master</div><div class="">    git svn rebase -l</div><div class=""><br class=""></div><div class="">I attempted to get 3.9 bits by modifying this slightly (the git svn init command):</div><div class=""><br class=""></div><div class=""><div class="">    git clone<span class="Apple-converted-space"> </span><a href="http://llvm.org/git/llvm.git" class="">http://llvm.org/git/llvm.git</a><span class="Apple-converted-space"> </span>llvm_39_${num}</div><div class="">    cd llvm_39_${num}</div><div class="">    git svn init<span class="Apple-converted-space"> </span><a href="https://llvm.org/svn/llvm-project/llvm/branches/release_39" class="">https://llvm.org/svn/llvm-project/llvm/branches/release_39</a><span class="Apple-converted-space"> </span>--username=tejohnson</div><div class="">    git config svn-remote.svn.fetch :refs/remotes/origin/master</div><div class="">    git svn rebase -l</div></div><div class=""><br class=""></div><div class="">However, I still see latest trunk.</div><div class=""><br class=""></div><div class="">Teresa</div><div class=""><br class=""></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div class="gmail_extra"><div class=""><div class="gmail-h5"><br class=""><div class="gmail_quote">On Tue, Sep 27, 2016 at 2:55 PM, Teresa Johnson<span class="Apple-converted-space"> </span><span dir="ltr" class=""><<a href="mailto:tejohnson@google.com" target="_blank" class="">tejohnson@google.com</a>></span><span class="Apple-converted-space"> </span>wrote:<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div class="gmail-m_-1011479967847469764HOEnZb"><div class="gmail-m_-1011479967847469764h5"><br class=""><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Tue, Sep 27, 2016, 2:38 PM Carsten Mattner <<a href="mailto:carstenmattner@gmail.com" target="_blank" class="">carstenmattner@gmail.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: 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 class=""><br class=""></div></div></div><div class="">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-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"></blockquote></div></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div></div></div><span class="gmail-">--<span class="Apple-converted-space"> </span><br class=""><div class="gmail-m_-1011479967847469764gmail_signature"><span style="font-family: times; font-size: inherit;" class=""><table cellspacing="0" cellpadding="0" class=""><tbody class=""><tr style="color: rgb(85, 85, 85); font-family: sans-serif; font-size: small;" class=""><td nowrap="" style="border-top-width: 2px; border-top-style: solid; border-top-color: rgb(213, 15, 37);" class="">Teresa Johnson |</td><td nowrap="" style="border-top-width: 2px; border-top-style: solid; border-top-color: rgb(51, 105, 232);" class=""> Software Engineer |</td><td nowrap="" style="border-top-width: 2px; border-top-style: solid; border-top-color: rgb(0, 153, 57);" class=""> <a href="mailto:tejohnson@google.com" target="_blank" class="">tejohnson@google.com</a> |</td><td nowrap="" style="border-top-width: 2px; border-top-style: solid; border-top-color: rgb(238, 178, 17);" class=""> <a href="tel:408-460-2413" value="+14084602413" target="_blank" class="">408-460-2413</a></td></tr></tbody></table></span></div></span></div></blockquote></div><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br clear="all" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">--<span class="Apple-converted-space"> </span></span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div class="gmail_signature" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-family: times; font-size: inherit;" class=""><table cellspacing="0" cellpadding="0" class=""><tbody class=""><tr style="color: rgb(85, 85, 85); font-family: sans-serif; font-size: small;" class=""><td nowrap="" style="border-top-width: 2px; border-top-style: solid; border-top-color: rgb(213, 15, 37);" class="">Teresa Johnson |</td><td nowrap="" style="border-top-width: 2px; border-top-style: solid; border-top-color: rgb(51, 105, 232);" class=""> Software Engineer |</td><td nowrap="" style="border-top-width: 2px; border-top-style: solid; border-top-color: rgb(0, 153, 57);" class=""> <a href="mailto:tejohnson@google.com" target="_blank" class="">tejohnson@google.com</a> |</td><td nowrap="" style="border-top-width: 2px; border-top-style: solid; border-top-color: rgb(238, 178, 17);" class=""> 408-460-2413</td></tr></tbody></table></span></div></div></blockquote></div><br class=""></body></html>