dri: Remove __driDriverExtensions leftovers
Android-14/clang-17 throws an error with it:
ld.lld: error: version script assignment of 'global' to symbol
'__driDriverExtensions' failed: symbol not defined
Fixes: d43e6a9a49
("dri: Remove the megadriver compat stub")
Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25587>
This commit is contained in:

committed by
Marge Bot

parent
3485744087
commit
7301914755
@@ -678,14 +678,6 @@ struct __DRIuseInvalidateExtensionRec {
|
||||
__DRIextension base;
|
||||
};
|
||||
|
||||
/**
|
||||
* The remaining extensions describe driver extensions, immediately
|
||||
* available interfaces provided by the driver. To start using the
|
||||
* driver, dlsym() for the __DRI_DRIVER_EXTENSIONS symbol and look for
|
||||
* the extension you need in the array.
|
||||
*/
|
||||
#define __DRI_DRIVER_EXTENSIONS "__driDriverExtensions"
|
||||
|
||||
/**
|
||||
* This symbol replaces the __DRI_DRIVER_EXTENSIONS symbol, and will be
|
||||
* suffixed by "_drivername", allowing multiple drivers to be built into one
|
||||
|
@@ -1,6 +1,5 @@
|
||||
{
|
||||
global:
|
||||
__driDriverExtensions;
|
||||
__driDriverGetExtensions*;
|
||||
nouveau_drm_screen_create;
|
||||
radeon_drm_winsys_create;
|
||||
|
@@ -836,8 +836,6 @@ loader_open_driver(const char *driver_name,
|
||||
free(get_extensions_name);
|
||||
}
|
||||
|
||||
if (!extensions)
|
||||
extensions = dlsym(driver, __DRI_DRIVER_EXTENSIONS);
|
||||
if (extensions == NULL) {
|
||||
log_(_LOADER_WARNING,
|
||||
"MESA-LOADER: driver exports no extensions (%s)\n", dlerror());
|
||||
|
Reference in New Issue
Block a user