Date: Wed, 10 Jul 2013 16:35:19 GMT From: Oliver Pinter <oliver.pntr@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/180442: newvers.sh picked up wrong compiler information Message-ID: <201307101635.r6AGZJqn004570@oldred.freebsd.org> Resent-Message-ID: <201307101640.r6AGe0XA061866@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 180442 >Category: kern >Synopsis: newvers.sh picked up wrong compiler information >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 10 16:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Oliver Pinter >Release: FreeBSD opn 9.1-STABLE FreeBSD 9.1-STABLE #84 r252093+ec73f9e: Sat Jun 22 20:58:19 CEST 2013 >Organization: >Environment: FreeBSD opn 9.1-STABLE FreeBSD 9.1-STABLE #84 r252093+ec73f9e: Sat Jun 22 20:58:19 CEST 2013 root@opn:xxx amd64 >Description: op@opn conf> cat /etc/src.conf WITH_CLANG= WITH_CLANG_EXTRAS= WITH_LIBCPLUSPLUS= WITH_CLANG_IS_CC= The kernel truly builded by clang, but the newvers.sh picked up the wrong compiler to set compiler_v variable. compiler_v=$($(${MAKE:-make} -V CC) -v 2>&1 | grep 'version') kern.compiler_version: gcc version 4.2.1 20070831 patched [FreeBSD] >How-To-Repeat: 1) install a clean 9-STABLE 2) add the line upper in src.conf 3) make buildworld kernel >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307101635.r6AGZJqn004570>