Build failure xorg-drivers with Clang SOLVED

Robert traveling08 at cox.net
Fri Jul 27 03:24:44 UTC 2012


On Mon, 16 Jul 2012 09:09:11 -0700
Robert <traveling08 at cox.net> wrote:

> On Sun, 15 Jul 2012 14:50:13 +0200
> Dimitry Andric <dim at 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

I guess I applied the patch incorrectly the first time because now it
has fixed my problem.

Thank you for all of your time and efforts. 

Robert


More information about the freebsd-stable mailing list