From owner-freebsd-stable@FreeBSD.ORG Wed Nov 10 05:15:57 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 9E7B3106566C for ; Wed, 10 Nov 2010 05:15:57 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4FC288FC17 for ; Wed, 10 Nov 2010 05:15:57 +0000 (UTC) Received: by gwj16 with SMTP id 16so128451gwj.13 for ; Tue, 09 Nov 2010 21:15:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :organization:user-agent:mime-version:to:cc:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=MhvpQGPL94W147yDZp/LwVWR8MMd0Z5pjoR5CeC7wmU=; b=Mlu13j80/Lywr1DPu/FpUHAaUUJmApQL5tKr2LTCcUIhFVfWdJD/ByMquhCWLO51Yt 9di3dMo63jhy5gJrJ6VBQmeB1LQiN8ZCOswifRYy4nHatXJT16lhu6KfKh1YGwlmI7sR cG0ZsjtQkX6WrNi8SVHL5vCxCWGTAcqBeqkow= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:organization:user-agent:mime-version:to :cc:subject:references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=bUKCBn7Z5VLBJ+rOnbcZ8qRI/krHJhf7uSk1K6jUESvbG46kaA1iUhEdYBrINvlZrN oJexJcAj4EvoP+oT3plYB5hRswkNF2/2qcnVfCEa0XrT1uFJZlxf9de8fXDSZjsLHKvi 2x3C6q4eXvIEMJr+MgAzi85Q4wUJM7ECW0t0c= Received: by 10.151.155.6 with SMTP id h6mr8462123ybo.59.1289366155348; Tue, 09 Nov 2010 21:15:55 -0800 (PST) Received: from centel.dataix.local (adsl-99-181-136-243.dsl.klmzmi.sbcglobal.net [99.181.136.243]) by mx.google.com with ESMTPS id n28sm227555yha.16.2010.11.09.21.15.53 (version=SSLv3 cipher=RC4-MD5); Tue, 09 Nov 2010 21:15:54 -0800 (PST) Sender: "J. Hellenthal" Message-ID: <4CDA2A88.6080708@DataIX.net> Date: Wed, 10 Nov 2010 00:15:52 -0500 From: jhell Organization: http://www.DataIX.net User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.12) Gecko/20101028 Lightning/1.0b1 Thunderbird MIME-Version: 1.0 To: Bryce Edwards References: <4CDA27D6.7040605@DataIX.net> In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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:15:57 -0000 On 11/10/2010 00:07, Bryce Edwards wrote: > 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=YES -j16 buildkernel >>> >>> >>> ===> zlib (all) >>> cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE >>> -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include >>> /usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq >>> -finline-limit=8000 --param inline-unit-growth=100 --param >>> large-function-growth=1000 -fno-common -g -fno-omit-frame-pointer >>> -I/usr/obj/usr/src/sys/GENERIC -mcmodel=kernel -mno-red-zone >>> -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow >>> -msoft-float -fno-asynchronous-unwind-tables -ffreestanding >>> -fstack-protector -std=iso9899:1999 -fstack-protector -Wall >>> -Wredundant-decls -Wnested-externs -Wstrict-prototypes >>> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef >>> -Wno-pointer-sign -fformat-extensions -c >>> /usr/src/sys/modules/zlib/../../net/zlib.c >>> ld -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 export_syms | >>> xargs -J% objcopy % zlib.ko.debug >>> 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 >>> >>> Here's make.conf: >>> >>> SUP_UPDATE=yes >>> SUPFILE=/usr/share/examples/cvsup/stable-supfile >>> PORTSSUPFILE=/usr/share/examples/cvsup/ports-supfile >>> SUPHOST=cvsup5.us.freebsd.org >>> >>> #WITHOUT_X11=yes >>> >>> PORTS_MODULES=emulators/virtualbox-ose-kmod >>> >>> # ccache >>> .if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*)) && >>> !defined(NOCCACHE) >>> #CC=/usr/local/libexec/ccache/world-cc >>> #CXX=/usr/local/libexec/ccache/world-c++ >>> .endif >>> >>> # added by use.perl 2010-11-09 09:32:27 >>> PERL_VERSION=5.10.1 >>> >>> And src.conf: >>> >>> WITHOUT_PROFILE=true # 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. > Also quoting UPDATING: 20101022: A workaround for a fixed ld bug has been removed in kernel code, so make sure that your system ld is built from sources after revision 211583 from 2010-08-21 (r210245 from 2010-07-19 if building stable/8 kernel on head, r211584 from 2010-08-21 for stable/7). A symptom of incorrect ld version is different addresses for set_pcpu section and __start_set_pcpu symbol in kernel and/or modules. >> >> 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. >> >> -- >> >> jhell,v >> -- jhell,v