Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Sep 2024 12:54:55 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Gordon Bergling <gbe@freebsd.org>
Cc:        "current@freebsd.org" <current@FreeBSD.org>
Subject:   Re: install error during installworld
Message-ID:  <839F69B4-9673-4BF2-98AF-9A0A45D1D6FF@FreeBSD.org>
In-Reply-To: <ZvPmqQR70RlUManj@GB-MBA.local>
References:  <ZvPmqQR70RlUManj@GB-MBA.local>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 25 Sep 2024, at 12:32, Gordon Bergling <gbe@freebsd.org> wrote:
> 
> I have a few Hyper-V based virtual machines, one acts as a build machine
> and one as -CURRENT development machine / environment.
> 
> The host crashed while I was executing an installworld installkernel make
> target.
> 
> When trying to resume the installworld part I get the following error
> message since then:
> -------------------------------------------------------------------------------
> make: "/storage/freebsd/src/current/share/mk/bsd.linker.mk" line 95: warning:
> Unknown linker from LD=ld: , defaulting to bfd
> find: : No such file or directory

This is not good, my guess is that your linker was not found, therefore
it printed something like "ld: not found" which then ended up being set
in the LD make variable. Then bsd.linker.mk concludes that "ld:" is not
a valid linker.

Does /usr/bin/ld exist? Or /usr/local/bin/ld?



> make[1]: warning: /storage/freebsd/src/current/: Read-only file system.
> make[1]: "/build/storage/freebsd/src/current/amd64.amd64/toolchain-metadata.mk"
> line 1: Using cached toolchain metadata from build at bastion.ttyv0.de on Wed Sep 25 12:20:39 CEST 2024

What is the contents of
/build/storage/freebsd/src/current/amd64.amd64/toolchain-metadata.mk ?

-Dimitry


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCZvPr/wAKCRCwXqMKLiCW
o7aCAKCoXZifRENZd32Kl7IQbuoYdmlmvwCfVRf9mv9m5iDt8XCvicczNYogJ2g=
=TYTF
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?839F69B4-9673-4BF2-98AF-9A0A45D1D6FF>