Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 2003 14:41:58 +0400
From:      "Vladimir B. Grebenschikov" <vova@sw.ru>
To:        Doug White <dwhite@gumbysoft.com>
Cc:        "current@freebsd.org" <current@freebsd.org>
Subject:   Re: warnings while kernel build
Message-ID:  <1066905716.829.3.camel@localhost>
In-Reply-To: <20031022151112.M71676@carver.gumbysoft.com>
References:  <1066806474.959.18.camel@localhost> <20031022151112.M71676@carver.gumbysoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
=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 <vova@sw.ru>
SWsoft Inc.



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