Mesa (master): turnip: Make sure we include the build id.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Aug 31 18:27:43 UTC 2020


Module: Mesa
Branch: master
Commit: 221aa00eeb33938dab06b26c8a770ecae3698825
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=221aa00eeb33938dab06b26c8a770ecae3698825

Author: Eric Anholt <eric at anholt.net>
Date:   Thu Aug 13 15:15:26 2020 -0700

turnip: Make sure we include the build id.

The ir3 disk cache is initialized when we use the ir3 compiler, even if we
don't use it ourselves, and it requires a build id.  With lld, it seems we
don't end up getting one included by default.

Fixes: f97acb4bb4b1 ("freedreno/ir3: disk-cache support")
Reviewed-by: Rob Clark <robdclark at chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6324>

---

 src/freedreno/vulkan/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/freedreno/vulkan/meson.build b/src/freedreno/vulkan/meson.build
index 9c258170615..9b202f8563f 100644
--- a/src/freedreno/vulkan/meson.build
+++ b/src/freedreno/vulkan/meson.build
@@ -132,7 +132,7 @@ libvulkan_freedreno = shared_library(
   ],
   c_args : [no_override_init_args, tu_flags],
   gnu_symbol_visibility : 'hidden',
-  link_args : [ld_args_bsymbolic, ld_args_gc_sections],
+  link_args : [ld_args_bsymbolic, ld_args_gc_sections, ld_args_build_id],
   install : true,
 )
 



More information about the mesa-commit mailing list