diff options
| author | Mingli Yu <mingli.yu@windriver.com> | 2019-03-04 21:28:58 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-03-06 11:31:36 -0800 |
| commit | 8f817f91a30a9c1d491bbd40f102f416b4348ddb (patch) | |
| tree | 54cf9b63b424279090aaa157e9a2804ea3450760 /meta-oe/recipes-dbs/mysql/mariadb/0001-disable-ucontext-on-musl.patch | |
| parent | 70ccd088eac1ebf45d53b2d0fc9ac211a3905ade (diff) | |
| download | meta-openembedded-8f817f91a30a9c1d491bbd40f102f416b4348ddb.tar.gz | |
mariadb: Upgrade to 10.3.13
Per https://mariadb.org/about/maintenance-policy/,
mariadb 5.5.x series only supported until next year
April 2020, so upgrade it to 10.3.13.
Remove some deprecated patches, add some
new patches to fix build failure and rework
two patches to avoid fuzz warnings.
Add -latomic to linker flags for armv5
Use -pthread to link for mussing atomic symbols on arches e.g. riscv
Fixes issues like
ld.bfd: librocksdblib.a(memtable.cc.o):/usr/include/c++/9.0.1/bits/atomic_base.h:438: more undefined references to `__atomic_compare_exchange_1' follow
Fix build with musl
add libxml2 to depends
Fix build with clang
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-dbs/mysql/mariadb/0001-disable-ucontext-on-musl.patch')
| -rw-r--r-- | meta-oe/recipes-dbs/mysql/mariadb/0001-disable-ucontext-on-musl.patch | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/0001-disable-ucontext-on-musl.patch b/meta-oe/recipes-dbs/mysql/mariadb/0001-disable-ucontext-on-musl.patch index 60e9199f95..daf2432a54 100644 --- a/meta-oe/recipes-dbs/mysql/mariadb/0001-disable-ucontext-on-musl.patch +++ b/meta-oe/recipes-dbs/mysql/mariadb/0001-disable-ucontext-on-musl.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 5bc3e7ef9700d12054e0125a126f1bb093f01ef9 Mon Sep 17 00:00:00 2001 | 1 | From b658bdb38b7ff6a78915fd0ac390fc224e4006cb Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Sun, 26 Mar 2017 14:30:33 -0700 | 3 | Date: Sun, 26 Mar 2017 14:30:33 -0700 |
| 4 | Subject: [PATCH] disable ucontext on musl | 4 | Subject: [PATCH] disable ucontext on musl |
| @@ -6,12 +6,13 @@ Subject: [PATCH] disable ucontext on musl | |||
| 6 | musl does not have *contex() APIs even though it has ucontext.h header | 6 | musl does not have *contex() APIs even though it has ucontext.h header |
| 7 | 7 | ||
| 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 9 | |||
| 9 | --- | 10 | --- |
| 10 | include/my_context.h | 2 +- | 11 | include/my_context.h | 2 +- |
| 11 | 1 file changed, 1 insertion(+), 1 deletion(-) | 12 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 12 | 13 | ||
| 13 | diff --git a/include/my_context.h b/include/my_context.h | 14 | diff --git a/include/my_context.h b/include/my_context.h |
| 14 | index dd44103..9b28c17 100644 | 15 | index ea0e3496..4c9b37dc 100644 |
| 15 | --- a/include/my_context.h | 16 | --- a/include/my_context.h |
| 16 | +++ b/include/my_context.h | 17 | +++ b/include/my_context.h |
| 17 | @@ -31,7 +31,7 @@ | 18 | @@ -31,7 +31,7 @@ |
| @@ -23,6 +24,3 @@ index dd44103..9b28c17 100644 | |||
| 23 | #define MY_CONTEXT_USE_UCONTEXT | 24 | #define MY_CONTEXT_USE_UCONTEXT |
| 24 | #else | 25 | #else |
| 25 | #define MY_CONTEXT_DISABLE | 26 | #define MY_CONTEXT_DISABLE |
| 26 | -- | ||
| 27 | 2.12.1 | ||
| 28 | |||
