From owner-freebsd-current@freebsd.org Tue Aug 22 16:34:36 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 0DC9ADD28B7 for ; Tue, 22 Aug 2017 16:34:36 +0000 (UTC) (envelope-from o.hartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (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 8337D6993C; Tue, 22 Aug 2017 16:34:34 +0000 (UTC) (envelope-from o.hartmann@walstatt.org) Received: from thor.intern.walstatt.dynvpn.de ([77.179.73.221]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LxxNo-1dVz3b204C-015Ene; Tue, 22 Aug 2017 18:29:19 +0200 Date: Tue, 22 Aug 2017 18:29:12 +0200 From: "O. Hartmann" To: Dimitry Andric Cc: FreeBSD CURRENT Subject: Re: r322769: make buildkernel/buildworld failure: Unable to determine compiler type for CC=cc Message-ID: <20170822182912.6ce48829@thor.intern.walstatt.dynvpn.de> In-Reply-To: References: <20170821205247.0a58bc0c@thor.intern.walstatt.dynvpn.de> <21D1FFEB-D650-4AB6-824A-8BCF941EAB8A@FreeBSD.org> <20170822062034.2e27ec5b@freyja.zeit4.iv.bundesimmobilien.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_/QGc4i2xV0Pfrf=p55=k5_iQ"; protocol="application/pgp-signature" X-Provags-ID: V03:K0:EGF+aXvHFEENKif3hr+iwm/++Nv2YES6XxQK88LsNVXmsAhKJhy mV2cisPSx28CpmKXEyczGcbyGAB+r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eenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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, 22 Aug 2017 16:34:36 -0000 --Sig_/QGc4i2xV0Pfrf=p55=k5_iQ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am Tue, 22 Aug 2017 12:56:22 +0200 Dimitry Andric schrieb: > On 22 Aug 2017, at 06:20, O. Hartmann wrote: > >=20 > > On Mon, 21 Aug 2017 23:47:54 +0200 > > Dimitry Andric wrote: > > =20 > >> On 21 Aug 2017, at 20:52, O. Hartmann wrote: = =20 > >>>=20 > >>> I just updated to r322769 and now I face this when trying to recompile > >>> kernel/world again: > >>>=20 > >>> make: "/usr/src/share/mk/bsd.compiler.mk" line 142: warning: "cc --ve= rsion > >>> || echo 0.0.0" exited on a signal make: "/usr/src/share/mk/bsd.compil= er.mk" > >>> line 155: Unable to determine compiler type for CC=3Dcc. Consider se= tting > >>> COMPILER_TYPE. =20 > >>=20 > >> What is the output of "cc --version" ? > >>=20 > >> -Dimitry > >> =20 > > root@hostA:/usr/src # cc --version > > FreeBSD clang version 5.0.0 (branches/release_50 311219) (based on LLVM > > 5.0.0svn) Target: x86_64-unknown-freebsd12.0 > > Thread model: posix > > InstalledDir: /usr/bin > > [...] > >=20 > > I guess that is correct, since I did prior to this as usual a "make -jX > > buildworld buildkernel", with META MODE set and filemon loaded. > >=20 > > Another host, also at r322769, bails out with the very > > same error when doing an update of the source tree, as shown below and = the > > "make buildworld" fails the very same :-( > >=20 > > [...] > > root@hostB:/usr/src # make update > > Segmentation fault > > make: "/usr/src/share/mk/bsd.compiler.mk" line 159: warning: "echo "5.0= .0 > > 5.0.0svn)" | awk -F. '{print $1 * 10000 + $2 * 100 + $3;}'" returned no= n-zero > > status Segmentation fault =20 >=20 > Hmm, maybe your awk is borked? What happens if you run: >=20 > echo hi there | awk '{print $1}' >=20 > -Dimitry >=20 echo hi there | awk '{print $1}' hi --=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_/QGc4i2xV0Pfrf=p55=k5_iQ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCWZxb2AAKCRDS528fyFhY lHPsAf9jeWghxXd/b6ccjekKMu0flXGC07/gWiRzjYXpo9V+R+x1RZjLG0IP4PAF P69i/87+4N8RU71tnutybM25s1EiAf42xOOIHLmgCaUV9bQHVZ7lxDF8yBBnAEMA U9fNR1DbBRUL9CX1y4PoIKe7JNQwUEzV1ztloPNXUKgMice/p7Cj =q6Uc -----END PGP SIGNATURE----- --Sig_/QGc4i2xV0Pfrf=p55=k5_iQ--