diff options
| author | Mingli Yu <mingli.yu@windriver.com> | 2025-11-24 17:35:45 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-11-24 21:54:46 -0800 |
| commit | a5ef451fb7c8dc4d428a4c243fd59565757d728b (patch) | |
| tree | 35de48939e347df2df5ad5116b3dee02dc341557 | |
| parent | 49894e57b05badb1416dc23e5ec3a02b2acde565 (diff) | |
| download | meta-openembedded-a5ef451fb7c8dc4d428a4c243fd59565757d728b.tar.gz | |
mariadb: Upgrade 11.4.8 -> 11.4.9
Remove the 0001-Ensure-compatibility-with-ARMv9-by-updating-.arch-di.patch
patch as its logic included in new version [1].
Release notes: https://mariadb.com/docs/release-notes/community-server/11.4/11.4.9
[1] https://github.com/MariaDB/server/commit/e8026a50197cbfccd70a2072cbc0ae4728a4ab40
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-dbs/mysql/mariadb-native_11.4.9.bb (renamed from meta-oe/recipes-dbs/mysql/mariadb-native_11.4.8.bb) | 0 | ||||
| -rw-r--r-- | meta-oe/recipes-dbs/mysql/mariadb.inc | 3 | ||||
| -rw-r--r-- | meta-oe/recipes-dbs/mysql/mariadb/0001-Ensure-compatibility-with-ARMv9-by-updating-.arch-di.patch | 41 | ||||
| -rw-r--r-- | meta-oe/recipes-dbs/mysql/mariadb_11.4.9.bb (renamed from meta-oe/recipes-dbs/mysql/mariadb_11.4.8.bb) | 0 |
4 files changed, 1 insertions, 43 deletions
diff --git a/meta-oe/recipes-dbs/mysql/mariadb-native_11.4.8.bb b/meta-oe/recipes-dbs/mysql/mariadb-native_11.4.9.bb index ff48dcd806..ff48dcd806 100644 --- a/meta-oe/recipes-dbs/mysql/mariadb-native_11.4.8.bb +++ b/meta-oe/recipes-dbs/mysql/mariadb-native_11.4.9.bb | |||
diff --git a/meta-oe/recipes-dbs/mysql/mariadb.inc b/meta-oe/recipes-dbs/mysql/mariadb.inc index 82479c248f..4fcb5a1e40 100644 --- a/meta-oe/recipes-dbs/mysql/mariadb.inc +++ b/meta-oe/recipes-dbs/mysql/mariadb.inc | |||
| @@ -22,14 +22,13 @@ SRC_URI = "https://archive.mariadb.org/${BP}/source/${BP}.tar.gz \ | |||
| 22 | file://0001-sql-CMakeLists.txt-fix-gen_lex_hash-not-found.patch \ | 22 | file://0001-sql-CMakeLists.txt-fix-gen_lex_hash-not-found.patch \ |
| 23 | file://lfs64.patch \ | 23 | file://lfs64.patch \ |
| 24 | file://0001-Add-missing-includes-cstdint-and-cstdio.patch \ | 24 | file://0001-Add-missing-includes-cstdint-and-cstdio.patch \ |
| 25 | file://0001-Ensure-compatibility-with-ARMv9-by-updating-.arch-di.patch \ | ||
| 26 | file://riscv32.patch \ | 25 | file://riscv32.patch \ |
| 27 | file://0001-Remove-x86-specific-loop-in-my_convert.patch \ | 26 | file://0001-Remove-x86-specific-loop-in-my_convert.patch \ |
| 28 | file://0001-support-reproducible-builds.patch \ | 27 | file://0001-support-reproducible-builds.patch \ |
| 29 | file://0001-storage-mroonga-CMakeLists.txt-fix-reproducible-buil.patch \ | 28 | file://0001-storage-mroonga-CMakeLists.txt-fix-reproducible-buil.patch \ |
| 30 | file://0001-MDEV-38029-my_tzinfo-t-fails-for-certain-TZ-values-o.patch \ | 29 | file://0001-MDEV-38029-my_tzinfo-t-fails-for-certain-TZ-values-o.patch \ |
| 31 | " | 30 | " |
| 32 | SRC_URI[sha256sum] = "52fa4dca2c5f80afc1667d523a27c06176d98532298a6b0c31ed73505f49e15c" | 31 | SRC_URI[sha256sum] = "8e481ca29b5a740444d45451c8ea2d93711cf525d6fa5d27bc9512cf8973b075" |
| 33 | 32 | ||
| 34 | UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/tags" | 33 | UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/tags" |
| 35 | 34 | ||
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/0001-Ensure-compatibility-with-ARMv9-by-updating-.arch-di.patch b/meta-oe/recipes-dbs/mysql/mariadb/0001-Ensure-compatibility-with-ARMv9-by-updating-.arch-di.patch deleted file mode 100644 index 2a1c74a68c..0000000000 --- a/meta-oe/recipes-dbs/mysql/mariadb/0001-Ensure-compatibility-with-ARMv9-by-updating-.arch-di.patch +++ /dev/null | |||
| @@ -1,41 +0,0 @@ | |||
| 1 | From 0b1ba174bd5148c0675b335fcebde767a56e10bb Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Ruiqiang Hao <Ruiqiang.Hao@windriver.com> | ||
| 3 | Date: Mon, 2 Dec 2024 02:18:46 +0000 | ||
| 4 | Subject: [PATCH] Ensure compatibility with ARMv9 by updating .arch directive | ||
| 5 | |||
| 6 | The pmem_cvap() function currently uses the '.arch armv8.2-a' directive | ||
| 7 | for the 'dc cvap' instruction. This will cause build errors below when | ||
| 8 | compiling for ARMv9 systems. Update the '.arch' directive to 'armv9.4-a' | ||
| 9 | to ensure compatibility with ARMv9 architectures. | ||
| 10 | |||
| 11 | {standard input}: Assembler messages: | ||
| 12 | {standard input}:169: Error: selected processor does not support `retaa' | ||
| 13 | {standard input}:286: Error: selected processor does not support `retaa' | ||
| 14 | make[2]: *** [storage/innobase/CMakeFiles/innobase_embedded.dir/build.make: | ||
| 15 | 1644: storage/innobase/CMakeFiles/innobase_embedded.dir/sync/cache.cc.o] | ||
| 16 | Error 1 | ||
| 17 | |||
| 18 | Upstream-Status: Submitted | ||
| 19 | |||
| 20 | Signed-off-by: Ruiqiang Hao <Ruiqiang.Hao@windriver.com> | ||
| 21 | --- | ||
| 22 | storage/innobase/sync/cache.cc | 5 +++++ | ||
| 23 | 1 file changed, 5 insertions(+) | ||
| 24 | |||
| 25 | diff --git a/storage/innobase/sync/cache.cc b/storage/innobase/sync/cache.cc | ||
| 26 | index 43d642d0..c5e67709 100644 | ||
| 27 | --- a/storage/innobase/sync/cache.cc | ||
| 28 | +++ b/storage/innobase/sync/cache.cc | ||
| 29 | @@ -82,7 +82,12 @@ static void pmem_cvap(const void* buf, size_t size) | ||
| 30 | for (uintptr_t u= uintptr_t(buf) & ~(CPU_LEVEL1_DCACHE_LINESIZE), | ||
| 31 | end= uintptr_t(buf) + size; | ||
| 32 | u < end; u+= CPU_LEVEL1_DCACHE_LINESIZE) | ||
| 33 | +#if defined __ARM_ARCH && __ARM_ARCH == 9 | ||
| 34 | + __asm__ __volatile__(".arch armv9.4-a\n dc cvap, %0" :: "r"(u) : "memory"); | ||
| 35 | +#else | ||
| 36 | __asm__ __volatile__(".arch armv8.2-a\n dc cvap, %0" :: "r"(u) : "memory"); | ||
| 37 | +#endif | ||
| 38 | + | ||
| 39 | __asm__ __volatile__("dmb ishst" ::: "memory"); | ||
| 40 | } | ||
| 41 | |||
diff --git a/meta-oe/recipes-dbs/mysql/mariadb_11.4.8.bb b/meta-oe/recipes-dbs/mysql/mariadb_11.4.9.bb index b1d1355e2b..b1d1355e2b 100644 --- a/meta-oe/recipes-dbs/mysql/mariadb_11.4.8.bb +++ b/meta-oe/recipes-dbs/mysql/mariadb_11.4.9.bb | |||
