From owner-freebsd-sparc Wed Nov 6 3: 2: 5 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7984C37B406 for ; Wed, 6 Nov 2002 03:02:04 -0800 (PST) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F70C43E4A for ; Wed, 6 Nov 2002 03:02:04 -0800 (PST) (envelope-from mux@freebsd.org) Received: by elvis.mu.org (Postfix, from userid 1920) id 1E06AAE361; Wed, 6 Nov 2002 03:02:04 -0800 (PST) Date: Wed, 6 Nov 2002 03:02:04 -0800 From: Maxime Henrion To: Bri Cc: freebsd-sparc@freebsd.org Subject: Re: Compiling Kernel from todays sources Message-ID: <20021106110203.GL26605@elvis.mu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Bri wrote: > when doing a make -DNO_WERROR in my compile directory I get error compiling > ../../../ddb/db_examine.c > > /arch/sparc64/hosted/bin/gcc -c -O -pipe -Wall -Wredundant-decls -Wnested-e > xterns -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -W > cast-qual -ansi -g -nostdinc -I- -I. -I../../.. -I../../../dev -I../../../ > contrib/dev/acpica -I../../../contrib/ipfilter -D_KERNEL -include > opt_global.h -mcmodel=medlow -msoft-float -fno-common -ffreestanding -Werro > r ../../../ddb/db_examine.c > cc1: warnings being treated as errors > ../../../ddb/db_examine.c: In function `db_examine': > ../../../ddb/db_examine.c:132: warning: unknown conversion type character > `y' in format > ../../../ddb/db_examine.c:132: warning: too many arguments for format > ../../../ddb/db_examine.c: In function `db_print_cmd': > ../../../ddb/db_examine.c:216: warning: unknown conversion type character > `y' in format > ../../../ddb/db_examine.c:216: warning: too many arguments for format > *** Error code 1 Please use the recommended upgrade procedure. You need to do a make world first, in order to recompile gcc. Also, this has been explained in cvs-all@FreeBSD, in reply to the commit that caused this. You should probably read commit logs if you're running -CURRENT. Finally, make -DNO_WERROR is no longer the way to remove -Werror (as you may have noticed since your command line still use the -Werror flag thus causing the build to fail), you have to use make WERROR=. Maxime To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message