<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>
<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>
<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>
<p dir="ltr">Use the ld.lld2 symbolic link.</p>
<p dir="ltr">Cheers, <br>
Rafael </p>