看板 FB_bugs 關於我們 聯絡資訊
>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: _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"