From owner-freebsd-current@FreeBSD.ORG Mon Feb 28 07:08:38 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 CDB4716A4CE; Mon, 28 Feb 2005 07:08:38 +0000 (GMT) Received: from vbook.fbsd.ru (asplinux.ru [195.133.213.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9141543D4C; Mon, 28 Feb 2005 07:08:37 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.44 (FreeBSD)) id 1D5Whl-000ARR-H5; Mon, 28 Feb 2005 01:16:01 +0300 From: Vladimir Grebenschikov To: "current@freebsd.org" Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: SWsoft Date: Mon, 28 Feb 2005 01:16:00 +0300 Message-Id: <1109542560.2370.14.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.1.5 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Subject: buildkernel warnings X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: vova@fbsd.ru 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:08:38 -0000 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. % fgrep -r mcpu /usr/share/mk /usr/share/mk/bsd.cpu.mk:_CPUCFLAGS = -mcpu=ev4 -mtune=ev5 /usr/share/mk/bsd.cpu.mk:_CPUCFLAGS = -mcpu=${CPUTYPE} /usr/share/mk/bsd.cpu.mk:#XXX: gcc doesn't seem to like -mcpu=xscale, and dies while rebuilding itself /usr/share/mk/bsd.cpu.mk:#_CPUCFLAGS = -mcpu=xscale /usr/share/mk/bsd.cpu.mk:_CPUCFLAGS = -mcpu=${CPUTYPE} % fgrep CPU /sys/i386/conf/VBOOK cpu "I686_CPU" # aka Pentium Pro(tm) % Is it ok for modern builds ? -- Vladimir B. Grebenchikov vova@fbsd.ru