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: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED]
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. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel