From owner-freebsd-stable@FreeBSD.ORG Mon Dec 17 19:16:02 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 755E39D0 for ; Mon, 17 Dec 2012 19:16:02 +0000 (UTC) (envelope-from break19@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id 321258FC16 for ; Mon, 17 Dec 2012 19:16:01 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id s9so9711507iec.13 for ; Mon, 17 Dec 2012 11:16:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=MNADplAeQmL9vxH8/0/D985g7awj7tm5pIDE28evOjE=; b=utVvdu9d3BCCbCyGTjLjEKcfeJ/xSwVnX/LsVd4O1NiL4E09X+ysfIJcwR157N1vp4 Jq0mUrjmCTLHqgX3J2IUT91L0TSZ5QlZIIz2eLVTGC6w7l/78KpA9FFnVnTopVSJUlms naGKkJGw5eq8mMv+g+PDVTNisetTXdJqlh1BUfZAzHRh5VJVCARB31X2d4xMU8XZLbvs DpFGREtBRhm1yzwSbPwoqANpcom1bYyJ1LexQ5HmrAI7qXYg69kfqnokp6yhf1T6n2Xd YEUvYBa1hUnegfrnRJF7w+aH/Bjv+YCRk0L8XIhohiui0RSEzigUZMi69SZ+JZZ6zDqo PSOg== Received: by 10.50.236.104 with SMTP id ut8mr10234055igc.20.1355771761369; Mon, 17 Dec 2012 11:16:01 -0800 (PST) Received: from [192.168.0.199] (173-143-72-118.pools.spcsdns.net. [173.143.72.118]) by mx.google.com with ESMTPS id as6sm6274103igc.8.2012.12.17.11.15.55 (version=SSLv3 cipher=OTHER); Mon, 17 Dec 2012 11:16:00 -0800 (PST) Message-ID: <50CF6F65.7000200@gmail.com> Date: Mon, 17 Dec 2012 13:15:49 -0600 From: Chuck Burns User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Re: buildkernel error ... References: <20121217090849.21666@relay.ibs.dn.ua> <2d46e33594d6f362e7cc325d951baf7d.authenticated@ultimatedns.net> In-Reply-To: <2d46e33594d6f362e7cc325d951baf7d.authenticated@ultimatedns.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Mon, 17 Dec 2012 19:16:02 -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" > 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.. -- Chuck Burns