Can't build kernel without overriding -Werror

Vladimir B. Grebenschikov vova at sw.ru
Mon Oct 6 06:37:39 PDT 2003


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.



More information about the freebsd-current mailing list