Skip to content

radv: link with ld_args_build_id

David McFarland requested to merge Corngood/mesa:radv-cache-fix into master

https://github.com/NixOS/nixpkgs/issues/92807

This is a NixOS issue describing crashes caused by a uuid collision with the radv builtin shader cache. NixOS doesn't have meaningful timestamps for mesa shared libraries, and there was no build-id for the radv library, so the cache uuid wasn't changing.

This change just adds the --build-id linker flag, which is already set on dri drivers and intel vulkan driver for the same purpose, to radv.

Merge request reports