[cfe-dev] Unable to use LLD?
Shriramana Sharma via cfe-dev
cfe-dev at lists.llvm.org
Wed Mar 13 07:01:18 PDT 2019
On Wed, Mar 13, 2019 at 7:20 PM Shriramana Sharma <samjnaa at gmail.com> wrote:
> $ clang-9 -fuse-ld=ld.lld-9 -o hello hello.c
> clang: error: invalid linker name in argument '-fuse-ld=ld.lld-9'
Curiously:
$ clang-9 -fuse-ld=lld -o hello hello.c
$ ./hello
Hello!
$ readelf --string-dump .comment hello
String dump of section '.comment':
[ 0] Linker: LLD 9.0.0
Why is it a problem if I give the explicit linker with version? I had
rather suspected that it would use some other default lld on my system
which is why I was hypercorrecting…
--
Shriramana Sharma ஶ்ரீரமணஶர்மா श्रीरमणशर्मा 𑀰𑁆𑀭𑀻𑀭𑀫𑀡𑀰𑀭𑁆𑀫𑀸
More information about the cfe-dev
mailing list