From owner-freebsd-bugs@FreeBSD.ORG Mon Dec 19 23:30:13 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47947106566C for ; Mon, 19 Dec 2011 23:30:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0A1958FC12 for ; Mon, 19 Dec 2011 23:30:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBJNUCS7093819 for ; Mon, 19 Dec 2011 23:30:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBJNUC1Q093816; Mon, 19 Dec 2011 23:30:12 GMT (envelope-from gnats) Resent-Date: Mon, 19 Dec 2011 23:30:12 GMT Resent-Message-Id: <201112192330.pBJNUC1Q093816@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Eugene Varnavsky 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 X-Send-Pr-Version: www-3.1 Cc: Subject: kern/163464: Invalid compiler flag in /sys/conf/kern.mk X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 23:30:13 -0000 >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: