mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
meson: Link Gallium Nine with ld_args_build_id
This fixes an assertion in iris_disk_cache_init() when the initialization goes through drm_create_adapter(), which lives in d3dadapter9.so. In this case build_id_find_nhdr_for_addr() fails and returns NULL, since the shared library does not include a build ID. The issue can be reproduced with an iris capable GPU and Xnine, while removing the shader cache prior to launching the application. Fix this by doing the same as in29ea92e6a1. Fixes:4756864cdc"iris: Start wiring up on-disk shader cache" Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4499>
This commit is contained in:
parent
924f3f3de7
commit
c38946e62d
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ libgallium_nine = shared_library(
|
|||
],
|
||||
c_args : [c_vis_args, gallium_nine_c_args],
|
||||
cpp_args : [cpp_vis_args],
|
||||
link_args : [ld_args_gc_sections, gallium_nine_ld_args],
|
||||
link_args : [ld_args_build_id, ld_args_gc_sections, gallium_nine_ld_args],
|
||||
link_depends : gallium_nine_link_depends,
|
||||
link_with : gallium_nine_link_with,
|
||||
dependencies : [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue