From owner-freebsd-current@FreeBSD.ORG Wed May 16 20:03:57 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 3A9C216A406 for ; Wed, 16 May 2007 20:03:57 +0000 (UTC) (envelope-from kometen@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.228]) by mx1.freebsd.org (Postfix) with ESMTP id D069E13C44C for ; Wed, 16 May 2007 20:03:56 +0000 (UTC) (envelope-from kometen@gmail.com) Received: by nz-out-0506.google.com with SMTP id s1so750322nze for ; Wed, 16 May 2007 13:03:56 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hvEgME0t+dCgD6zgrLtLSwzts7X5nlOF0xUdlMbERfIVuUCljYoX4/vbuzYKOkwUZSq48OT94nKMkP1VzLN/76doT941ZGnYsGkT7KlVJgfEPMBxMLp5ZTbzzGxE2Vf/tZw8T2RPmA0/8rbKPtPq19zTF7O/Rxiqn02ichvpM1g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AUeyaYvMr5pSzFmDTJOGsWCw2T+W6FmOaValBvvU8i/uPjT9iQaRD3UOrGRh1BRkYK3eabP45wp6UT0ZrACwN5nu3BlGPU/E6XDPI9r38zbAzxtp9Yx3Snc+lXnNXwXM+qbygwFaaeWmhPkSE3lqB3CXMzVu/xBm6uiEtqGpWns= Received: by 10.114.157.1 with SMTP id f1mr2463319wae.1179345834684; Wed, 16 May 2007 13:03:54 -0700 (PDT) Received: by 10.114.194.12 with HTTP; Wed, 16 May 2007 13:03:54 -0700 (PDT) Message-ID: Date: Wed, 16 May 2007 22:03:54 +0200 From: "Claus Guttesen" To: "Lars Engels" In-Reply-To: <20070516194857.GI94292@e.0x20.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070516194857.GI94292@e.0x20.net> 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:03:57 -0000 > With today's sources I get an error while compiling the kernel: > > ===> zlib (all) > cc -O2 -fno-strict-aliasing -pipe -march=pentium-m -Werror -D_KERNEL > -DKLD_MODULE -std=c99 -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS > -include /usr/obj/usr/src/sys/MAGGIE/opt_global.h -I. -I@ > -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 > --param large-function-growth=1000 -fno-common -g > -I/usr/obj/usr/src/sys/MAGGIE -mno-align-long-strings > -mpreferred-stack-boundary=2 -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=zlib.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? Do you happen to have options INVARIANTS #options INVARIANT_SUPPORT in your kernel-config where the second line is commented out? -- regards Claus When lenity and cruelty play for a kingdom, the gentlest gamester is the soonest winner. Shakespeare.