Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package Mesa for openSUSE:Factory checked in at 2026-11-27 21:02:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/Mesa (Old) and /work/SRC/openSUSE:Factory/.Mesa.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "Mesa" Fri Nov 27 21:02:44 2026 rev:595 rq:1400609 version:26.2.8 Changes: -------- --- /work/SRC/openSUSE:Factory/Mesa/Mesa.changes 2026-11-17 23:10:57.581804335 +0100 +++ /work/SRC/openSUSE:Factory/.Mesa.new.1340718/Mesa.changes 2026-11-27 21:02:48.927045306 +0100 @@ -1,0 +2,12 @@ +Wed Nov 25 16:05:34 UTC 2026 - Stefan Dirsch <[email protected]> + +- Update to 26.2.8 bugfix release + --> https://docs.mesa3d.org/relnotes/26.2.8 + +------------------------------------------------------------------- +Mon Nov 23 11:14:27 UTC 2026 - Andreas Schwab <[email protected]> + +- tlsdesc_test.patch: replace with + https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/45593 + +------------------------------------------------------------------- Old: ---- mesa-26.2.7.tar.xz mesa-26.2.7.tar.xz.sig New: ---- mesa-26.2.8.tar.xz mesa-26.2.8.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ Mesa.spec ++++++ --- /var/tmp/diff_new_pack.kAmCD3/_old 2026-11-27 21:02:52.780207194 +0100 +++ /var/tmp/diff_new_pack.kAmCD3/_new 2026-11-27 21:02:52.782207278 +0100 @@ -1,7 +1,7 @@ # # spec file for package Mesa # -# Copyright (c) 2026 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %define provide_gl_headers_for_mesa 1 #!BuildIgnore: Mesa-dri @@ -151,9 +152,9 @@ %endif Name: Mesa%{psuffix} -Version: 26.2.7 +Version: 26.2.8 Release: 0 -%define pkg_version 26.2.7 +%define pkg_version 26.2.8 Summary: System for rendering 3-D graphics License: MIT Group: System/Libraries @@ -234,6 +235,7 @@ BuildRequires: pkgconfig(vulkan) %endif %endif +BuildRequires: pkgconfig(libdisplay-info) >= 0.1.1 BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(x11-xcb) BuildRequires: pkgconfig(xcb-dri3) @@ -246,7 +248,6 @@ BuildRequires: pkgconfig(xshmfence) BuildRequires: pkgconfig(xxf86vm) BuildRequires: pkgconfig(zlib) -BuildRequires: pkgconfig(libdisplay-info) >= 0.1.1 Provides: Mesa7 = %{version} Obsoletes: Mesa7 < %{version} Provides: intel-i810-Mesa = %{version} @@ -264,16 +265,16 @@ Provides: libXvMC_r600 = %{version} Obsoletes: libXvMC_r600 < %{version} Provides: libtxc_dxtn = %{version} -Obsoletes: libtxc_dxtn < %{version} -Obsoletes: libxatracker2 < %{version} Obsoletes: Mesa-gallium < %{version} -Obsoletes: Mesa-libd3d < %{version} Obsoletes: Mesa-libOpenCL < %{version} +Obsoletes: Mesa-libd3d < %{version} +Obsoletes: libtxc_dxtn < %{version} +Obsoletes: libvdpau_d3d12 < %{version} Obsoletes: libvdpau_nouveau < %{version} Obsoletes: libvdpau_r600 < %{version} Obsoletes: libvdpau_radeonsi < %{version} Obsoletes: libvdpau_virtio_gpu < %{version} -Obsoletes: libvdpau_d3d12 < %{version} +Obsoletes: libxatracker2 < %{version} %ifarch %{arm} aarch64 %if 0%{?suse_version} >= 1550 BuildRequires: python3-pycparser >= 2.20 @@ -363,9 +364,9 @@ Provides: s2tc-devel = %{version} Obsoletes: s2tc-devel < %{version} Provides: libtxc_dxtn-devel = %{version} +Obsoletes: Mesa-libd3d-devel < %{version} Obsoletes: libtxc_dxtn-devel < %{version} Obsoletes: libxatracker-devel < %{version} -Obsoletes: Mesa-libd3d-devel < %{version} %description devel Mesa is a 3-D graphics library with an API which is very similar to ++++++ mesa-26.2.7.tar.xz -> mesa-26.2.8.tar.xz ++++++ /work/SRC/openSUSE:Factory/Mesa/mesa-26.2.7.tar.xz /work/SRC/openSUSE:Factory/.Mesa.new.1340718/mesa-26.2.8.tar.xz differ: char 26, line 1 ++++++ tlsdesc_test.patch ++++++ --- /var/tmp/diff_new_pack.kAmCD3/_old 2026-11-27 21:02:52.999216395 +0100 +++ /var/tmp/diff_new_pack.kAmCD3/_new 2026-11-27 21:02:53.003216563 +0100 @@ -1,16 +1,91 @@ -LTO defeats the -fpic workaround and enables TLS relaxation anyway +From 70055f1957ebf0defd9e3606095f862c6b89be40 Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Sun, 25 Oct 2026 09:09:05 -0700 +Subject: [PATCH] meson: check TLSDESC support with a shared library -Index: mesa-25.3.0/meson.build -=================================================================== ---- mesa-25.3.0.orig/meson.build -+++ mesa-25.3.0/meson.build -@@ -546,7 +546,7 @@ if not have_mtls_dialect +The -mtls-dialect probe runs a program whose own TLS access is meant to +exercise the dynamic loader. However, the linker relaxes TLS accesses +in an executable, even when compiled with -fpic: lld always rewrites +TLSDESC to local-exec there. The probe then passes on systems whose +libc has no TLS descriptor support, e.g. glibc on RISC-V, and mesa is +built with -mtls-dialect=desc. Loading libgallium then fails with: + + libgallium-26.2.4.so: unexpected reloc type 0x0c + +Build the TLS access into a shared library instead and run a program +linked against it, so the dynamic loader has to process the TLSDESC +relocation. + +Signed-off-by: Khem Raj <[email protected]> +--- + build-support/conftest-tlsdesc.c | 23 +++++++++++++++++++++++ + meson.build | 21 ++++++++++++++++++--- + 2 files changed, 41 insertions(+), 3 deletions(-) + create mode 100644 build-support/conftest-tlsdesc.c + +diff --git a/build-support/conftest-tlsdesc.c b/build-support/conftest-tlsdesc.c +new file mode 100644 +index 00000000000..2351f6fef10 +--- /dev/null ++++ b/build-support/conftest-tlsdesc.c +@@ -0,0 +1,23 @@ ++/* ++ * Used by meson.build to check for TLS descriptor support. Built once as a ++ * shared library (CONFTEST_TLSDESC_LIB) and once as a program linked against ++ * it, so that the dynamic loader has to process the library's TLSDESC ++ * relocation. A TLS access in the program itself would be relaxed by the ++ * linker and could not show missing libc support. ++ */ ++#ifdef CONFTEST_TLSDESC_LIB ++/* Not static, so that the compiler cannot fold the access away. */ ++__thread int conftest_tlsdesc_var = 42; ++ ++int conftest_tlsdesc(void) ++{ ++ return conftest_tlsdesc_var; ++} ++#else ++int conftest_tlsdesc(void); ++ ++int main(void) ++{ ++ return conftest_tlsdesc() != 42; ++} ++#endif +diff --git a/meson.build b/meson.build +index f725f833a52..75430283eb2 100644 +--- a/meson.build ++++ b/meson.build +@@ -651,10 +651,25 @@ if not have_mtls_dialect + # The way to specify the TLSDESC dialect is architecture-specific. + # We probe both because there is not a fallback guaranteed to work for all + # future architectures. ++ # ++ # The TLS access has to live in a shared library: in an executable the ++ # linker relaxes it, even with -fpic, so the test would pass without libc ++ # support (e.g. glibc on RISC-V, which rejects R_RISCV_TLSDESC). ++ conftest_tlsdesc = files('build-support/conftest-tlsdesc.c') ++ conftest_tlsdesc_dir = join_paths(meson.project_build_root(), 'meson-private') ++ conftest_tlsdesc_lib = join_paths(conftest_tlsdesc_dir, 'libconftest-tlsdesc.so') 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; }', +- # -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'], ++ tlsdesc_lib = run_command(cc.cmd_array(), get_option('c_args'), ++ get_option('c_link_args'), tlsdesc_arg, ++ '-fpic', '-shared', '-DCONFTEST_TLSDESC_LIB', ++ '-o', conftest_tlsdesc_lib, conftest_tlsdesc, ++ check : false) ++ if tlsdesc_lib.returncode() != 0 ++ continue ++ endif ++ tlsdesc_test = cc.run(conftest_tlsdesc, ++ args: [conftest_tlsdesc_lib, ++ '-Wl,-rpath,' + conftest_tlsdesc_dir], name: tlsdesc_arg) if tlsdesc_test.returncode() == 0 and ( # check for lld 13 bug: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5665 +-- +2.56.1 +
