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

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

--dCnZOmeBTNnpmNis
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Dimitry,

On Wed, Sep 25, 2024 at 12:54:55PM +0200, Dimitry Andric wrote:
> On 25 Sep 2024, at 12:32, Gordon Bergling <gbe@freebsd.org> wrote:
> >=20
> > I have a few Hyper-V based virtual machines, one acts as a build machine
> > and one as -CURRENT development machine / environment.
> >=20
> > The host crashed while I was executing an installworld installkernel ma=
ke
> > target.
> >=20
> > 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: wa=
rning:
> > Unknown linker from LD=3Dld: , defaulting to bfd
> > find: : No such file or directory
>=20
> 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.
>=20
> Does /usr/bin/ld exist? Or /usr/local/bin/ld?

/usr/bin/ld points to ld.lld and can be invoked.

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

Contents as follows:
---------------------------------------------------------------------------=
----
=2Einfo Using cached toolchain metadata from build at bastion.ttyv0.de on T=
hu Sep 26 12:32:16 CEST 2024
_LOADED_TOOLCHAIN_METADATA=3Dt
COMPILER_VERSION=3D180106
X_COMPILER_VERSION=3D180106
COMPILER_TYPE=3Dclang
X_COMPILER_TYPE=3Dclang
COMPILER_FEATURES=3Dc++11 c++14 c++17 c++20 init-all retpoline compressed-d=
ebug fileprefixmap aarch64-sha512
X_COMPILER_FEATURES=3Dc++11 c++14 c++17 c++20 init-all retpoline compressed=
-debug fileprefixmap aarch64-sha512
COMPILER_FREEBSD_VERSION=3D1500000
X_COMPILER_FREEBSD_VERSION=3D1500000
COMPILER_RESOURCE_DIR=3D/build/storage/freebsd/src/current/amd64.amd64/tmp/=
usr/lib/clang/18
X_COMPILER_RESOURCE_DIR=3D/build/storage/freebsd/src/current/amd64.amd64/tm=
p/usr/lib/clang/18
LINKER_VERSION=3D180106
X_LINKER_VERSION=3D180106
LINKER_FEATURES=3D build-id ifunc retpoline ifunc-noplt bti-report
X_LINKER_FEATURES=3D build-id ifunc retpoline ifunc-noplt bti-report
LINKER_TYPE=3Dlld
X_LINKER_TYPE=3Dlld
LINKER_FREEBSD_VERSION=3D1500001
X_LINKER_FREEBSD_VERSION=3D1500001
=2Eexport COMPILER_VERSION  COMPILER_TYPE  COMPILER_FEATURES  COMPILER_FREE=
BSD_VERSION  COMPILER_RESOURCE_DIR  LINKER_VERSION  LINKER_FEATURES  LINKER=
_TYPE  LINKER_FREEBSD_VERSION
=2Eexport X_COMPILER_VERSION X_COMPILER_TYPE X_COMPILER_FEATURES X_COMPILER=
_FREEBSD_VERSION X_COMPILER_RESOURCE_DIR X_LINKER_VERSION X_LINKER_FEATURES=
 X_LINKER_TYPE X_LINKER_FREEBSD_VERSION
---------------------------------------------------------------------------=
----

I try a local build for now and hopes that this fixes lates remote builds.

--Gordon

--dCnZOmeBTNnpmNis
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEYbWI0KY5X7yH/Fy4OQX2V8rP09wFAmb1OjUACgkQOQX2V8rP
09x/ngf/cJPZMNa0/upyVn/U3iVjE/1Z2VQBqjRl/o2vwk1O28lggOsXjsLccpP3
AaflleB5fICFMvMZ8VizzV05utBaHB3COe1wXXLEvJl8OuqagxpnM9Nb1eEfaN6s
lL2mGehHUV1vlXknWfAY6wIZL1yx/qK6w3zTb79StRCWUIslZ6AgFzUXs89U238e
UcRv/ZugJ0g/M1q/uo/9UT2QvN6HO2Db0xgvbJkVGhg+G9PoslNMa0VbI4o3LpGZ
NILLXXa5PG5FpOEOVMihuyZbjGwLCZkVp0WXmuwQLgpiSprAygfGbHnDWNxTo15h
tjDB1YrcjyTR2AOJGafZf5+6w40C/w==
=4r5Y
-----END PGP SIGNATURE-----

--dCnZOmeBTNnpmNis--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZvU6SGK2kQJUhHDt>