[Mesa-dev] removal of _glthread_GetID() breaks libglapi.so's ABI

Chia-I Wu olvaffe at gmail.com
Wed Mar 12 22:31:46 PDT 2014


Hi Brian,

_glthread_GetID() was removed by this commit

commit 02cb04c68ffbdaffaf7513ddc951584cac29f209
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Mar 4 15:24:16 2014 -0700

    mesa: remove remaining uses of _glthread_GetID()

It turns out the function, declared in glapi.h, is a part of
libglapi.so ABI.  I am now getting this error when building GL
applications

/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libGL.so:
undefined reference to `_glthread_GetID'

(gcc finds distro-provided libGL.so, which finds my build of
libglapi.so because of LD_LIBRARY_PATH).

I wonder if we should give the symbol available.  It could simply return zero...

-- 
olv at LunarG.com


More information about the mesa-dev mailing list