Re: warnings while kernel build

From: Vladimir B. Grebenschikov <vova_at_sw.ru>
Date: Thu, 23 Oct 2003 14:41:58 +0400
В чт, 23.10.2003, в 02:13, Doug White пишет:
> On Wed, 22 Oct 2003, Vladimir B. Grebenschikov wrote:
> 
> >
> > While build kernel on RELENG_4 machine I have following warnings (they
> > prevent success build unless -Werror disabled)
> 
> Is there some reason you're trying to compile RELENG_4 with gcc 3.3, which
> 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'
> 
> > makeoptions	CONF_CFLAGS="-O3 -mcpu=pentiumpro"
> 
> 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]

-- 
Vladimir B. Grebenschikov <vova_at_sw.ru>
SWsoft Inc.
Received on Thu Oct 23 2003 - 01:38:55 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:26 UTC