Stefan Dirsch
756b7868e8
0002-egl-wayland-only-supply-LINEAR-modifier-when-support.patch 0003-egl-wayland-fallback-to-implicit-modifiers-if-advert.patch * fixes mesa 24.3.1 gallium crash/segfault on GPUs without format modifiers (mesa issue#12253, mesa MR#32535, boo#1234302) OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1354
16 lines
823 B
Diff
16 lines
823 B
Diff
LTO defeats the -fpic workaround and enables TLS relaxation anyway
|
|
|
|
Index: mesa-24.3.0-rc1/meson.build
|
|
===================================================================
|
|
--- mesa-24.3.0-rc1.orig/meson.build
|
|
+++ mesa-24.3.0-rc1/meson.build
|
|
@@ -516,7 +516,7 @@ if not have_mtls_dialect
|
|
foreach tlsdesc_arg : ['-mtls-dialect=gnu2', '-mtls-dialect=desc']
|
|
# -fpic to force dynamic tls, otherwise TLS relaxation defeats check
|
|
tlsdesc_test = cc.run('int __thread x; int main() { return x; }',
|
|
- args: [tlsdesc_arg, '-fpic'],
|
|
+ args: [tlsdesc_arg, '-fpic', '-fno-lto'],
|
|
name: tlsdesc_arg)
|
|
if tlsdesc_test.returncode() == 0 and (
|
|
# check for lld 13 bug: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5665
|