From owner-freebsd-stable@FreeBSD.ORG Tue Jul 10 10:23:33 2012 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 2E499106566C for ; Tue, 10 Jul 2012 10:23:33 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) by mx1.freebsd.org (Postfix) with ESMTP id D8F0C8FC14 for ; Tue, 10 Jul 2012 10:23:32 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:f5a1:37a7:b01a:4353] (unknown [IPv6:2001:7b8:3a7:0:f5a1:37a7:b01a:4353]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 0F3CC5C37; Tue, 10 Jul 2012 12:23:32 +0200 (CEST) Message-ID: <4FFC02A2.8010303@FreeBSD.org> Date: Tue, 10 Jul 2012 12:23:30 +0200 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120619 Thunderbird/14.0 MIME-Version: 1.0 To: Robert References: <20120709134426.7f01dd96@dell64> In-Reply-To: <20120709134426.7f01dd96@dell64> X-Enigmail-Version: 1.5a1pre Content-Type: text/plain; charset=ISO-8859-1 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 10:23:33 -0000 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.