mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 11:40:10 +01:00
meson: require sysprof-capture-4 >= 4.49.0
When Mesa is compiled with sysprof support, applications can crash with a segfault during shutdown. This happens because sysprof_collector_mark() registers thread-local storage destructors that get called after the library containing the destructor code has been unloaded. The problem was fixed in sysprof https://gitlab.gnome.org/GNOME/sysprof/-/merge_requests/152 CC: mesa-stable Closes: mesa/mesa#13571 Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38347>
This commit is contained in:
parent
9a33edca35
commit
e9341568fa
1 changed files with 1 additions and 1 deletions
|
|
@ -2200,7 +2200,7 @@ endif
|
||||||
|
|
||||||
with_sysprof = get_option('sysprof')
|
with_sysprof = get_option('sysprof')
|
||||||
if with_sysprof
|
if with_sysprof
|
||||||
dep_sysprof = dependency('sysprof-capture-4', version: '>= 3.38.0')
|
dep_sysprof = dependency('sysprof-capture-4', version: '>= 4.49.0')
|
||||||
pre_args += '-DHAVE_SYSPROF'
|
pre_args += '-DHAVE_SYSPROF'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue