> From: Cyril Brulebois <k...@debian.org>
> Sent: Tue, February 22, 2011 7:02:55 AM > Subject: Re: Bug#614512: FTBFS in version 8.0.1-2 > > Dave Witbrodt <dawit...@sbcglobal.net> (21/02/2011): [...] > > I was able to resolve the problem after doing a bit of research. I > > found that 'xeglgears.c' and 'xeglthreads.c' (in 'src/egl/opengl') > > both depend on libX11, and 'xeglthreads.c' also depends on > > libpthreads. > > Thanks for the patch; it should be checked (not sure hardcoding > -lpthreads is the right thing to do) and then sent upstream. I was not sure about that either. I got the idea from my Google search and from looking around at the 'git log' in 'mesa-demos' around the time frame of March 2010: dawitbro@fileserver:~/sandbox/git/mesa-demos-git$ git show 83580b776832d22d0039d820c637fe0be0855467 commit 83580b776832d22d0039d820c637fe0be0855467 Author: Chia-I Wu <o...@lunarg.com> Date: Wed Mar 24 08:34:39 2010 +0800 progs/egl: Link xeglthreads to libpthread. This should hopefully fix a build failure reported by Chris Ball when binutils-gold is used. diff --git a/src/egl/Makefile b/src/egl/Makefile index 8dfcb4e..890240f 100644 --- a/src/egl/Makefile +++ b/src/egl/Makefile @@ -60,7 +60,7 @@ xeglgears: xeglgears.o $(HEADERS) $(LIB_DEP) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) -lm $(X11_LIBS) xeglthreads: xeglthreads.o $(HEADERS) $(LIB_DEP) - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) -lm $(X11_LIBS) + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) -lpthread -lm $(X11_LIBS) xegl_tri: xegl_tri.o $(HEADERS) $(LIB_DEP) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) -lm $(X11_LIBS) Apparently, the build system for 'mesa-demos' was reworked when they ripped it out of 'mesa', and it had been working fine until now. I see this in the 'gcc-4.4' changelog (Feb. 15): * Pass --no-add-needed by default to the linker. See http://wiki.debian.org/ToolChain/DSOLinking, section "Not resolving symbols in indirect dependent shared libraries" for more information. Is that the culprit? By "checked" and "sent upstream," did you mean one of you XSF folks will do that, or were you asking me to do that? Thanks for your rapid response, Dave W. -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/678556.26591...@web82107.mail.mud.yahoo.com