Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Aug 2017 18:29:12 +0200
From:      "O. Hartmann" <o.hartmann@walstatt.org>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
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: <E39AE0D7-6877-4D7F-AEC5-78C29235CA7B@FreeBSD.org>
References:  <20170821205247.0a58bc0c@thor.intern.walstatt.dynvpn.de> <21D1FFEB-D650-4AB6-824A-8BCF941EAB8A@FreeBSD.org> <20170822062034.2e27ec5b@freyja.zeit4.iv.bundesimmobilien.de> <E39AE0D7-6877-4D7F-AEC5-78C29235CA7B@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Am Tue, 22 Aug 2017 12:56:22 +0200
Dimitry Andric <dim@FreeBSD.org> schrieb:

> On 22 Aug 2017, at 06:20, O. Hartmann <o.hartmann@walstatt.org> wrote:
> > 
> > On Mon, 21 Aug 2017 23:47:54 +0200
> > Dimitry Andric <dim@FreeBSD.org> wrote:
> >   
> >> On 21 Aug 2017, at 20:52, O. Hartmann <ohartmann@walstatt.org> 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  
> 
> Hmm, maybe your awk is borked?  What happens if you run:
> 
> echo hi there | awk '{print $1}'
> 
> -Dimitry
> 
echo hi there | awk '{print $1}'
hi


-- 
O. Hartmann

Ich widerspreche der Nutzung oder Übermittlung meiner Daten für
Werbezwecke oder für die Markt- oder Meinungsforschung (§ 28 Abs. 4 BDSG).

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCWZxb2AAKCRDS528fyFhY
lHPsAf9jeWghxXd/b6ccjekKMu0flXGC07/gWiRzjYXpo9V+R+x1RZjLG0IP4PAF
P69i/87+4N8RU71tnutybM25s1EiAf42xOOIHLmgCaUV9bQHVZ7lxDF8yBBnAEMA
U9fNR1DbBRUL9CX1y4PoIKe7JNQwUEzV1ztloPNXUKgMice/p7Cj
=q6Uc
-----END PGP SIGNATURE-----

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