mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-23 02:08:10 +02:00
The goal is to reduce symbol pollution, especially when building with Perfetto support, which previously led to an excessive number of exported symbols. objdump -T build/src/egl/libEGL_mesa.so.0.0.0 | grep perfetto | wc -l - before: 6963 - after: 0 The new egl.sym version script explicitly exports only relevant egl and MesaGLInteropEGL symbols, while marking all others as local. While this change effectively removes all Perfetto-related exported symbols, some C++ standard library symbols remain as undefined. These are pulled in by the linker due to dependencies. Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33001>
7 lines
56 B
Text
7 lines
56 B
Text
{
|
|
global:
|
|
egl*;
|
|
MesaGLInteropEGL*;
|
|
local:
|
|
*;
|
|
};
|