From owner-freebsd-current@FreeBSD.ORG Wed Sep 12 23:43:21 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 1413C16A417 for ; Wed, 12 Sep 2007 23:43:21 +0000 (UTC) (envelope-from obrien@NUXI.org) Received: from dragon.nuxi.org (trang.nuxi.org [74.95.12.85]) by mx1.freebsd.org (Postfix) with ESMTP id CFEED13C467 for ; Wed, 12 Sep 2007 23:43:20 +0000 (UTC) (envelope-from obrien@NUXI.org) Received: from dragon.nuxi.org (obrien@localhost [127.0.0.1]) by dragon.nuxi.org (8.14.1/8.14.1) with ESMTP id l8CNCngY084569; Wed, 12 Sep 2007 16:12:49 -0700 (PDT) (envelope-from obrien@dragon.nuxi.org) Received: (from obrien@localhost) by dragon.nuxi.org (8.14.1/8.14.1/Submit) id l8CNCnEf084568; Wed, 12 Sep 2007 16:12:49 -0700 (PDT) (envelope-from obrien) Date: Wed, 12 Sep 2007 16:12:49 -0700 From: "David O'Brien" To: Brooks Talley Message-ID: <20070912231249.GC75569@dragon.NUXI.org> Mail-Followup-To: freebsd-current@freebsd.org, Brooks Talley References: <7248470.49881189559919625.JavaMail.root@zmail.illuminati.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7248470.49881189559919625.JavaMail.root@zmail.illuminati.org> X-Operating-System: FreeBSD 7.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 User-Agent: Mutt/1.5.11 Cc: freebsd-current Subject: Re: Compiling with gcc42 / reverting to CC X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-current@freebsd.org 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 23:43:21 -0000 On Tue, Sep 11, 2007 at 06:18:39PM -0700, Brooks Talley wrote: > 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. Now sure what you mean by "configured the box to use GCC42". What does '/usr/bin/cc -v' say? If 3.4.*, you can build with 'make -DWITH_GCC3'. -- -- David (obrien@FreeBSD.org) Q: Because it reverses the logical flow of conversation. A: Why is top-posting (putting a reply at the top of the message) frowned upon? Let's not play "Jeopardy-style quoting"