<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 7, 2015 at 10:17 AM, Rafael Espíndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><p dir="ltr">>> Tmpfs. Both input and output. I also used thin archives.<br>
><br>
>  Can I enable that in LLVM? Is it beneficial?<br>
><br>
> (does gold support thin archives? (is it an apples-to-apple-like-objects comparison, I guess?))</p>
</span><p dir="ltr">Yes, I used the same inputs for both.  To get thin archives, pass the T option to ar or llvm-ar. <br></p></blockquote><div>Any idea where I put that in my CMakeCache/config? <br><br>I just tried putting T here:<br><br><pre style="color:rgb(0,0,0)">CMAKE_AR:FILEPATH=/usr/bin/ar T

but I imagine that's wrong/will probably break in a minute when the build gets to that point.</pre></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><p dir="ltr"></p><span class="">
<p dir="ltr">><br>
> Ah, rightio. Hmm - guess I can move lld out of the way while I'm self-hosting, until that's implemented. <br>
><br>
> Do I have to do something to opt-in to ELF2?</p>
</span><p dir="ltr">Use the ld.lld2 symbolic link.</p></blockquote><div><br></div><div>OK - thanks!</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<p dir="ltr">Cheers, <br>
Rafael </p>
</blockquote></div><br></div></div>