On Fri, Mar 26, 2010 at 2:23 AM, Chris Ball <c...@laptop.org> wrote: > Hi, > > http://tinderbox.x.org/builds/2010-03-25-0018/logs/libGL/#build > > mklib: Making Linux shared library: swrastg_dri.so.tmp > gcc -o swrastg_dri.so.test ../../../../src/mesa/drivers/dri/common/dri_test.o > swrastg_dri.so.tmp > -L/home/cjb/xorg-build/lib -ldrm -lexpat -lm -lpthread -ldl > swrastg_dri.so.tmp: undefined reference to `__sync_sub_and_fetch_4' > swrastg_dri.so.tmp: undefined reference to `__sync_add_and_fetch_4' > > (Only seen on sparc64.) >
my guess is that glapi uses sync primitives (see glthread.h) and the test is done against stubs which does not contain these primitives. it should be possible to build the real libglapi.a first (by adding a Makefile in src/mesa/glapi) and then do the link test using the real libglapi.a ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev