Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Mar 2010 20:26:29 +0100 (CET)
From:      Alexander Best <alexbestms@wwu.de>
To:        Alfred Perlstein <alfred@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org
Subject:   Re: svn commit: r204552 - in head/sys: conf kern net sys
Message-ID:  <permail-201003041926291e86ffa80000680a-a_best01@message-id.uni-muenster.de>

next in thread | raw e-mail | index | archive | help
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:

=2E..

cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=3Dnative -st=
d=3Dc99
-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=3D8000 --param inline-unit-growth=
=3D100
--param large-function-growth=3D1000  -fno-omit-frame-pointer -mcmodel=3Dke=
rnel
-mno-red-zone  -mfpmath=3D387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3d=
now
-msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protect=
or
vnode_if.c
:> hack.c
cc -shared -nostdlib hack.c -o hack.So
rm -f hack.c
MAKE=3Dmake sh /usr/src/sys/conf/newvers.sh ARUNDEL
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=3Dnative -st=
d=3Dc99
-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=3D8000 --param inline-unit-growth=
=3D100
--param large-function-growth=3D1000  -fno-omit-frame-pointer -mcmodel=3Dke=
rnel
-mno-red-zone  -mfpmath=3D387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3d=
now
-msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protect=
or
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?permail-201003041926291e86ffa80000680a-a_best01>