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

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 15 Jul 2012 14:50:13 +0200
Dimitry Andric <dim@FreeBSD.org> wrote:

> 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.

If I applied this correctly then it has not changed anything. Please
correct me if I have done this improperly.

I placed your patch in /usr/ports/x11-servers/xorg-server/files as seen
below

-rw-r--r--  1 root  wheel  5536 Apr 21 10:03 extra-arch-ia64
-rw-r--r--  1 root  wheel   438 May  4  2010 extra-arch-powerpc
-rw-r--r--  1 root  wheel  3487 Apr 24 10:28 extra-dix_events.c
-rw-r--r--  1 root  wheel  2382 Apr 21 10:03
extra-hw_dmx_glxProxy_compsize.h -rw-r--r--  1 root  wheel  1815 Apr 21
10:03 extra-hw_dmx_glxProxy_glxcmds.h -rw-r--r--  1 root  wheel   799
Apr 21 10:03 extra-include_eventstr.h -rw-r--r--  1 root  wheel   645
Apr 21 10:03 extra-patch-os-utils.c 

-rw-r--r--  1 root  wheel   966 Jul
15 16:43 patch-Xserver-hw-xfree86-common-compiler.h 
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

-rw-r--r--  1 root
wheel   384 May 19  2007 patch-Xserver-hw-xfree86-common-xf86Config.c
-rw-r--r--  1 root  wheel   469 May 19  2007
patch-Xserver-hw-xfree86-os-support-bsd-i386_video.c -rw-r--r--  1
root  wheel   402 Mar 31  2009
patch-Xserver-hw-xfree86-os-support-bsd-sparc64_video.c -rw-r--r--  1
root  wheel   350 May 19  2007 patch-Xserver-os-xprintf.c -rw-r--r--  1
root  wheel   320 May 19  2007 patch-servermd.h -rw-r--r--  1 root
wheel   471 May 19  2007 patch-xorgconf.cpp

And it shows up in 

:/usr/ports/x11-servers/xorg-server/work/xorg-server-1.7.7/x11-servers/xorg-server/files
% ls -l total 4
-rw-r--r--  1 root  wheel  481 Jul 15 18:23
patch-Xserver-hw-xfree86-common-compiler.h 
-rw-r--r--  1 root  wheel
0 Jul 15 18:23 patch-Xserver-hw-xfree86-common-compiler.h.orig

I checked on a different computer that is running 9 Stable.I did a
make from /usr/ports/x11-servers/xorg-server and there was not a
directory /x11-servers/ under /work/xorg-server-1.7.7/

Thanks again and I can provide anything if you need more information.

Robert



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