From owner-freebsd-stable@FreeBSD.ORG Tue Dec 18 01:07:45 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 1BBF048B for ; Tue, 18 Dec 2012 01:07:45 +0000 (UTC) (envelope-from chris#@1command.com) Received: from udns.ultimateDNS.NET (24-113-197-124.wavecable.com [24.113.197.124]) by mx1.freebsd.org (Postfix) with ESMTP id E15C28FC14 for ; Tue, 18 Dec 2012 01:07:44 +0000 (UTC) Received: from udns.ultimateDNS.NET (localhost [127.0.0.1]) by udns.ultimateDNS.NET (8.14.5/8.14.5) with ESMTP id qBI17faG029136; Mon, 17 Dec 2012 17:07:47 -0800 (PST) (envelope-from chris#@1command.com) Received: (from www@localhost) by udns.ultimateDNS.NET (8.14.5/8.14.5/Submit) id qBI17a3k029133; Mon, 17 Dec 2012 17:07:36 -0800 (PST) (envelope-from chris#@1command.com) Received: from udns.ultimatedns.net ([24.113.197.124]) (UDNSMS authenticated user chrish) by ultimatedns.net with HTTP; Mon, 17 Dec 2012 17:07:36 -0800 (PST) Message-ID: In-Reply-To: <50CF70BE.8070707@gmail.com> References: <20121217090849.21666@relay.ibs.dn.ua> <2d46e33594d6f362e7cc325d951baf7d.authenticated@ultimatedns.net> <50CF70BE.8070707@gmail.com> Date: Mon, 17 Dec 2012 17:07:36 -0800 (PST) Subject: Re: buildkernel error ... From: "Chris H" To: "Chuck Burns" User-Agent: UDNSMS/2.0.3 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-stable@freebsd.org 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:07:45 -0000 > 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" >> > > > And, just for the record, there are QUITE A FEW changes between 8.x and > 9.x other than "adding clang as an optional compiler" which, in case you > didn't realize.. is an OPTIONAL compiler in the 9.x series. Do not > build it, if you wish, but when it's not being used to compile > something, it cannot be blamed for something being broken. Well, if I understand you correctly, clang isn't used by default. However, in my case, when: cd /usr/src make buildworld _did_ initiate a build with the clang toolchain. I saw no mention of it in Updating, and was _quite_ surprised, when I discovered it's use. Also _quite_ disappointed when it resulted in an installworld failure. --Chris > > -- > 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" > --