Reported as bug.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240716
LD and XLD from make.conf are not working to set the linker. Softlink from
/usr/bin/ to chosen linker works in place of it.
___
freebsd-toolchain@freebsd.org mailing list
https://
t's more difficult to see the problem, if the base ld is available.
>
>
>> Sent: Wednesday, September 04, 2019 at 10:18 AM
>> From:
>> Cc: freebsd-toolchain@freebsd.org
>> Subject: Re: linker not using make.conf
>
>> The LD variable only effects the ve
ot working
properly is a fundamental problem, that can cause other problems, and false
assumptions.
It's more difficult to see the problem, if the base ld is available.
> Sent: Wednesday, September 04, 2019 at 10:18 AM
> From:
> Cc: freebsd-toolchain@freebsd.org
> Subject: Re: lin
On Tue, Sep 03, 2019 at 11:04:08PM +0200, Sid wrote:
> In /etc/make.conf, I have
> LD= /usr/local/bin/ld.lld80
>
> This is not used for ports. It may be used for building the kernel and world.
>
> clang-8: error: unable to execute command: Executable "ld" doesn't exist!
> clang-8: error: linke
> This is for FreeBSD 12.0. Older releases (since 11.2) have had similar
> problems to this one.
> I wouldn't be surprised if Stable and Current also have this problem,
> because of the common past issue with this that haven't been fully realized.
>
> Subject: linke
In /etc/make.conf, I have
LD= /usr/local/bin/ld.lld80
This is not used for ports. It may be used for building the kernel and world.
clang-8: error: unable to execute command: Executable "ld" doesn't exist!
clang-8: error: linker command failed with exit code 1 (use -v to see
invocation)
***