From owner-freebsd-current@freebsd.org Tue Aug 22 10:56:34 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 4D782DE1577 for ; Tue, 22 Aug 2017 10:56:34 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:470:7a58:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 16039804F1 for ; Tue, 22 Aug 2017 10:56:34 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2a03:fc02:2:1:fd66:a129:78c0:1fc2] (unknown [IPv6:2a03:fc02:2:1:fd66:a129:78c0:1fc2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id C7C1F30B02; Tue, 22 Aug 2017 12:56:23 +0200 (CEST) From: Dimitry Andric Message-Id: Content-Type: multipart/signed; boundary="Apple-Mail=_61FEAF96-67E8-45EC-BD80-C5087EB21277"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: r322769: make buildkernel/buildworld failure: Unable to determine compiler type for CC=cc Date: Tue, 22 Aug 2017 12:56:22 +0200 In-Reply-To: <20170822062034.2e27ec5b@freyja.zeit4.iv.bundesimmobilien.de> Cc: FreeBSD CURRENT To: "O. Hartmann" References: <20170821205247.0a58bc0c@thor.intern.walstatt.dynvpn.de> <21D1FFEB-D650-4AB6-824A-8BCF941EAB8A@FreeBSD.org> <20170822062034.2e27ec5b@freyja.zeit4.iv.bundesimmobilien.de> X-Mailer: Apple Mail (2.3273) X-BeenThere: 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 10:56:34 -0000 --Apple-Mail=_61FEAF96-67E8-45EC-BD80-C5087EB21277 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii 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 >>> 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 = --version >>> || echo 0.0.0" exited on a signal make: = "/usr/src/share/mk/bsd.compiler.mk" >>> line 155: Unable to determine compiler type for CC=3Dcc. Consider = setting >>> COMPILER_TYPE. >>=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 = non-zero > status Segmentation fault Hmm, maybe your awk is borked? What happens if you run: echo hi there | awk '{print $1}' -Dimitry --Apple-Mail=_61FEAF96-67E8-45EC-BD80-C5087EB21277 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.1 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCWZwN1gAKCRCwXqMKLiCW o5YlAKCerXBZnyipxdzJB7osXzOjnKjd1gCgp6w7m4POX9FvbPE3pvJYKsXW8vo= =Zw1Z -----END PGP SIGNATURE----- --Apple-Mail=_61FEAF96-67E8-45EC-BD80-C5087EB21277--