Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jul 2012 14:50:13 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Robert <traveling08@cox.net>
Cc:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   Re: Build failure xorg-drivers with Clang
Message-ID:  <5002BC85.3020508@FreeBSD.org>
In-Reply-To: <20120710064141.060aa4f6@dell64>
References:  <20120709134426.7f01dd96@dell64> <4FFC02A2.8010303@FreeBSD.org> <20120710064141.060aa4f6@dell64>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------090900010808050809050909
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

On 2012-07-10 15:41, Robert wrote:
...
> Complete attempt at build (xorg-drivers.log) can be viewed at
> pastebin.com/u/traveling08

Aha, I hadn't realized this wasn't yet fixed for clang.  Please try the
attached patch.

--------------090900010808050809050909
Content-Type: text/x-diff;
 name="clangports-x11-servers-xorg-server-3.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="clangports-x11-servers-xorg-server-3.diff"

Index: x11-servers/xorg-server/files/patch-Xserver-hw-xfree86-common-compiler.h
===================================================================
RCS file: x11-servers/xorg-server/files/patch-Xserver-hw-xfree86-common-compiler.h
diff -N x11-servers/xorg-server/files/patch-Xserver-hw-xfree86-common-compiler.h
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ x11-servers/xorg-server/files/patch-Xserver-hw-xfree86-common-compiler.h	10 Nov 2011 13:44:12 -0000
@@ -0,0 +1,11 @@
+--- hw/xfree86/common/compiler.h.orig	2010-05-04 02:47:58.000000000 +0200
++++ hw/xfree86/common/compiler.h	2011-11-08 13:29:52.000000000 +0100
+@@ -1021,7 +1021,7 @@
+ 
+ #    if !defined(__SUNPRO_C)
+ #    if !defined(FAKEIT) && !defined(__mc68000__) && !defined(__arm__) && !defined(__sh__) && !defined(__hppa__) && !defined(__s390__) && !defined(__m32r__)
+-#     ifdef GCCUSESGAS
++#     ifdef __GNUC__
+ 
+ /*
+  * If gcc uses gas rather than the native assembler, the syntax of these

--------------090900010808050809050909--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5002BC85.3020508>