Opened 12 years ago

Closed 12 years ago

#34499 closed defect (fixed)

mesa @8.0.2_3: pthread_threadid_np is not defined on Leopard

Reported by: raphael-st (Raphael Straub) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version:
Keywords: leopard Cc:
Port: mesa

Description

A 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.

Change History (1)

comment:1 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.