From owner-freebsd-current@FreeBSD.ORG Mon Feb 28 07:12:09 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B26B016A4CE for ; Mon, 28 Feb 2005 07:12:09 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.199.47.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BCA343D41 for ; Mon, 28 Feb 2005 07:12:09 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id D43C952DC2; Sun, 27 Feb 2005 23:12:07 -0800 (PST) Date: Sun, 27 Feb 2005 23:12:07 -0800 From: Kris Kennaway To: Vladimir Grebenschikov Message-ID: <20050228071207.GA58717@xor.obsecurity.org> References: <1109542560.2370.14.camel@localhost> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gBBFr7Ir9EOA20Yy" Content-Disposition: inline In-Reply-To: <1109542560.2370.14.camel@localhost> User-Agent: Mutt/1.4.2.1i cc: "current@freebsd.org" Subject: Re: buildkernel warnings X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 28 Feb 2005 07:12:09 -0000 --gBBFr7Ir9EOA20Yy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 28, 2005 at 01:16:00AM +0300, Vladimir Grebenschikov wrote: >=20 > While building 6-CURRENT kernel with 'make buildkernel' I has a lot of > warnings like: >=20 > cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototy= pes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-ex= tensions -std=3Dc99 -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/con= trib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter= -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/co= ntrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_g= lobal.h -fno-common -finline-limit=3D8000 --param inline-unit-growth=3D100 = --param large-function-growth=3D1000 -O -mcpu=3Dpentiumpro -mno-align-long-= strings -mpreferred-stack-boundary=3D2 -ffreestanding -Werror vers.c > `-mcpu=3D' is deprecated. Use `-mtune=3D' or '-march=3D' instead. Do you have -mcpu set in COPTFLAGS? Kris --gBBFr7Ir9EOA20Yy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCIsRHWry0BWjoQKURAqpCAJoDmJ4kHpyfeAfeKDmMMZsv4UH+6wCgoV7O j5EKmhpjBkHJwJ2C5d0Ulkg= =kK1o -----END PGP SIGNATURE----- --gBBFr7Ir9EOA20Yy--