From owner-freebsd-stable@FreeBSD.ORG Tue Jul 10 13:41:53 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 A2530106566C; Tue, 10 Jul 2012 13:41:53 +0000 (UTC) (envelope-from traveling08@cox.net) Received: from fed1rmfepo102.cox.net (fed1rmfepo102.cox.net [68.230.241.144]) by mx1.freebsd.org (Postfix) with ESMTP id 675468FC16; Tue, 10 Jul 2012 13:41:53 +0000 (UTC) Received: from fed1rmimpo305.cox.net ([68.230.241.173]) by fed1rmfepo102.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20120710134147.TWPG4155.fed1rmfepo102.cox.net@fed1rmimpo305.cox.net>; Tue, 10 Jul 2012 09:41:47 -0400 Received: from dell64 ([72.220.103.209]) by fed1rmimpo305.cox.net with bizsmtp id Ydhm1j00L4X51K403dhmxl; Tue, 10 Jul 2012 09:41:46 -0400 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A02020B.4FFC311A.01C4,ss=1,re=0.000,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=1.1 cv=7DTXskVBSpuAR/MBl5itprnUq89zrLWEwH6mAWzvx2I= c=1 sm=1 a=zZLVAf7QdekA:10 a=G8Uczd0VNMoA:10 a=kj9zAlcOel0A:10 a=9eRLpXbTwyrdKc8or95E8w==:17 a=6I5d2MoRAAAA:8 a=fGO4tVQLAAAA:8 a=DTN0EbfbPkj773lLHrYA:9 a=CjuIK1q_8ugA:10 a=_1wnFc8Z8u8A:10 a=SV7veod9ZcQA:10 a=9eRLpXbTwyrdKc8or95E8w==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Date: Tue, 10 Jul 2012 06:41:41 -0700 From: Robert To: Dimitry Andric Message-ID: <20120710064141.060aa4f6@dell64> In-Reply-To: <4FFC02A2.8010303@FreeBSD.org> References: <20120709134426.7f01dd96@dell64> <4FFC02A2.8010303@FreeBSD.org> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-stable@freebsd.org" Subject: Re: Build failure xorg-drivers with Clang 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: Tue, 10 Jul 2012 13:41:53 -0000 On Tue, 10 Jul 2012 12:23:30 +0200 Dimitry Andric wrote: > On 2012-07-09 22:44, Robert wrote: > > I am trying to build a 9.0 Stable system and am getting this error > > when building xorg meta port. I have clang set up as follows > ... > > The error: > > > > In file included from xf86Helper.c:54: > > In file included > > from ../../../hw/xfree86/os-support/xf86_OSlib.h:451: ./compiler.h:1104:24: > > error: invalid operand in inline asm: 'in${0:B} ($1)' __asm__ > > __volatile__("in%B0 (%1)" : ^ > > ./compiler.h:1104:24: error: unknown use of instruction mnemonic > > without a size suffix > > :1:2: note: instantiated into assembly here > > in (%dx) > > ^ > > Are you sure this is a failure in xorg-drivers? This looks more like > xorg-server code. Also, are you using WITH_NEW_XORG or not? Last but > not least, what does "clang -v" print? > > In any case, it would be enlightening if you post the full build log > somewhere. Dimitry Thanks for responding. You are right, the error is when building xorg-server. I am not using WITH_NEW_XORG as this is an older P4 computer. I am not sure if I should be using NEW XORG. Here is my video card. vgapci0@pci0:1:0:0: class=0x030000 card=0x00000000 chip=0x004810de rev=0xa1 hdr=0x00 vendor = 'nVidia Corporation' device = 'NV40 [GeForce 6800 XT]' class = display subclass = VGA CPU: Intel(R) Pentium(R) 4 CPU 2.60GHz (2595.00-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Family = f Model = 2 Stepping = 9 Features=0xbfebfbff Features2=0x4400 real memory = 2147483648 (2048 MB) avail memory = 2086125568 (1989 MB) root@pita9bsd:/root # clang -v FreeBSD clang version 3.1 (branches/release_31 156863) 20120523 Target: i386-unknown-freebsd9.0 Thread model: posix Complete attempt at build (xorg-drivers.log) can be viewed at pastebin.com/u/traveling08 Thanks again. Robert