warnings while kernel build
Vladimir B. Grebenschikov
vova at sw.ru
Thu Oct 23 03:38:55 PDT 2003
В чт, 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.
More information about the freebsd-current
mailing list