Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Mar 2010 11:54:05 -0800
From:      Alfred Perlstein <alfred@freebsd.org>
To:        Alexander Best <alexbestms@wwu.de>
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:  <20100304195405.GG55658@elvis.mu.org>
In-Reply-To: <permail-201003041926291e86ffa80000680a-a_best01@message-id.uni-muenster.de>
References:  <permail-201003041926291e86ffa80000680a-a_best01@message-id.uni-muenster.de>

next in thread | previous in thread | raw e-mail | index | archive | help
I'm not sure how this happened, I tried compiling kernels with and without
this option and was OK.

There may have been something I overlooked or a last minute mistake.

I am looking at this now.

-Alfred

* Alexander Best <alexbestms@wwu.de> [100304 11:26] wrote:
> 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

-- 
- Alfred Perlstein
.- AMA, VMOA #5191, 03 vmax, 92 gs500, 85 ch250
.- FreeBSD committer



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100304195405.GG55658>