From owner-freebsd-current@FreeBSD.ORG Wed May 16 21:03:29 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 9BB1816A400 for ; Wed, 16 May 2007 21:03:29 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from noop.in-addr.com (noop.in-addr.com [208.58.23.51]) by mx1.freebsd.org (Postfix) with ESMTP id 6E97813C4BC for ; Wed, 16 May 2007 21:03:29 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from gjp by noop.in-addr.com with local (Exim 4.54 (FreeBSD)) id 1HoQT3-000427-1l; Wed, 16 May 2007 16:51:29 -0400 From: Gary Palmer To: Lars Engels Message-ID: <20070516205128.GD28958@in-addr.com> Mail-Followup-To: Lars Engels , current@freebsd.org References: <20070516194857.GI94292@e.0x20.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <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: , Date: Wed, 16 May 2007 21:03:29 -0000 X-Original-Date: Wed, 16 May 2007 16:51:28 -0400 X-List-Received-Date: Wed, 16 May 2007 21:03:29 -0000 On Wed, May 16, 2007 at 09:48:57PM +0200, Lars Engels wrote: > 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? Are you using a parallel compile? If so, the error message is earlier in the compile process somewhere. I certainly don't see any error message in the above snippet. Try again without the parallel compile.