From owner-freebsd-current@FreeBSD.ORG Thu Oct 23 03:38:55 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 09B0C16A4B3 for ; Thu, 23 Oct 2003 03:38:55 -0700 (PDT) Received: from vbook.fbsd.ru (asplinux.ru [195.133.213.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2F5243F3F for ; Thu, 23 Oct 2003 03:38:53 -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 1ACcuk-0000G8-Ud; Thu, 23 Oct 2003 14:41:59 +0400 From: "Vladimir B. Grebenschikov" To: Doug White In-Reply-To: <20031022151112.M71676@carver.gumbysoft.com> References: <1066806474.959.18.camel@localhost> <20031022151112.M71676@carver.gumbysoft.com> Content-Type: text/plain; charset=koi8-r Organization: SWsoft Inc. Message-Id: <1066905716.829.3.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 23 Oct 2003 14:41:58 +0400 Content-Transfer-Encoding: quoted-printable cc: "current@freebsd.org" 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 10:38:55 -0000 =F7 =DE=D4, 23.10.2003, =D7 02:13, Doug White =D0=C9=DB=C5=D4: > On Wed, 22 Oct 2003, Vladimir B. Grebenschikov wrote: >=20 > > > > While build kernel on RELENG_4 machine I have following warnings (they > > prevent success build unless -Werror disabled) >=20 > Is there some reason you're trying to compile RELENG_4 with gcc 3.3, whic= h > won't work? I am trying to compile -CURRENT code on RELENG_4 machine, with native RELENG_4 gcc: % gcc -v Using builtin specs. gcc version 2.95.4 20020320 [FreeBSD] % which gcc /usr/bin/gcc % pkg_glob gcc\* % > > /ext/current/src# make -j8 buildkernel > > ... > > /ext/current/src/sys/kern/kern_descrip.c:1914: warning: inlining failed > > in call to `_fgetvp' >=20 > > makeoptions CONF_CFLAGS=3D"-O3 -mcpu=3Dpentiumpro" >=20 > This is an unsupported option. Do not compile the kernel with any > optimization beyond -O. This might be the other reason why you are > getting these inlining warnings. Ok, But it works for me from 5.0 branching (or about). > gcc -v? 2.95.4 20020320 [FreeBSD] --=20 Vladimir B. Grebenschikov SWsoft Inc.