From owner-freebsd-current Wed May 15 15:28:44 2002 Delivered-To: freebsd-current@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 45E5937B406 for ; Wed, 15 May 2002 15:28:37 -0700 (PDT) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.3/8.12.2) with ESMTP id g4FMSafg021470; Wed, 15 May 2002 15:28:36 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.3/8.12.3/Submit) id g4FMSaIE021469; Wed, 15 May 2002 15:28:36 -0700 (PDT) Date: Wed, 15 May 2002 15:28:36 -0700 From: "David O'Brien" To: Jeff Ito Cc: current@freebsd.org Subject: Re: First kernel build with gcc-3.1 failure Message-ID: <20020515152836.A21436@dragon.nuxi.com> Reply-To: obrien@freebsd.org Mail-Followup-To: David O'Brien , Jeff Ito , current@freebsd.org References: <001e01c1fc44$e6e81670$f200a8c0@glasshouse> <20020515151547.A15852@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020515151547.A15852@dragon.nuxi.com>; from obrien@freebsd.org on Wed, May 15, 2002 at 03:15:47PM -0700 X-Operating-System: FreeBSD 5.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 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, May 15, 2002 at 03:15:47PM -0700, David O'Brien wrote: > On Wed, May 15, 2002 at 03:15:39PM -0400, Jeff Ito wrote: > > I had a -current system with the old version of gcc, and build world/kernel > > that contained gcc-3.1: > ... > > cc1: warnings being treated as errors > > /usr/src/sys/ddb/db_command.c: In function `db_fncall': > > /usr/src/sys/ddb/db_command.c:549: warning: unknown conversion type > > character `r' in format > > /usr/src/sys/ddb/db_command.c:549: warning: too many arguments for format > > *** Error code 1 > > THIS IS AN FAQ. > > > insight? > > 1. You don't pay attention to the output of config(8). Go run it and > read it this time. The verbiage is there for your benefit. > 2. You don't read this mailing list (current@freebsd.org). Go read your > archives or your favorite web mailing list archiver. Opps, left out 3. more /usr/src/UPDATING ... 20020225: Warnings are now errors in the kernel. Unless you are a developer, you should add -DNO_WERROR to your make line. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message