From owner-freebsd-current@freebsd.org Tue Dec 26 16:53:04 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DED53EA1DFB for ; Tue, 26 Dec 2017 16:53:04 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5E56F7DD4F for ; Tue, 26 Dec 2017 16:53:04 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from thor.intern.walstatt.dynvpn.de ([78.55.225.232]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MZkic-1eEwcK11Hq-00LUnr for ; Tue, 26 Dec 2017 17:53:02 +0100 Date: Tue, 26 Dec 2017 17:52:26 +0100 From: "O. Hartmann" To: FreeBSD CURRENT Subject: [SOLVED] Re: LLD_IS_LD: error compiling world after switch: incompatible with /usr/lib/crt1.o ... Message-ID: <20171226175253.23e98feb@thor.intern.walstatt.dynvpn.de> In-Reply-To: <20171226113654.114f9031@thor.intern.walstatt.dynvpn.de> References: <20171226113654.114f9031@thor.intern.walstatt.dynvpn.de> Organization: WALSTATT User-Agent: OutScare 3.1415926 X-Operating-System: ImNotAnOperatingSystem 3.141592527 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/1ocePRefVZKYXgWAkE=bOqS"; protocol="application/pgp-signature" X-Provags-ID: V03:K0:3Pt1zejEtsT+/92qD/lJHPr4AzWk5XLmSJo4T+V0cW1v9xQlO0G zpHXkbi1DEl5Sed0a1c8//B5yuf0NAJBCQ7oiTIz6wRiV+sFRIYUN/QLawmFnEnIn/KlpOr degA2SpIixi//49zSkt/ATdo8k+QM1BKoMabGPkAf6NJJygQ5PVk00BHIUQRLOG8zN/gngS erf3QqExzLXKQWafe+MEw== X-UI-Out-Filterresults: notjunk:1;V01:K0:YSnzCVQU8/4=:Xg11NIdHsyjueiF70KHetq R6QtK/pAEq6qnw7FZw6QZlQSbbwpV7w+ZUC58/tOsQdY23bC6a0NISLIsobnjry9wkjsLP8YY qUexvR2cVY8ppF3MZXibd1Jo9hQXb1amqacmAzjv7NVWmY6UXcqSh/tZiqXg+giaAel6lrTsf I7bDLwiEpu5BXYX0Y80RkMrBMSa/ViJCbiFlIaDv7ivcNYrTWFf6kNUotgn8QcxsXfCEkW+BR Z/H/IxNncLDp6RL2WfqxzdDEIl8SfOllwJDMnaDuQDFH7ysxRFYCEz5jW7ki/0kdtWVl3jCSa yC5WoYeCP8ShJXaq4S0YJhDQfkwkUE3C83m8OqAydKsimgqEQ2f79xYvXFVBkO3AZByK4TIDV in3sk1/vO8vI+nx1B0RAAw97PK9hYrOLzl1S8oB0ubcQnegJZBgSQWerVhBNynm7Ge+g9PJMx htFlbhDmXtOZ9qijRSQyEX8+c3QTphnVc1/qQIp/R6YHs0VOLpawax6ahxzXnpOKFZHcHGfcB MzTTv3NAdM7fOGxQEXsz3gNdEDEJPCtDJ8JR/2GB+QyheOBc/dm2tF1pIkO4kuQx78nMPmGoO 1PHiOpLOHpwSZNpmR/3QHnXftR8QP80aQq6+9lLebHFiq21DF+nKPgzigDJ26Iilles1aCE3m QgvmCtrCC/JYCAGIYsUNHjTscaO9iueR9jvty0HgeCl4LMLOlrhDKjjsFPdd9kJGo4rFdw0U5 wTldxe/XcCI14fyzXRAYZmWXbsqqkQDze6CLnv/QTvfhYx99zX0aZOUsFmVe97dRYR2XAyZLt JN20jhjOkAxXvWcUnKKjsvbedIVcg== X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Dec 2017 16:53:05 -0000 --Sig_/1ocePRefVZKYXgWAkE=bOqS Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am Tue, 26 Dec 2017 11:36:27 +0100 "O. Hartmann" schrieb: > 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 r32718= 3) I dared, > again, to flip the switch LLD_IS_LD=3DYES. >=20 > On the box in question building world magically stops and dumping an erro= r sometimes, > see below. The other one is performing well and build world without probl= ems. I build, > due to resource limitations, on both systems kernel and world with META_M= ODE. >=20 > 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 minut= es is a bit a > burden at the moment. So, is there probably a workaround to this? >=20 > Thanks in adavnce, > Oliver >=20 >=20 > [...] > 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 e= xit code 1 (use > -v to see invocation) *** [mkmagic] Error code 1 >=20 > 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/m= kmagic.meta' >=20 Deleting "/usr/obj/usr/src/amd64.amd64/obj-lib32/lib/libz/libz.so" solved t= he problem. --=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_/1ocePRefVZKYXgWAkE=bOqS Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCWkJ+ZQAKCRDS528fyFhY lKzwAf99PCMufjlPSFT8wpZb9W6h6Tu14csThWd/oRTi24hSpiZLIFZjwkbbTw6V UF0JxaxI+NXRNBajrv1lR2axE34KAgCpXpnEBub9jmIDJV4IPO9TZ5GTX2b9A1UA CNUVnkRaV1B2Pid55L3h/9MwsQs3WI4ccJTc9vrEIwyTTUNfDEn9 =E5e0 -----END PGP SIGNATURE----- --Sig_/1ocePRefVZKYXgWAkE=bOqS--