svn commit: r204552 - in head/sys: conf kern net sys

Alexander Best alexbestms at wwu.de
Thu Mar 4 19:26:32 UTC 2010


hi there,

has "device gzio" now become a mandatory kernel option? if it has or if
existing options now require "device gzio" it would be nice if you could
document this (NOTES or/and UPDATING), because i don't have
"options COMPRESS_USER_CORES" in my kernel conf, however when trying to
compile a kernel without "device gzio" i'm getting:

...

cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=native -std=c99
-O0 -pipe -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys
-I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100
--param large-function-growth=1000  -fno-omit-frame-pointer -mcmodel=kernel
-mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow
-msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
vnode_if.c
:> hack.c
cc -shared -nostdlib hack.c -o hack.So
rm -f hack.c
MAKE=make sh /usr/src/sys/conf/newvers.sh ARUNDEL
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=native -std=c99
-O0 -pipe -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys
-I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100
--param large-function-growth=1000  -fno-omit-frame-pointer -mcmodel=kernel
-mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow
-msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
vers.c
linking kernel.debug
imgact_elf.o(.text+0x2509): In function `elf64_coredump':
/usr/src/sys/kern/imgact_elf.c:1143: undefined reference to `gzclose'
imgact_elf32.o(.text+0x22a0): In function `elf32_coredump':
/usr/src/sys/kern/imgact_elf.c:1143: undefined reference to `gzclose'
*** Error code 1

Stop in /usr/obj/usr/src/sys/ARUNDEL.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

here's my kernel conf: http://pastebin.com/1p3VsCPm

cheers.
alex


More information about the svn-src-all mailing list