<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">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="gmail_msg" target="_blank">tejohnson@google.com</a>> wrote:<br class="gmail_msg">
<br class="gmail_msg">
> Sure, I will try this and let you know. Unfortunately, though, I<br class="gmail_msg">
> have another big work commitment that is going to eat up most of my<br class="gmail_msg">
> time through Thu, although I may be able to find some time to try<br class="gmail_msg">
> it.<br class="gmail_msg">
<br class="gmail_msg">
No worries, if I get around it before you do, I will :).<br class="gmail_msg">
<br class="gmail_msg">
> I think so - what is confusing me is that your cmake command is<br class="gmail_msg">
> specifying the same $PREFIX for both the install destination and the<br class="gmail_msg">
> source of the llvm-ar/llvm-ranlib that will be used in the new<br class="gmail_msg">
> build. Should the llvm-ar/llvm-ranlib in the cmake command use your<br class="gmail_msg">
> moved-to PREFIX instead?<br class="gmail_msg">
<br class="gmail_msg">
Only if 'ninja install` would reference the two executables. If that's<br class="gmail_msg">
case, and I haven't gotten that far yet due to ThinLTO not finishing,<br class="gmail_msg">
I'll consider copying those to the local build tree first.<br class="gmail_msg">
<br class="gmail_msg">
> Can you nm the .so files in your lib dir and see if any reference<br class="gmail_msg">
> __morestack?<br class="gmail_msg">
<br class="gmail_msg">
$ for so in lib/*.so; do echo $so ; nm $so|grep __morestack;done<br class="gmail_msg">
lib/BugpointPasses.so<br class="gmail_msg">
lib/libclang.so<br class="gmail_msg">
lib/libgomp.so<br class="gmail_msg">
lib/libiomp5.so<br class="gmail_msg">
lib/liblldb.so<br class="gmail_msg">
                 U __morestack<br class="gmail_msg">
lib/libLTO.so<br class="gmail_msg">
lib/libomp.so<br class="gmail_msg">
lib/LLVMgold.so<br class="gmail_msg">
lib/LLVMHello.so<br class="gmail_msg">
lib/LLVMPolly.so<br class="gmail_msg">
<br class="gmail_msg">
Looks like liblldb.so does. Does that explain anything?<br class="gmail_msg"></blockquote></div><div><br></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>