From owner-freebsd-current@freebsd.org Tue Aug 22 04:26:08 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 7441CDEF7D2 for ; Tue, 22 Aug 2017 04:26:08 +0000 (UTC) (envelope-from o.hartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (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 E6BF570CCC; Tue, 22 Aug 2017 04:26:07 +0000 (UTC) (envelope-from o.hartmann@walstatt.org) Received: from freyja.zeit4.iv.bundesimmobilien.de ([87.138.105.249]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LrevR-1dZkFt0QIf-013JJZ; Tue, 22 Aug 2017 06:20:52 +0200 Date: Tue, 22 Aug 2017 06:20:44 +0200 From: "O. Hartmann" To: Dimitry Andric Cc: "O. Hartmann" , FreeBSD CURRENT Subject: Re: r322769: make buildkernel/buildworld failure: Unable to determine compiler type for CC=cc Message-ID: <20170822062034.2e27ec5b@freyja.zeit4.iv.bundesimmobilien.de> In-Reply-To: <21D1FFEB-D650-4AB6-824A-8BCF941EAB8A@FreeBSD.org> References: <20170821205247.0a58bc0c@thor.intern.walstatt.dynvpn.de> <21D1FFEB-D650-4AB6-824A-8BCF941EAB8A@FreeBSD.org> Organization: Walstatt MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:Ky1FEfy7PSlEmGfnwLyCJ457Vk6W8uPMcVr65PWBqRk8UAgV4q5 uKXFOZvbUPwZ2VCzP3yTQ2Y2PMPzD41EEpsUmFZV2KMYyfWfHB9bkINfNJDIO+U+z0p57Ax 1yqvIjZE8yBdQp5blbx67LzkICU53UFrlqgB7yuMJ4vfJ1yFpWN/Z2cjS/n8+YdJITgfgU7 F88JanZYYhWoobfLhQP8g== X-UI-Out-Filterresults: notjunk:1;V01:K0:HqdYtJyD/7M=:F2SvRoXr3MUNyIns8PQvRU l7/uOudG4RXfg29NpUJ6di4X2Ssrbb2K6mYGOU7yWHaxTWOkpkCp0M1jARg2Cf3TP1J7urDbe 8ezctRAxGObAg5BrfZYSYWXSUHdao8owAWPWd9ON+783P+sNEwSQmodqSRAwLwJATC7L+ZT5O Szo6wc9RHrRHXsNE8+cHSJ52y8NSbaEvNzVNuUWrp0uOI9XqeX8xTknDm1Av/aV3us76kbqUI waCaS/E80zMAOFVxXrJzjc/2fEhcXFYxi+rT/qfT8UnLrt2CYeLvo5GYIJeiZ7HOnhtoMK/Hc hs/kiYZzDhYolDsB+OLUEDV9t7DxNQDr7yY2uGm2fDdEPqP9bUk+qKRJWMtSw1LN8Wx6Pyudq jqD6ldVbTbj6qht7tgP0FH7qB187K5CdqafX1cYyFFm+yRHd/OlJY6CFwcDrw5XdNiA72TV+I iuqFxwDT1FQJFtd4SIj6oLXELuhjFiHlgGy9H923cuYmky01p/n6ZRBteuMmJYldOdk9GdDVS 1syjENqsIK69u/dHhJpFtvflPF0O2J6es82SSQO+K/JkED6kGS7lCWOkHt79B67czPDvnSM4m M2/6T2DF7a0kv7PL7UA5WD8vGiExCAslTqmlglUqbulHLl3tywa1Tes9tFIGzz9nF+K7F1I+/ zXui9PUWgmMNd2Uh2m7FbBAdpwe1AV4Lhl8IxOT5J0n0eJGtNNTryZPYMWg3EYd44MSovg4yv HAmMFEvkAteBL1Ku7oSyAXbHGkZ5ZTZr/SZ7NeXMJRrcLLORP+QkA4KfVR25i3BZ3WPRQDsdc VLutUBgI3kvdkZdtX9iC/ZAR2tamUf59FkXHcNCvpocaeuGW5Q= X-Mailman-Approved-At: Tue, 22 Aug 2017 10:52:49 +0000 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 04:26:08 -0000 On Mon, 21 Aug 2017 23:47:54 +0200 Dimitry Andric wrote: > On 21 Aug 2017, at 20:52, O. Hartmann wrote: > > > > I just updated to r322769 and now I face this when trying to recompile > > kernel/world again: > > > > 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=cc. Consider setting > > COMPILER_TYPE. > > What is the output of "cc --version" ? > > -Dimitry > 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 [...] 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. 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 :-( [...] 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 make: "/usr/src/share/mk/bsd.compiler.mk" line 164: warning: "{ echo "__FreeBSD_cc_version" | cc -E - 2>/dev/null || echo __FreeBSD_cc_version; } | sed -n '$p'" returned non-zero status Segmentation fault make: "/usr/src/share/mk/bsd.linker.mk" line 45: warning: "(ld --version || echo none) | head -n 1" returned non-zero status make: "/usr/src/share/mk/bsd.linker.mk" line 56: warning: Unknown linker from LD=ld: , defaulting to bfd Segmentation fault make: "/usr/src/share/mk/bsd.linker.mk" line 61: warning: "echo "2.17.50" | awk -F. '{print $1 * 10000 + $2 * 100 + $3;}'" returned non-zero status Segmentation fault make[1]: "/usr/src/share/mk/bsd.compiler.mk" line 164: warning: "{ echo "__FreeBSD_cc_version" | cc -E - 2>/dev/null || echo __FreeBSD_cc_version; } | sed -n '$p'" returned non-zero status Segmentation fault make[1]: "/usr/src/share/mk/bsd.linker.mk" line 45: warning: "(ld --version || echo none) | head -n 1" returned non-zero status make[1]: "/usr/src/share/mk/bsd.linker.mk" line 56: warning: Unknown linker from LD=ld: , defaulting to bfd Segmentation fault make[1]: "/usr/src/share/mk/bsd.linker.mk" line 61: warning: "echo "2.17.50" | awk -F. '{print $1 * 10000 + $2 * 100 + $3;}'" returned non-zero status Segmentation fault Segmentation fault Segmentation fault Segmentation fault Segmentation fault Segmentation fault Segmentation fault