From owner-freebsd-current@FreeBSD.ORG Sun Apr 28 02:26:44 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DC3E43F2 for ; Sun, 28 Apr 2013 02:26:44 +0000 (UTC) (envelope-from prvs=18303b5217=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 6C9FE1451 for ; Sun, 28 Apr 2013 02:26:44 +0000 (UTC) Received: from r2d2 ([46.65.172.4]) by mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (MDaemon PRO v10.0.4) with ESMTP id md50003518524.msg for ; Sun, 28 Apr 2013 03:26:42 +0100 X-Spam-Processed: mail1.multiplay.co.uk, Sun, 28 Apr 2013 03:26:42 +0100 (not processed: message from valid local sender) X-MDDKIM-Result: neutral (mail1.multiplay.co.uk) X-MDRemoteIP: 46.65.172.4 X-Return-Path: prvs=18303b5217=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-current@freebsd.org Message-ID: <69F30EA9CDE34DA9B1D3F031D8B404BB@multiplay.co.uk> From: "Steven Hartland" To: "AN" References: Subject: Re: buildkernel fails in zlib (all) Date: Sun, 28 Apr 2013 03:27:12 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sun, 28 Apr 2013 02:26:44 -0000 ----- Original Message ----- From: "AN" To: "Steven Hartland" Cc: Sent: Sunday, April 28, 2013 3:20 AM Subject: Re: buildkernel fails in zlib (all) > > > On Sun, 28 Apr 2013, Steven Hartland wrote: > >> >> ----- Original Message ----- From: "AN" >> To: >> Sent: Sunday, April 28, 2013 3:09 AM >> Subject: buildkernel fails in zlib (all) >> >> >>> FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #62 r249867: Wed Apr 24 >>> 21:53:34 CDT 2013 root@FBSD10:/usr/obj/usr/src/sys/MYKERNEL amd64 >>> >>> Trying to buildkernel at: >>> # svn info >>> Path: . >>> Working Copy Root Path: /usr/src >>> URL: svn://svn.freebsd.org/base/head >>> Repository Root: svn://svn.freebsd.org/base >>> Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f >>> Revision: 250001 >>> Node Kind: directory >>> Schedule: normal >>> Last Changed Author: wkoszek >>> Last Changed Rev: 250001 >>> Last Changed Date: 2013-04-27 18:59:15 -0500 (Sat, 27 Apr 2013) >>> >>> fails with: >>> >>> ===> zlib (all) >>> cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc >>> -DHAVE_KERNEL_OPTION_HEADERS -include >>> /usr/obj/usr/src/sys/MYKERNEL/opt_global.h -I. -I@ -I@/contrib/altq >>> -fno-common -fno-omit-frame-pointer -I/usr/obj/usr/src/sys/MYKERNEL >>> -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse >>> -msoft-float -fno-asynchronous-unwind-tables -ffreestanding >>> -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector >>> -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes >>> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef >>> -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs >>> -fdiagnostics-show-option -Wno-error-tautological-compare >>> -Wno-error-empty-body -Wno-error-parentheses-equality -c >>> /usr/src/sys/modules/zlib/../../net/zlib.c >>> ld -d -warn-common -r -d -o zlib.ko zlib.o >>> :> export_syms >>> awk -f /usr/src/sys/conf/kmod_syms.awk zlib.ko export_syms | xargs -J% >>> objcopy % zlib.ko >>> objcopy --strip-debug zlib.ko >>> 1 error >>> *** [buildkernel] Error code 2 >>> 1 error >>> *** [buildkernel] Error code 2 >>> 1 error >>> >>> >>> Is anyone else seeing this? >> >> Are you building with a -jXX option to make as I don't see the source >> of the error in your output there, so I suspect its actually failing >> earlier elsewhere but that's what your seeing from because multiple >> compiles are being actioned by make. >> >> Regards >> Steve >> > > Hi Steve: > > Yes, I'm using time make -j6 buildkernel KERNCONF=MYKERNEL. > > How can I find out where it's failing? Should I post full output? Easy way to re-run the make like this:- make -DNO_CLEAN buildkernel KERNCONF=MYKERNEL This will continue your build without cleaning first, which will mean it should fail pretty quickly and you'll get the real error. Regards Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.