SymLink ld.lld -> ld.lld-9
See original GitHub issueI would like to have a SymLink in bin-dir:
cd /path/to/install/bin
PRG_SUFFIX_VER="9"
$ ln -sf ld.lld ld.lld-$PRG_SUFFIX_VER
Issue Analytics
- State:
- Created 4 years ago
- Comments:16 (15 by maintainers)
Top Results From Across the Web
LLD - The LLVM Linker — lld 16.0.0git documentation
LLD is a linker from the LLVM project that is a drop-in replacement for system linkers and runs much faster than them. It...
Read more >ld and lld use only paths I input - linker - Stack Overflow
I'd like to be able to tell both ld (the gcc linker) and lld (the clang linker) "Only look in these paths for...
Read more >lld-9_9.0.1-12_arm64.deb - Ubuntu Repositories - pkgs.org
Download lld-9_9.0.1-12_arm64.deb for Ubuntu 20.04 LTS from Ubuntu Universe repository. ... lld-9 - LLVM-based linker ... /usr/share/man/man1/ld.lld-9.1.gz ...
Read more >[llvm-dev] LLD to be the default linker in Clang - Google Groups
realised the "accepted" way to make clang call lld is to "symlink lld -> ld". I understand that's how every Linux system "chooses"...
Read more >93645 – Support Clang 12 --ld-path= - GNU.org
This feature request generalizes -fuse-ld=bfd -fuse-ld=gold https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55470 and -fuse-ld=lld clang ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If you specify
-fuse-ld=lld
but don’t use -Bprefix, clang will locatex86_64-unknown-linux-gnu-ld.lld
(if the default target triple isx86_64-unknown-linux-gnu
) andld.lld
inclang -print-search-dirs
, then$PATH
.clang-9
will not magically locateld.lld-9
. If you really want to locateld.lld-9
, use-fuse-ld=lld-9
I am closing this as this is not something the script will support natively (and based on further discussion upstream, not necessarily something we will account for with the proposed
LLVM=y
: https://lore.kernel.org/lkml/20200331193544.GA55810@ubuntu-m2-xlarge-x86/)