#34499: mesa @8.0.2_3: pthread_threadid_np is not defined on Leopard ----------------------------------+----------------------------------------- Reporter: raphael@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: leopard | Port: mesa ----------------------------------+----------------------------------------- A [source:trunk/dports/x11/mesa/files/0014-darwin-Use-ASL-for- logging.patch@93173 patch] introduced in r93173 uses {{{pthread_threadid_np}}}. This leads to the following problem on Leopard: {{{ make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/mesa/work/Mesa-8.0.2/src/glx/apple' /bin/sh ../../../bin/mklib -o GL -linker '' -ldflags ' -lXplugin -framework ApplicationServices -framework CoreFoundation' \ -major 1 -minor 2 \ -install ../../../lib -id /opt/local/lib/libGL.1.dylib \ -L/opt/local/lib -L/opt/local/lib -lX11-xcb -lxcb -lX11 -lXext apple_cgl.o apple_glx.o apple_glx_context.o apple_glx_drawable.o apple_glx_log.o apple_glx_pbuffer.o apple_glx_pixmap.o apple_glx_surface.o apple_visual.o apple_glapi.o apple_xgl_api_read.o apple_xgl_api_stereo.o apple_xgl_api_viewport.o appledri.o ../create_context.o ../clientattrib.o ../compsize.o ../glxconfig.o glx_empty.o ../glx_error.o ../glx_pbuffer.o ../glx_query.o ../glxcmds.o ../glxcurrent.o ../glxext.o ../glxextensions.o ../glxhash.o glxreply.o ../pixel.o ../xfont.o ../applegl_glx.o ../../../src/mapi/glapi/libglapi.a mklib: Making Darwin shared library: libGL.1.dylib Undefined symbols: "_pthread_threadid_np", referenced from: __apple_glx_vlog in apple_glx_log.o ld: symbol(s) not found collect2: ld returned 1 exit status mklib: Installing libGL.1.dylib libGL.dylib in ../../../lib mv: rename libGL.1.dylib to ../../../lib/libGL.1.dylib: No such file or directory }}} The build finishes without any apparent error, but {{{/opt/local/lib/libGL.1.dylib}}} is missing. -- Ticket URL: <https://trac.macports.org/ticket/34499> MacPorts <http://www.macports.org/> Ports system for Mac OS