buildkernel warnings

Kris Kennaway kris at obsecurity.org
Mon Feb 28 07:12:09 GMT 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050227/39ffa706/attachment.bin


More information about the freebsd-current mailing list