Skip to content

gallium: Fix undefined symbols in version scripts

Violet Purcell requested to merge vimproved/mesa:main into main

What does this MR do and why?

Currently, multiple version scripts unconditionally use symbols from gallium drivers that may not be enabled, which causes linking to fail with --no-undefined-version (as is default in LLD 17), and can cause issues with LTO. This commit adds logic to generate version scripts based on the enabled gallium drivers, ensuring only defined symbols are used.

Edited by Violet Purcell

Merge request reports