diff options
2 files changed, 30 insertions, 0 deletions
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-stacktrace-Define-ARCH_BITS-for-x86.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-stacktrace-Define-ARCH_BITS-for-x86.patch new file mode 100644 index 0000000000..a92883516c --- /dev/null +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-stacktrace-Define-ARCH_BITS-for-x86.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From efd79bda1b85a5a4398a71e5ea2bc00ee4b0ea46 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 15 Sep 2020 18:20:27 -0700 | ||
4 | Subject: [PATCH] stacktrace: Define ARCH_BITS for x86 | ||
5 | |||
6 | stacktrace_somap.cpp:92:33: error: 'ELFCLASSARCH_BITS' was not declared in this scope | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | src/mongo/util/stacktrace_somap.cpp | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/src/mongo/util/stacktrace_somap.cpp b/src/mongo/util/stacktrace_somap.cpp | ||
15 | index f7ba66a142..2231948ce8 100644 | ||
16 | --- a/src/mongo/util/stacktrace_somap.cpp | ||
17 | +++ b/src/mongo/util/stacktrace_somap.cpp | ||
18 | @@ -83,7 +83,7 @@ void addUnameToSoMap(BSONObjBuilder* soMap) { | ||
19 | #define ARCH_BITS __ELF_NATIVE_CLASS | ||
20 | #elif defined(__x86_64__) || defined(__aarch64__) | ||
21 | #define ARCH_BITS 64 | ||
22 | -#elif defined(__arm__) | ||
23 | +#elif defined(__i386__) || defined(__arm__) | ||
24 | #define ARCH_BITS 32 | ||
25 | #else | ||
26 | #error Unknown target architecture. | ||
27 | -- | ||
28 | 2.28.0 | ||
29 | |||
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb index 7aa69b11cb..a153498480 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb | |||
@@ -26,6 +26,7 @@ SRC_URI = "git://github.com/mongodb/mongo.git;branch=v4.4 \ | |||
26 | file://0003-Fix-unknown-prefix-env.patch \ | 26 | file://0003-Fix-unknown-prefix-env.patch \ |
27 | file://1296.patch \ | 27 | file://1296.patch \ |
28 | file://0001-Fix-compilation-with-fno-common.patch \ | 28 | file://0001-Fix-compilation-with-fno-common.patch \ |
29 | file://0001-stacktrace-Define-ARCH_BITS-for-x86.patch \ | ||
29 | " | 30 | " |
30 | SRC_URI_append_libc-musl ="\ | 31 | SRC_URI_append_libc-musl ="\ |
31 | file://0001-Mark-one-of-strerror_r-implementation-glibc-specific.patch \ | 32 | file://0001-Mark-one-of-strerror_r-implementation-glibc-specific.patch \ |