Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Feb 2005 10:50:15 +0300
From:      Vladimir Grebenschikov <vova@fbsd.ru>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        "current@freebsd.org" <current@freebsd.org>
Subject:   Re: buildkernel warnings
Message-ID:  <1109577015.7823.8.camel@localhost>
In-Reply-To: <20050228071207.GA58717@xor.obsecurity.org>
References:  <1109542560.2370.14.camel@localhost> <20050228071207.GA58717@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
=F7 =D7=D3, 27/02/2005 =D7 23:12 -0800, Kris Kennaway =D0=C9=DB=C5=D4:
>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-protot=
ypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-e=
xtensions -std=3Dc99 -g -nostdinc -I-  -I. -I/usr/src/sys -I/usr/src/sys/co=
ntrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilte=
r -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/c=
ontrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_=
global.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?

I have found the reason, it was in kernel configuration=20
makeoptions     CONF_CFLAGS=3D"-O -mcpu=3Dpentiumpro"

sorry=20

>Kris
--=20
Vladimir B. Grebenchikov
vova@fbsd.ru



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