[LLVMdev] Linking tools

Steve King steve at metrokings.com
Mon Jul 27 11:20:45 PDT 2015


On Mon, Jul 27, 2015 at 10:55 AM, Reid Kleckner <rnk at google.com> wrote:
> On Mon, Jul 27, 2015 at 10:39 AM, Steve King <steve at metrokings.com> wrote:
>>
>> If there's been recent progress on removing GNU dependencies, I'm all
>> ears.
>
> Basically, LTO for projects that have pre-compiled objects requires
> integration with a real static linker. Currently we use plugins to integrate
> with binutils linkers, Mac ld64, and some other closed-source linkers. To
> cut this dependency, we need a new linker, which is what LLD is intended to
> become.

Thanks and yes, I eagerly await Clang's switch to lld.  Clang also
calls the gcc driver though, at least to invoke collect2.  Will lld
allow clang to remove all GNU dependencies?



More information about the llvm-dev mailing list