[lld] r249520 - Don't create dynamic relocations for weak undefined symbols.

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 7 10:28:52 PDT 2015


On Wed, Oct 7, 2015 at 10:17 AM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

> >> Tmpfs. Both input and output. I also used thin archives.
> >
> >  Can I enable that in LLVM? Is it beneficial?
> >
> > (does gold support thin archives? (is it an apples-to-apple-like-objects
> comparison, I guess?))
>
> Yes, I used the same inputs for both.  To get thin archives, pass the T
> option to ar or llvm-ar.
>
Any idea where I put that in my CMakeCache/config?

I just tried putting T here:

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.

>
> > Ah, rightio. Hmm - guess I can move lld out of the way while I'm
> self-hosting, until that's implemented.
> >
> > Do I have to do something to opt-in to ELF2?
>
> Use the ld.lld2 symbolic link.
>

OK - thanks!


> Cheers,
> Rafael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151007/2a4689e6/attachment.html>


More information about the llvm-commits mailing list