From owner-freebsd-stable@FreeBSD.ORG Wed Nov 10 05:07:39 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73ABC106564A for ; Wed, 10 Nov 2010 05:07:39 +0000 (UTC) (envelope-from bryce@bryce.net) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 16E2B8FC0C for ; Wed, 10 Nov 2010 05:07:38 +0000 (UTC) Received: by wya21 with SMTP id 21so350112wya.13 for ; Tue, 09 Nov 2010 21:07:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.255.148 with SMTP id j20mr7821127wes.11.1289365657644; Tue, 09 Nov 2010 21:07:37 -0800 (PST) Received: by 10.216.172.209 with HTTP; Tue, 9 Nov 2010 21:07:37 -0800 (PST) In-Reply-To: <4CDA27D6.7040605@DataIX.net> References: <4CDA27D6.7040605@DataIX.net> Date: Tue, 9 Nov 2010 23:07:37 -0600 Message-ID: From: Bryce Edwards To: jhell Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org Subject: Re: 8-STABLE buildworld failure X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2010 05:07:39 -0000 On Tue, Nov 9, 2010 at 11:04 PM, jhell wrote: > On 11/09/2010 19:09, Bryce Edwards wrote: >> After updating source today, I am receiving the following error when >> running make NOCCACHE=3DYES -j16 buildkernel >> >> >> =3D=3D=3D> zlib (all) >> cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE >> -nostdinc =A0 -DHAVE_KERNEL_OPTION_HEADERS -include >> /usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq >> -finline-limit=3D8000 --param inline-unit-growth=3D100 --param >> large-function-growth=3D1000 -fno-common -g -fno-omit-frame-pointer >> -I/usr/obj/usr/src/sys/GENERIC -mcmodel=3Dkernel -mno-red-zone >> -mfpmath=3D387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow >> -msoft-float -fno-asynchronous-unwind-tables -ffreestanding >> -fstack-protector -std=3Diso9899:1999 -fstack-protector -Wall >> -Wredundant-decls -Wnested-externs -Wstrict-prototypes >> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual =A0-Wundef >> -Wno-pointer-sign -fformat-extensions -c >> /usr/src/sys/modules/zlib/../../net/zlib.c >> ld =A0-d -warn-common -r -d -o zlib.ko.debug zlib.o >> :> export_syms >> awk -f /usr/src/sys/conf/kmod_syms.awk zlib.ko.debug =A0export_syms | >> xargs -J% objcopy % zlib.ko.debug >> objcopy --only-keep-debug zlib.ko.debug zlib.ko.symbols >> objcopy --strip-debug --add-gnu-debuglink=3Dzlib.ko.symbols zlib.ko.debu= g zlib.ko >> 1 error >> *** Error code 2 >> 1 error >> *** Error code 2 >> >> Here's make.conf: >> >> SUP_UPDATE=3Dyes >> SUPFILE=3D/usr/share/examples/cvsup/stable-supfile >> PORTSSUPFILE=3D/usr/share/examples/cvsup/ports-supfile >> SUPHOST=3Dcvsup5.us.freebsd.org >> >> #WITHOUT_X11=3Dyes >> >> PORTS_MODULES=3Demulators/virtualbox-ose-kmod >> >> # ccache >> .if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*)) && >> !defined(NOCCACHE) >> #CC=3D/usr/local/libexec/ccache/world-cc >> #CXX=3D/usr/local/libexec/ccache/world-c++ >> .endif >> >> # added by use.perl 2010-11-09 09:32:27 >> PERL_VERSION=3D5.10.1 >> >> And src.conf: >> >> WITHOUT_PROFILE=3Dtrue =A0 =A0# Avoid compiling profiled libraries > > This is a log from a buildkernel and not like the subject insists as a > buildworld. Can you please rebuild world and then try a buildkernel > > cd /usr/src > make -DNOCCACHE -DALWAYS_CHECK_MAKE buildworld > make -DNOCCACHE -DALWAYS_CHECK_MAKE buildkernel > make -DNOCCACHE -DALWAYS_CHECK_MAKE installkernel > > Reboot & then: > cd /usr/src > make -DNOCCACHE installworld > make -DNOCCACHE delete-old > make -DNOCCACHE delete-old-libs > My apologies! The subject is wrong and it was during the buildkernel. The buildworld was done just prior just like your example and completed OK. The only difference is that I did not define ALWAYS_CHECK_MAKE. > > You may also want to adjust that example ccache make.conf example > sometime too as that will not always do what you expect it to do. > > -- > > =A0jhell,v >