<div dir="ltr">Update: fwiw - I am getting totally inaccurate results when using the gold debugger + cmake/ninja.  I'll have more to say later, but for sure something is not building correctly.  I'll have to isolate what is causing it.<div>
<br></div><div>lldb-gdbserver built via cmake/ninja/gold linker was seg faulting, and neither lldb nor gdb could tell me anything useful about the top few frames of the core.  Building the same code with configure/(g)make gave me different results (I got the assert failure printed), and the backtrace looked quite a bit different.</div>
<div><br></div><div>So - until I figure out which piece of the puzzle isn't working, I don't think I'd recommend Ubuntu ninja/cmake/gold linker until I figure out which piece (if only one) that is acting funny.  </div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 6, 2014 at 11:40 AM, Todd Fiala <span dir="ltr"><<a href="mailto:tfiala@google.com" target="_blank">tfiala@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 dir="ltr">Thanks, Richard.<div><br></div><div>I spent some time trying that out this morning.  For Ubuntu, I was able to do this with 'sudo apt-get install binutils-gold'.  This improved my lldb build time with cmake/ninja by between 6 and 7%.  Thanks for the suggestion!</div>
<span class="HOEnZb"><font color="#888888">
<div><br></div><div>-Todd</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 5, 2014 at 7:48 PM, Richard Mitton <span dir="ltr"><<a href="mailto:richard@codersnotes.com" target="_blank">richard@codersnotes.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>


  

<div bgcolor="#ffffff" text="#000000">
I found with building llvm/lldb, switching your default linker to gold
instead of ld helps too.<br>
<br>
<br>
Todd Fiala wrote:
<blockquote type="cite"><div><div>
  <div dir="ltr">Hi all,
  <div><br>
  </div>
  <div>Just thought I'd pass along that I've just did a build time
comparison between our standard lldb build setup: configure + (g)make
(i.e. configure && make -j32), vs. cmake + ninja (i.e. cmake
-GNinja && ninja).  On an HP z620 with 32 virtual procs on ssd,
it takes me just under 10 minutes to build lldb with configure/make.
 The same machine with ninja + cmake takes 4.25 minutes.  *huge*
speedup.</div>
  <div><br>
  </div>
  <div>We'll be moving in that direction on our dev setups based on
that change.  If for some reason we hit any hiccups with that, I'll be
sure to tell you about them.</div>
  <div>
  <div>-- <br>
  </div>
  <div dir="ltr">
  <table style="color:rgb(136,136,136);font-family:'Times New Roman'" cellpadding="0" cellspacing="0">
    <tbody>
      <tr style="color:rgb(85,85,85);font-family:sans-serif;font-size:small">
        <td style="border-top:2px solid rgb(213,15,37)" nowrap>Todd
Fiala |</td>
        <td style="border-top:2px solid rgb(51,105,232)" nowrap> Software
Engineer |</td>
        <td style="border-top:2px solid rgb(0,153,57)" nowrap> <a href="mailto:tfiala@google.com" style="color:rgb(17,85,204)" target="_blank"><span style="background-color:rgb(255,255,204);color:rgb(34,34,34)">tfiala@google.com</span></a> |</td>


        <td style="border-top:2px solid rgb(238,178,17)" nowrap><font color="#1155cc"> <a>650-943-3180</a></font></td>
      </tr>
    </tbody>
  </table>
  <br>
  </div>
  </div>
  </div>
  </div></div><pre><hr width="90%" size="4"><div>
_______________________________________________
lldb-dev mailing list
<a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a>
  </div></pre>
</blockquote>
</div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><table cellspacing="0" cellpadding="0" style="color:rgb(136,136,136);font-family:'Times New Roman'"><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">Todd Fiala |</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:tfiala@google.com" style="color:rgb(17,85,204)" target="_blank"><span style="background-color:rgb(255,255,204);color:rgb(34,34,34);background-repeat:initial initial">tfiala@google.com</span></a> |</td>

<td nowrap style="border-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px"><font color="#1155cc"> <a>650-943-3180</a></font></td></tr></tbody></table><br></div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><table cellspacing="0" cellpadding="0" style="color:rgb(136,136,136);font-family:'Times New Roman'"><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">Todd Fiala |</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:tfiala@google.com" style="color:rgb(17,85,204)" target="_blank"><span style="background-color:rgb(255,255,204);color:rgb(34,34,34);background-repeat:initial initial">tfiala@google.com</span></a> |</td>
<td nowrap style="border-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px"><font color="#1155cc"> <a>650-943-3180</a></font></td></tr></tbody></table><br></div>
</div>