diff options
Diffstat (limited to 'meta-oe/dynamic-layers/meta-python')
| -rw-r--r-- | meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/ppc64_ARCH_BITS.patch | 18 | ||||
| -rw-r--r-- | meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb | 1 |
2 files changed, 19 insertions, 0 deletions
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/ppc64_ARCH_BITS.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/ppc64_ARCH_BITS.patch new file mode 100644 index 0000000000..471d5629a1 --- /dev/null +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/ppc64_ARCH_BITS.patch | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | Subject: [PATCH] stacktrace: Define ARCH_BITS for ppc64 | ||
| 2 | |||
| 3 | src/mongo/util/stacktrace_somap.cpp:89:2: error: #error Unknown target architecture. | ||
| 4 | stacktrace_somap.cpp:92:33: error: 'ELFCLASSARCH_BITS' was not declared in this scope | ||
| 5 | |||
| 6 | Upstream-Status: Pending | ||
| 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 8 | --- a/src/mongo/util/stacktrace_somap.cpp | ||
| 9 | +++ b/src/mongo/util/stacktrace_somap.cpp | ||
| 10 | @@ -81,7 +81,7 @@ void addUnameToSoMap(BSONObjBuilder* soM | ||
| 11 | |||
| 12 | #if defined(__ELF_NATIVE_CLASS) // determine ARCH_BITS | ||
| 13 | #define ARCH_BITS __ELF_NATIVE_CLASS | ||
| 14 | -#elif defined(__x86_64__) || defined(__aarch64__) | ||
| 15 | +#elif defined(__x86_64__) || defined(__aarch64__) || defined(__powerpc64__) | ||
| 16 | #define ARCH_BITS 64 | ||
| 17 | #elif defined(__i386__) || defined(__arm__) | ||
| 18 | #define ARCH_BITS 32 | ||
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 3214918db8..b78255a049 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 | |||
| @@ -29,6 +29,7 @@ SRC_URI = "git://github.com/mongodb/mongo.git;branch=v4.4 \ | |||
| 29 | file://0001-stacktrace-Define-ARCH_BITS-for-x86.patch \ | 29 | file://0001-stacktrace-Define-ARCH_BITS-for-x86.patch \ |
| 30 | file://0001-include-needed-c-header.patch \ | 30 | file://0001-include-needed-c-header.patch \ |
| 31 | file://disable_runtime_check.patch \ | 31 | file://disable_runtime_check.patch \ |
| 32 | file://ppc64_ARCH_BITS.patch \ | ||
| 32 | " | 33 | " |
| 33 | SRC_URI_append_libc-musl ="\ | 34 | SRC_URI_append_libc-musl ="\ |
| 34 | file://0001-Mark-one-of-strerror_r-implementation-glibc-specific.patch \ | 35 | file://0001-Mark-one-of-strerror_r-implementation-glibc-specific.patch \ |
