From owner-freebsd-current@FreeBSD.ORG Wed May 16 20:06:09 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 12E7316A402 for ; Wed, 16 May 2007 20:06:09 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.67.217]) by mx1.freebsd.org (Postfix) with ESMTP id CA6D113C459 for ; Wed, 16 May 2007 20:06:08 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: by mail.0x20.net (Postfix, from userid 1002) id 1862E39DE5; Wed, 16 May 2007 22:06:08 +0200 (CEST) Date: Wed, 16 May 2007 22:06:07 +0200 From: Lars Engels To: Claus Guttesen Message-ID: <20070516200607.GJ94292@e.0x20.net> References: <20070516194857.GI94292@e.0x20.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IU5/I01NYhRvwH70" Content-Disposition: inline In-Reply-To: X-Editor: VIM - Vi IMproved 7.0 X-Operation-System: FreeBSD 5.5-RELEASE User-Agent: Mutt/1.5.11 Cc: current@freebsd.org Subject: Re: kernel build error (zlib.ko) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 May 2007 20:06:09 -0000 --IU5/I01NYhRvwH70 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 16, 2007 at 10:03:54PM +0200, Claus Guttesen wrote: > >With today's sources I get an error while compiling the kernel: > > > >=3D=3D=3D> zlib (all) > >cc -O2 -fno-strict-aliasing -pipe -march=3Dpentium-m -Werror -D_KERNEL > >-DKLD_MODULE -std=3Dc99 -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS > >-include /usr/obj/usr/src/sys/MAGGIE/opt_global.h -I. -I@ > >-I@/contrib/altq -finline-limit=3D8000 --param inline-unit-growth=3D100 > >--param large-function-growth=3D1000 -fno-common -g > >-I/usr/obj/usr/src/sys/MAGGIE -mno-align-long-strings > >-mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 > >-mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs > >-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > >-Wcast-qual -Wundef -fformat-extensions -c > >/usr/src/sys/modules/zlib/../../net/zlib.c > >ld -d -warn-common -r -d -o zlib.kld zlib.o > >:> export_syms > >awk -f /usr/src/sys/modules/zlib/../../conf/kmod_syms.awk zlib.kld > >export_syms | xargs -J% objcopy % zlib.kld > >ld -Bshareable -d -warn-common -o zlib.ko.debug zlib.kld > >objcopy --only-keep-debug zlib.ko.debug zlib.ko.symbols > >objcopy --strip-debug --add-gnu-debuglink=3Dzlib.ko.symbols zlib.ko.debug > >zlib.ko > >1 error > >*** Error code 2 > >1 error > >*** Error code 2 > >1 error > > > > > >Any ideas what could be the cause? >=20 > Do you happen to have >=20 > options INVARIANTS > #options INVARIANT_SUPPORT >=20 > in your kernel-config where the second line is commented out? > No, I have both options in the kernel config. > --=20 > regards > Claus >=20 > When lenity and cruelty play for a kingdom, > the gentlest gamester is the soonest winner. >=20 > Shakespeare. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >=20 --=20 Lars Engels E-Mail: lars.engels@0x20.net =09 Mobil: +49 172 266 72 73 --IU5/I01NYhRvwH70 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGS2QvKc512sD3afgRAl6UAKC4cSyHII7Y3jhfQtMKc24J/xlXtwCfV67X IpfZyWXtTB+zBef11YubDaQ= =1230 -----END PGP SIGNATURE----- --IU5/I01NYhRvwH70--