From owner-freebsd-stable@FreeBSD.ORG Tue Dec 18 01:13:32 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8E9F17FF for ; Tue, 18 Dec 2012 01:13:32 +0000 (UTC) (envelope-from alonsoschaich@fastmail.fm) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mx1.freebsd.org (Postfix) with ESMTP id 4C71C8FC0A for ; Tue, 18 Dec 2012 01:13:31 +0000 (UTC) Received: from compute6.internal (compute6.nyi.mail.srv.osa [10.202.2.46]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 9FBF420958 for ; Mon, 17 Dec 2012 20:13:25 -0500 (EST) Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute6.internal (MEProxy); Mon, 17 Dec 2012 20:13:25 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h= from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=vOYBDUluXUY4956Af6zAeFywQ5s=; b=ntS/eezJB/VZl5W/ec6zGF9wq2Ug iDTLi4WPKTTwfj/PwV2Sj0ABnO6UWQMKcZi8gXoFDlkznjKvN7dB5yl5HYZR6O/q yWJCoUODSoXT7AW8QLw/kkaHLO1ZCmwUekCLDezB4QD06jC5FaLsJHhG1vy7mMkS Ig7C8Qg6ucoph4w= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding :content-type; s=smtpout; bh=vOYBDUluXUY4956Af6zAeFywQ5s=; b=F14 ln26za1ngdl9gDAgS+87K0zQdO+rz5O2uFECFUskHwnQYMJ2B36RIrOgpKpmsFRL 7goR0QzOI6kZ8fpd6J1V7MzmMMiYDi44fNO6sWRPT1XT89C1BV8iQbCuzJi+FTHF WIkFoMbSDUCflY0SBIu63/36tyINdSUkrVeLsg8s= X-Sasl-enc: NwiTgr82dwtlZhd8708BKuWw8vk0Nb1XRv92J/SxXBxI 1355793205 Received: from harmony.localnet.edu (unknown [141.87.213.55]) by mail.messagingengine.com (Postfix) with ESMTPA id 3EA8848279B for ; Mon, 17 Dec 2012 20:13:25 -0500 (EST) From: Schaich Alonso To: freebsd-stable@freebsd.org Subject: Re: buildkernel error ... Date: Tue, 18 Dec 2012 02:13:22 +0100 Message-ID: <7979016.AOBqQzqVdN@harmony.localnet.edu> User-Agent: KMail/4.9.3 (FreeBSD/9.1-PRERELEASE; KDE/4.9.3; amd64; ; ) In-Reply-To: <5a837835be7ab73478e7a2335518c0a0.authenticated@ultimatedns.net> References: <20121217090849.21666@relay.ibs.dn.ua> <50CF6F65.7000200@gmail.com> <5a837835be7ab73478e7a2335518c0a0.authenticated@ultimatedns.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 01:13:32 -0000 On 2012-12-17 (Monday) 17:02:06 Chris H wrote: > > On 12/17/2012 1:35 AM, Chris H wrote: > >>> hi all, > >>> > >>> I run FreeBSD 9.0-STABLE #1: Sun Apr 15 21:08:51 UTC 2012 amd64 > >>> > >>> yesterday I have cvsup-ed src and was trying to buildkernel > >>> bellow is error I receive: > >>> --- [ cut ] > >>> ------------------------------------------------------------------------ > >>> ----------------------------- ... > >>> cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g > >>> -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 > >>> -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL > >>> -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common > >>> -finline-limit=8000 > >>> --param inline-unit-growth=100 --param large-function-growth=1000 > >>> -fno-omit-frame-pointer > >>> -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float > >>> -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror > >>> /usr/src/sys/xdr/xdr_reference.c > >>> cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g > >>> -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 > >>> -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL > >>> -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common > >>> -finline-limit=8000 > >>> --param inline-unit-growth=100 --param large-function-growth=1000 > >>> -fno-omit-frame-pointer > >>> -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float > >>> -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror > >>> /usr/src/sys/xdr/xdr_sizeof.c > >>> cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g > >>> -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 > >>> -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL > >>> -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common > >>> -finline-limit=8000 > >>> --param inline-unit-growth=100 --param large-function-growth=1000 > >>> -fno-omit-frame-pointer > >>> -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float > >>> -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror > >>> /usr/src/sys/amd64/acpica/acpi_machdep.c > >>> cc -c -x assembler-with-cpp -DLOCORE -O2 -frename-registers -pipe > >>> -fno-strict-aliasing -std=c99 -g -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 > >>> -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL > >>> -DHAVE_KERNEL_OPTION_HEADERS -include > >>> opt_global.h -fno-common -finline-limit=8000 --param > >>> inline-unit-growth=100 --param large-function-growth=1000 > >>> -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx > >>> -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding > >>> -fstack-protector -Werror /usr/src/sys/amd64/acpica/acpi_switch.S > >>> /usr/src/sys/amd64/acpica/acpi_switch.S: Assembler messages: > >>> /usr/src/sys/amd64/acpica/acpi_switch.S:146: Error: no such instruction: > >>> `xsetbv' /usr/src/sys/amd64/acpica/acpi_switch.S:147: Error: no such > >>> instruction: `xrstor (%rbx)' *** Error code 1 > >>> > >>> Stop in /usr/obj/usr/src/sys/ZEUS_HOME. > >>> *** Error code 1 > >>> > >>> Stop in /usr/src. > >>> *** Error code 1 > >>> > >>> Stop in /usr/src. > >>> --- [ cut ] > >>> ------------------------------------------------------------------------ > >>> ----------------------------- > >>> > >>> > >>> nothing is changed in my kernel configuration file ... > >> > >> Greetings, > >> > >> I too attempted a buildworld, and a kernel yesterday (also synced > >> yesterday).>> > >> It failed with a similar message to yours. I have _never_ experianced > >> world, or kernel issues in the 25yrs I've been using BSD exclusively. > >> Given that the only thing that has changed is the addition of clang, I'd > >> recommend performing a: make clean > >> then try again with: > >> make -DWITHOUT_CLANG buildworld KERNCONF= > >> replacing with the actual name of your KERNCONF > >> file. > >> > >> I'm in the middle of a buildworld as I write this, that I believe will > >> conclusively prove that clang was the reason my last attempt failed. > >> > >> HTH, and best wishes. > >> > >> --Chris > >> > >> P.S. This was also 9.1 > >> > >>> -- > >>> Zeus V. Panchenko jid:zeus@im.ibs.dn.ua > >>> IT Dpt., I.B.S. LLC GMT+2 (EET) > >>> _______________________________________________ > >>> freebsd-stable@freebsd.org mailing list > >>> http://lists.freebsd.org/mailman/listinfo/freebsd-stable > >>> To unsubscribe, send any mail to > >>> "freebsd-stable-unsubscribe@freebsd.org" > >> > >> _______________________________________________ > >> freebsd-stable@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable > >> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > > > Waste of time.. unless the OP has enabled CLANG_AS_CC then clang is not > > being called here.. "cc" is NOT clang unless "CLANG_AS_CC" is set. It > > makes no sense to just throw crazy ideas like this onto a mailing list, > > especially when you haven't even yet 'verified' the claim yourself. > > > > Good lord.. > > Fair enough. > Now that build && install world has completed. I can safely report > that clang _was_ the culprit. The entire procedure not only took > 1/6th the time, as compared with clang, but provided a successful > installworld -- unlike the clang counterpart. > > Best wishes. > > --Chris > Just with the detail that the quoted error occured during buildkernel and not buildworld, and is caused by using an outdated binutils' AS(1) ... > > -- > > Chuck Burns > > _______________________________________________ > > freebsd-stable@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"