Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2025-09-17 16:37:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and      /work/SRC/openSUSE:Factory/.mariadb.new.27445 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mariadb"

Wed Sep 17 16:37:20 2025 rev:152 rq:1305162 version:11.8.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2025-09-14 
18:48:19.593447876 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new.27445/mariadb.changes       
2025-09-17 16:37:33.817960567 +0200
@@ -1,0 +2,6 @@
+Fri Sep 12 13:15:40 UTC 2025 - Guillaume GARDET <[email protected]>
+
+- Add upstream patch to fix build on armv9:
+  * mariadb-fix-armv9.patch
+
+-------------------------------------------------------------------

New:
----
  mariadb-fix-armv9.patch

----------(New B)----------
  New:- Add upstream patch to fix build on armv9:
  * mariadb-fix-armv9.patch
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mariadb.spec ++++++
--- /var/tmp/diff_new_pack.O5UHAt/_old  2025-09-17 16:37:36.554074768 +0200
+++ /var/tmp/diff_new_pack.O5UHAt/_new  2025-09-17 16:37:36.558074935 +0200
@@ -81,6 +81,7 @@
 Patch10:        fix-pamdir.patch
 Patch11:        gcc13-fix.patch
 Patch12:        mariadb-fix-testsuite-openssl3.2.3.patch
+Patch13:        mariadb-fix-armv9.patch
 # needed for bison SQL parser and wsrep API
 BuildRequires:  bison
 BuildRequires:  cmake
@@ -364,6 +365,7 @@
 %endif
 %patch -P 11 -p1
 %patch -P 12 -p1
+%patch -P 13 -p1
 
 cp %{_sourcedir}/suse-test-run .
 


++++++ mariadb-fix-armv9.patch ++++++
>From 4d0a1a4a7aa1ef85a732343eccd731c5a2ec3b4a Mon Sep 17 00:00:00 2001
From: Ruiqiang Hao <[email protected]>
Date: Mon, 2 Dec 2024 02:18:46 +0000
Subject: [PATCH] MDEV-35566 Ensure compatibility with ARMv9 by updating .arch
 directive

The pmem_cvap() function currently uses the '.arch armv8.2-a' directive
for the 'dc cvap' instruction. This will cause build errors below when
compiling for ARMv9 systems. Update the '.arch' directive to 'armv9.4-a'
to ensure compatibility with ARMv9 architectures.

{standard input}: Assembler messages:
{standard input}:169: Error: selected processor does not support `retaa'
{standard input}:286: Error: selected processor does not support `retaa'
make[2]: *** [storage/innobase/CMakeFiles/innobase_embedded.dir/build.make:
1644: storage/innobase/CMakeFiles/innobase_embedded.dir/sync/cache.cc.o]
Error 1

Signed-off-by: Ruiqiang Hao <[email protected]>
---
 storage/innobase/sync/cache.cc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/storage/innobase/sync/cache.cc b/storage/innobase/sync/cache.cc
index 43d642d05b51b..c5e67709e22b2 100644
--- a/storage/innobase/sync/cache.cc
+++ b/storage/innobase/sync/cache.cc
@@ -82,7 +82,12 @@ static void pmem_cvap(const void* buf, size_t size)
   for (uintptr_t u= uintptr_t(buf) & ~(CPU_LEVEL1_DCACHE_LINESIZE),
          end= uintptr_t(buf) + size;
        u < end; u+= CPU_LEVEL1_DCACHE_LINESIZE)
+#if defined __ARM_ARCH && __ARM_ARCH == 9
+    __asm__ __volatile__(".arch armv9.4-a\n dc cvap, %0" :: "r"(u) : "memory");
+#else
     __asm__ __volatile__(".arch armv8.2-a\n dc cvap, %0" :: "r"(u) : "memory");
+#endif
+
   __asm__ __volatile__("dmb ishst" ::: "memory");
 }
 

Reply via email to