On Sun, Aug 13, 2017 at 5:08 PM, Sylvestre Ledru
wrote:
> To use it, you should have a clang >= 4.0 installed and lld installed
> on the system.
> clang is in charge of the LLD detection with its option -fuse-ld=lld
> (this option is also supported by gcc since version 6).
On Mon, Aug 14, 2017 at 12:08 AM, Sylvestre Ledru wrote:
> Packages for lld on Debian & Ubuntu are available on https://apt.llvm.org/
Ubuntu 16.04 and later also has an lld-4.0 package in its own repos
(sudo apt install lld-4.0).
I believe all three linkers (bfd, gold and lld) can currently do LTO
on LLVM bitcode. Naively I'd assume getting cross-compilation-unit
optimization combining rust and clang compile units is more of a build
system issue than a linker one.
-Jeff
On Mon, Aug 14, 2017 at 2:16 AM, Henri Sivonen
On Mon, Aug 14, 2017 at 12:08 AM, Sylvestre Ledru wrote:
> Thanks to bug https://bugzilla.mozilla.org/show_bug.cgi?id=1336978, it
> is now possible to link with LLD (the linker from the LLVM toolchain)
> on Linux instead of bfd or gold.
Great news. Thank you!
Does this
Thanks to bug https://bugzilla.mozilla.org/show_bug.cgi?id=1336978, it
is now possible to link with LLD (the linker from the LLVM toolchain)
on Linux instead of bfd or gold.
On my laptop (a recent Carbon X1), the performance gain for libxul
linking is quite important:
* 7 seconds for LLD
* 15
5 matches
Mail list logo