Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Dec 2017 11:36:27 +0100
From:      "O. Hartmann" <ohartmann@walstatt.org>
To:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   LLD_IS_LD: error compiling world after switch: incompatible with /usr/lib/crt1.o ...
Message-ID:  <20171226113654.114f9031@thor.intern.walstatt.dynvpn.de>

next in thread | raw e-mail | index | archive | help
--Sig_/jQEJ9=icPFqjVtRiuE8_X/E
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On to boxes running almost the same CURRENT (non-working is at FreeBSD 12.0=
-CURRENT #241
r327182: Mon Dec 25 22:45:06 CET 2017 amd64; the working one is at r327183)=
 I dared,
again, to flip the switch LLD_IS_LD=3DYES.

On the box in question building world magically stops and dumping an error =
sometimes, see
below. The other one is performing well and build world without problems. I=
 build, due to
resource limitations, on both systems kernel and world with META_MODE.

When I switched over to LLD again, I didn't clear the whole obj tree - I do=
 not want this
since my resources are, as said, limited and build times of 90 minutes is a=
 bit a burden
at the moment. So, is there probably a workaround to this?

Thanks in adavnce,
Oliver


[...]
Building /usr/obj/usr/src/amd64.amd64/obj-lib32/lib/libmagic/mkmagic
--- mkmagic ---
/usr/bin/ld: error: /usr/obj/usr/src/amd64.amd64/obj-lib32/lib/libz/libz.so=
 is
incompatible with /usr/lib/crt1.o cc: error: linker command failed with exi=
t code 1 (use
-v to see invocation) *** [mkmagic] Error code 1

make[2]: stopped in /usr/src/lib/libmagic
.ERROR_TARGET=3D'mkmagic'
.ERROR_META_FILE=3D'/usr/obj/usr/src/amd64.amd64/obj-lib32/lib/libmagic/mkm=
agic.meta'

--=20
O. Hartmann

Ich widerspreche der Nutzung oder =C3=9Cbermittlung meiner Daten f=C3=BCr
Werbezwecke oder f=C3=BCr die Markt- oder Meinungsforschung (=C2=A7 28 Abs.=
 4 BDSG).

--Sig_/jQEJ9=icPFqjVtRiuE8_X/E
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

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

iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCWkImRgAKCRDS528fyFhY
lDVoAf9BacAI+CCaSi8L5QpH4yqxtlLP3LuF4kB6hIQ3e8iimJAjCUEkNVBjfW6n
VySvUxyfJHv42d+Nx6SBDeGf+xzLAf93V4P73sZhh5tYuN5ktSczX5eeCg54DpMB
YXTwzl1BAYnlpsSF/qhn2N6lb5fblNaeDBz0ts9td4QVpR8Jz8hf
=9aqo
-----END PGP SIGNATURE-----

--Sig_/jQEJ9=icPFqjVtRiuE8_X/E--



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