[Solved...] Ld alternative?

If you are looking for a specific 64-bit package and you can't find it in any of the 64-bit repos, please post a request for it here
Post Reply
User avatar
n0ctilucient
Shogun
Shogun
Posts: 407
Joined: 21 Apr 2017, 15:59
Distribution: fullmoonremix
Location: 127.0.0.1
Contact:

[Solved...] Ld alternative?

Post#1 by n0ctilucient » 26 Mar 2018, 13:06

Lld is an ultra fast ld linker "dropin" alternative...
LLD is a linker from the LLVM project. That is a drop-in replacement for system linkers and runs much faster than them. It also provides features that are useful for toolchain developers.

There are a few ways to tell compiler drivers to use ld.lld instead of the default linker.

The easiest way to do that is to overwrite the default linker. After installing LLD to somewhere on your disk, you can create a symbolic link by doing ln -s /path/to/ld.lld /usr/bin/ld so that /usr/bin/ld is resolved to LLD.
Site is...
@ http://lld.llvm.org/

Source is...
@ http://llvm.org/releases/download.html

This package has not been adopted yet by ("slackonly" or)...
https://slakfinder.org
https://slackbuilds.org
https://pkgs.org

So far... I have not been able to successfully compile
this package with the following src2pkg conf...
see... Src2pkg.conf w/ "hardened" EXTRA_FLAGS

Thanx... in advance to anyone that is interested in sharing their precompiled package link.
Last edited by n0ctilucient on 28 Mar 2018, 04:48, edited 3 times in total.
:hmmm: I do NOT have the "right" to tell anyone what they should do...
but I reserve the "right" to tell them what they should "consider".

User avatar
n0ctilucient
Shogun
Shogun
Posts: 407
Joined: 21 Apr 2017, 15:59
Distribution: fullmoonremix
Location: 127.0.0.1
Contact:

[Solved...] Ld alternative?

Post#2 by n0ctilucient » 26 Mar 2018, 14:21

:unknown: From what I can tell these are the compile time deps...

gcc-7.3.0-x86_64-1
gcc-g++-7.3.0-x86_64-1
libedit-20170329_3.1-x86_64-1
llvm-6.0.0-x86_64-1
mpfr-4.0.1-x86_64-1
ncurses-6.0-x86_64-3

Pls Note: Adding libedit to my Porteus loadout allowed the source to compile.

Also Note: Make a module (and use the cheatcode "noload") that only loads
lld when you are not developing because lld interferes w/ scr2pkg "helpers".
:hmmm: I do NOT have the "right" to tell anyone what they should do...
but I reserve the "right" to tell them what they should "consider".

Post Reply