Can't build kernel without overriding -Werror

From: Vladimir B. Grebenschikov <vova_at_sw.ru>
Date: Mon, 06 Oct 2003 17:38:35 +0400
Anybody expecting this:

/usr/src# make buildkernel
...
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I
17:33:15 [----] flashone:
. -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 -fno-common -finline-limit=15000 -fno-strict-aliasing -O3
-mcpu=pentiumpro -mno-align-long-strings -mpreferred-stack-boundary=2
-ffreestanding -Werror  /ext/current/src/sys/kern/kern_descrip.c
/ext/current/src/sys/kern/kern_descrip.c:1894: warning: inlining failed
in call to `_fgetvp'
/ext/current/src/sys/kern/kern_descrip.c:1915: warning: called from here
/ext/current/src/sys/kern/kern_descrip.c:1894: warning: inlining failed
in call to `_fgetvp'
/ext/current/src/sys/kern/kern_descrip.c:1922: warning: called from here
/ext/current/src/sys/kern/kern_descrip.c:1894: warning: inlining failed
in call to `_fgetvp'
/ext/current/src/sys/kern/kern_descrip.c:1929: warning: called from here
*** 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.

/usr/src#

Suggestions ?

-- 
Vladimir B. Grebenschikov <vova_at_sw.ru>
SWsoft Inc.
Received on Mon Oct 06 2003 - 04:37:38 UTC

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