From owner-freebsd-current@FreeBSD.ORG Thu Oct 23 14:06:01 2003 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 638F016A4DF; Thu, 23 Oct 2003 14:06:01 -0700 (PDT) Received: from vbook.fbsd.ru (asplinux.ru [195.133.213.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D92E43F75; Thu, 23 Oct 2003 14:06:00 -0700 (PDT) (envelope-from vova@sw.ru) Received: from localhost ([127.0.0.1]) by vbook.fbsd.ru with esmtp (Exim 4.24; FreeBSD 5.1) id 1ACknA-000F1J-8C; Thu, 23 Oct 2003 23:06:40 +0400 From: "Vladimir B. Grebenschikov" To: "current@freebsd.org" In-Reply-To: <20031023183340.GA72589@dragon.nuxi.com> References: <1066806474.959.18.camel@localhost> <20031022151112.M71676@carver.gumbysoft.com> <20031023183340.GA72589@dragon.nuxi.com> Content-Type: text/plain; charset=KOI8-R Organization: SWsoft Inc. Message-Id: <1066935992.945.20.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 23 Oct 2003 23:06:38 +0400 Content-Transfer-Encoding: quoted-printable Subject: Re: warnings while kernel build 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: Thu, 23 Oct 2003 21:06:01 -0000 =F7 =DE=D4, 23.10.2003, =D7 22:33, David O'Brien =D0=C9=DB=C5=D4: > On Thu, Oct 23, 2003 at 02:41:58PM +0400, Vladimir B. Grebenschikov wrote= : > > ? ??, 23.10.2003, ? 02:13, Doug White ?????: > > > On Wed, 22 Oct 2003, Vladimir B. Grebenschikov wrote: > > >=20 > > > > > > > > While build kernel on RELENG_4 machine I have following warnings (t= hey > > > > prevent success build unless -Werror disabled) > > >=20 > > > Is there some reason you're trying to compile RELENG_4 with gcc 3.3, = which > > > won't work? > >=20 > > I am trying to compile -CURRENT code on RELENG_4 machine, with native > > RELENG_4 gcc: > >=20 > > % gcc -v > > Using builtin specs. > > gcc version 2.95.4 20020320 [FreeBSD] > > % which gcc > > /usr/bin/gcc >=20 > Install the GCC 3.3 port on your 4.x system and use "CC=3Dgcc33 make" whe= n > building the 5-CURRENT kernel sources. Looks like bad idea, with native gcc I can simple ignore warnings, but with gcc33 it fails on depend stage: # env CC=3D/usr/local/bin/gcc33 make KERNCONF=3DVBOOK buildkernel | & tee ~/build.report33 ... if [ -f .depend ]; then mv .depend .olddep; fi /usr/obj/ext/current/src/make.i386/make _kernel-depend /usr/local/bin/gcc33 -c -O -pipe -mcpu=3Dpentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=3Dc99 -g -nostdinc -I- -I. -I/ext/current/src/sys -I/ext/current/src/sys/contrib/dev/acpica -I/ext/current/src/sys/contrib/ipfilter -I/ext/current/src/sys/contrib/dev/ath -I/ext/current/src/sys/contrib/dev/ath/freebsd -D_KERNEL -include opt_global.h -finline-limit=3D15000 -fno-strict-aliasing -O -mcpu=3Dpentiumpro -mno-align-long-strings -mpreferred-stack-boundary=3D2 -ffreestanding -Wno-inline /ext/current/src/sys/i386/i386/genassym.c cc1: error: invalid option `no-align-long-strings' *** Error code 1 Stop in /usr/obj/ext/current/src/sys/VBOOK. *** Error code 1 Stop in /usr/obj/ext/current/src/sys/VBOOK. *** Error code 1 Stop in /ext/current/src. *** Error code 1 Stop in /ext/current/src. # --=20 Vladimir B. Grebenschikov SWsoft Inc.