From nobody@FreeBSD.org Mon Dec 19 23:25:13 2011 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64800106564A for ; Mon, 19 Dec 2011 23:25:13 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 53FD38FC14 for ; Mon, 19 Dec 2011 23:25:13 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id pBJNPCi7044459 for ; Mon, 19 Dec 2011 23:25:12 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id pBJNPCUJ044457; Mon, 19 Dec 2011 23:25:12 GMT (envelope-from nobody) Message-Id: <201112192325.pBJNPCUJ044457@red.freebsd.org> Date: Mon, 19 Dec 2011 23:25:12 GMT From: Eugene Varnavsky To: freebsd-gnats-submit@FreeBSD.org Subject: Invalid compiler flag in /sys/conf/kern.mk X-Send-Pr-Version: www-3.1 X-GNATS-Notify: >Number: 163464 >Category: kern >Synopsis: Invalid compiler flag in /sys/conf/kern.mk >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Dec 19 23:30:12 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Eugene Varnavsky >Release: 8.2 >Organization: >Environment: 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 18:45:57 UTC 2011 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: /sys/conf/kern.mk: CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \ -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \ ${_wundef} ${_Wno_pointer_sign} -fformat-extensions -fformat-extensions parameter is invalid, does not present in GCC 4.2 docs and is not accepted (with error) by GCC 4.6 >How-To-Repeat: Install custom GCC as described in handbook: http://www.freebsd.org/doc/en/articles/custom-gcc/article.html try to compile one of the ports that uses kernel sources: # cd /usr/ports/emulators/open-vm-tools # make >Fix: Remove the '-fformat-extensions' from string 15 of /sys/conf/kern.mk >Release-Note: >Audit-Trail: >Unformatted: