From: <bug...@pd...> - 2004-06-29 19:14:48
|
Please do not reply to this email: if you want to comment on the bug, go to the URL shown below and enter your comments there. http://freedesktop.org/bugzilla/show_bug.cgi?id=812 Summary: Drivers don't have _glapi_DispatchTSD weak symbol Product: DRI Version: DRI CVS Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: General AssignedTo: dri...@li... ReportedBy: id...@us... As the TLS work progress, the convention used by drivers to get the pointer to the current dispatch table from libGL changes. In single-threaded mode, the variable _glapi_DispatchTSD holds a pointer to the dispatch table. In multi-threaded mode, that variable is NULL, and the function _glapi_get_dispatch must be called. In order to support older versions of libGL (i.e., ones that don't have _glapi_DispatchTSD) an ELF "weak" symbol was added to dri_util.c. For drivers built in the Mesa tree, this symbol shows up, as weak, in the *_dri.so files. However, the *_dri.so files built in the DRI don't have it. The net result is these drivers won't work with, for example, the libGL from the current Xorg tree. I suspect that the problem is just the options passed to gcc when the *_dri.so is linked. -- Configure bugmail: http://freedesktop.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. |