Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 2004 19:44:46 -0700
From:      Eric Anholt <eta@lclark.edu>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        x11@freebsd.org
Subject:   Re: [ports-i386@FreeBSD.org: libGL-1.0 failed on i386 4]
Message-ID:  <1084416286.774.158.camel@leguin>
In-Reply-To: <20040512193619.GF22624@xor.obsecurity.org>
References:  <20040512193619.GF22624@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2004-05-12 at 12:36, Kris Kennaway wrote:
> ----- Forwarded message from User Ports-i386 <ports-i386@FreeBSD.org> -----

...

> making all in lib/GL/GL...
> rm -f libGL.a
> ar clq libGL.a /tmp/a/ports/x11/libGL/work/xc/lib/GL/glx/unshared/?*.o /tmp/a/ports/x11/libGL/work/xc/lib/GL/glx/glapi_x86.o /tmp/a/ports/x11/libGL/work/xc/lib/GL/dri/unshared/XF86dri.o /tmp/a/ports/x11/libGL/work/xc/lib/GL/dri/unshared/dri_glx.o 
> ranlib libGL.a
> + mkdir -p /tmp/a/ports/x11/libGL/work/xc/exports/lib
> rm -f /tmp/a/ports/x11/libGL/work/xc/exports/lib/libGL.a
> cd /tmp/a/ports/x11/libGL/work/xc/exports/lib && ln -s ../../lib/GL/GL/libGL.a .
> rm -f libGL.so.1.2~
> + cd .
> + LD_LIBRARY_PATH=/tmp/a/ports/x11/libGL/work/xc/exports/lib XLOCALEDIR=/tmp/a/ports/x11/libGL/work/xc/exports/lib/locale cc -o ./libGL.so.1.2~ -shared -Wl,-rpath /usr/X11R6/lib -Wl,-Bsymbolic -Wl,-soname,libGL.so.1 /tmp/a/ports/x11/libGL/work/xc/lib/GL/glx/clientattrib.o /tmp/a/ports/x11/libGL/work/xc/lib/GL/glx/compsize.o /tmp/a/ports/x11/libGL/work/xc/lib/GL/glx/dispatch.o /tmp/a/ports/x11/libGL/work/xc/lib/GL/glx/eval.o /tmp/a/ports/x11/libGL/work/xc/lib/GL/glx/g_render.o /tmp/a/ports/x11/libGL/work/xc/lib/GL/glx/g_single.o /tmp/a/ports/x11/libGL/work/xc/lib/GL/glx/g_vendpriv.o /tmp/a/ports/x11/libGL/work/xc/lib/GL/glx/glapi.o /tmp/a/ports/x11/libGL/work/xc/lib/GL/glx/glapi_x86.o /tmp/a/ports/x11/libGL/work/xc/lib/GL/glx/glcontextmodes.o /tmp/a/ports/x11/libGL/work/xc/lib/GL/glx/glthread.o /tmp/a/ports/x11/libGL/work/xc/lib/GL/glx/glxcmds.o /tmp/a/ports/x11/libGL/work/xc/lib/GL/glx/glxext.o /tmp/a/ports/x11/libGL/work/xc/lib/GL/glx/glxextensions.o /tmp/a/ports/x11/libGL
 /w
>  ork/xc/lib/GL/glx/indirect_init.o /tmp/a/ports/x11/libGL/work/xc/lib/GL/glx/pixel.o /tmp/a/ports/x11/libGL/work/xc/lib/GL/glx/pixelstore.o /tmp/a/ports/x11/libGL/work/xc/lib/GL/glx/render2.o /tmp/a/ports/x11/libGL/work/xc/lib/GL/glx/renderpix.o /tmp/a/ports/x11/libGL/work/xc/lib/GL/glx/single2.o /tmp/a/ports/x11/libGL/work/xc/lib/GL/glx/singlepix.o /tmp/a/ports/x11/libGL/work/xc/lib/GL/glx/vertarr.o /tmp/a/ports/x11/libGL/work/xc/lib/GL/glx/xfont.o /tmp/a/ports/x11/libGL/work/xc/lib/GL/dri/XF86dri.o /tmp/a/ports/x11/libGL/work/xc/lib/GL/dri/dri_glx.o -L/tmp/a/ports/x11/libGL/work/xc/exports/lib -lXThrStub -L/tmp/a/ports/x11/libGL/work/xc/exports/lib -L/usr/X11R6/lib -lXxf86vm -L/tmp/a/ports/x11/libGL/work/xc/exports/lib -lXext -lX11
> /usr/libexec/elf/ld: cannot find -lXThrStub
> *** Error code 1
> 
> Stop in /tmp/a/ports/x11/libGL/work/xc/lib/GL/GL.
> *** Error code 1
> 
> Stop in /tmp/a/ports/x11/libGL/work/xc/lib/GL.
> *** Error code 1
> 
> Stop in /a/ports/x11/libGL.
> ================================================================
> build ended at Wed May 12 12:11:54 GMT 2004

libXThrStub needs to die.  What I'm thinking is that it should be
integrated directly into libX11 (compiled conditionally on those
operating systems that need it).  I'm going to try to whip up a patch
RSN and run it by X.Org folks to see if they see any problems with that
plan.

One thing that this means is probably using an X.Org-based libX11.  The
fd.o libX11 never got all the i18n stuff fixed as far as I know, so it's
a good idea anyway.  It'll mean generating a .pc file by hand for it in
the short term until the modularization question gets sorted out (there
are still discussions going on about how to handle doing that), but that
shouldn't be too bad.

-- 
Eric Anholt                                eta@lclark.edu          
http://people.freebsd.org/~anholt/         anholt@FreeBSD.org




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