From owner-freebsd-current@FreeBSD.ORG Wed Sep 12 01:18:52 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BE6616A418 for ; Wed, 12 Sep 2007 01:18:52 +0000 (UTC) (envelope-from brooks@illuminati.org) Received: from zmail.illuminati.org (mail.illuminati.org [70.42.141.33]) by mx1.freebsd.org (Postfix) with ESMTP id 54C5813C480 for ; Wed, 12 Sep 2007 01:18:52 +0000 (UTC) (envelope-from brooks@illuminati.org) Received: from localhost (localhost.localdomain [127.0.0.1]) by zmail.illuminati.org (Postfix) with ESMTP id C2DFB16C86E0 for ; Tue, 11 Sep 2007 18:18:51 -0700 (PDT) X-Virus-Scanned: amavisd-new at X-Spam-Score: -4.396 X-Spam-Level: X-Spam-Status: No, score=-4.396 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1.8, AWL=0.002, BAYES_00=-2.599] Received: from zmail.illuminati.org ([127.0.0.1]) by localhost (zmail.illuminati.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0CNKSFwv0lzl for ; Tue, 11 Sep 2007 18:18:39 -0700 (PDT) Received: from zmail.illuminati.org (zmail.illuminati.org [10.32.1.33]) by zmail.illuminati.org (Postfix) with ESMTP id 9E5D116C86DE for ; Tue, 11 Sep 2007 18:18:39 -0700 (PDT) Date: Tue, 11 Sep 2007 18:18:39 -0700 (PDT) From: Brooks Talley To: freebsd-current Message-ID: <7248470.49881189559919625.JavaMail.root@zmail.illuminati.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [67.168.65.79] Subject: Compiling with gcc42 / reverting to CC X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Sep 2007 01:18:52 -0000 Hi, everyone. A bit of a newb question here. I have a 7.0-current box that's been updated to the latest HEAD, and I need to rebuild the kernel. However, someone has helpfully configured the box to use GCC42 for make, and that's failing because 1) kern.mk has a CWARNFLAGS definition that GCC42 hates (-fformat-extensions), and 2) __FreeBSD_cc_version is not defined. Can someone(s) please tell me how to either get 7.0-current compiled on GCC42, or get make buildkernel to use good old CC? Thanks -Brooks