Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Feb 2005 23:12:07 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Vladimir Grebenschikov <vova@fbsd.ru>
Cc:        "current@freebsd.org" <current@freebsd.org>
Subject:   Re: buildkernel warnings
Message-ID:  <20050228071207.GA58717@xor.obsecurity.org>
In-Reply-To: <1109542560.2370.14.camel@localhost>
References:  <1109542560.2370.14.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Mon, Feb 28, 2005 at 01:16:00AM +0300, Vladimir Grebenschikov wrote:
> 
> While building 6-CURRENT kernel with 'make buildkernel' I has a lot of
> warnings like:
> 
> cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I. -I/usr/src/sys -I/usr/src/sys/contrib/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/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -O -mcpu=pentiumpro -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror  vers.c
> `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.

Do you have -mcpu set in COPTFLAGS?

Kris

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCIsRHWry0BWjoQKURAqpCAJoDmJ4kHpyfeAfeKDmMMZsv4UH+6wCgoV7O
j5EKmhpjBkHJwJ2C5d0Ulkg=
=kK1o
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050228071207.GA58717>