[cfe-dev] Unable to use LLD?
David Chisnall via cfe-dev
cfe-dev at lists.llvm.org
Wed Mar 13 14:32:22 PDT 2019
On 13/03/2019 07:42, Peter Smith via cfe-dev wrote:
> The -fuse-ld=<linker> accepts three forms, the first is one of the
> recognised linkers lld, gold and bfd. The driver prefixes this with
> "ld." to make ld.lld, ld.gold and ld.bfd. The second form is the
> absolute path to the linker, the third is ld (the default system
> linker). In your case I think the driver did not interpret ld.lld-9 as
> an absolute path.
Unless this has changed since I last looked at the code, we don't
special case any of the known linkers. We simply look for ld.{argument
name} in the search paths (either $PATH or something specified with -B).
-fuse-ld=lld9.0 will find ld.lld9.0. -fuse-ld=magicld92 will find
lld.magicld92.
David
More information about the cfe-dev
mailing list