Skip to contentSkip to conversation

gperftools: Do not build on riscv

PATCH New Khem Raj 1 participant 1 message Apr 23, 2020

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 gperftools: Do not build on riscv

Its not yet ported to work on RISCV

---
 .../meta-python/recipes-dbs/mongodb/mongodb_git.bb            | 2 ++
 meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb    | 4 ++--
 meta-oe/recipes-support/gperftools/gperftools_2.7.90.bb       | 2 ++
 3 files changed, 6 insertions(+), 2 deletions(-)
meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb +2 -0
index 5c3b806f22..58841ef319 100644
@@ -44,6 +44,8 @@ PACKAGECONFIG ??= "tcmalloc system-pcre"
 # dmb operation. So we use system-allocator instead of tcmalloc
 PACKAGECONFIG_remove_armv6 = "tcmalloc"
 PACKAGECONFIG_remove_libc-musl = "tcmalloc"
+PACKAGECONFIG_remove_riscv64 = "tcmalloc"
+PACKAGECONFIG_remove_riscv32 = "tcmalloc"
 
 PACKAGECONFIG[tcmalloc] = "--use-system-tcmalloc,--allocator=system,gperftools,"
 PACKAGECONFIG[shell] = ",--js-engine=none,,"
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +2 -2
index d5c6288cdf..8358e933d7 100644
@@ -275,8 +275,8 @@ RDEPENDS_packagegroup-meta-oe-support ="\
 
 RDEPENDS_packagegroup-meta-oe-support_remove_arm ="numactl"
 RDEPENDS_packagegroup-meta-oe-support_remove_mipsarch = "gperftools"
-RDEPENDS_packagegroup-meta-oe-support_remove_riscv64 = "uim"
-RDEPENDS_packagegroup-meta-oe-support_remove_riscv32 = "uim"
+RDEPENDS_packagegroup-meta-oe-support_remove_riscv64 = "gperftools uim"
+RDEPENDS_packagegroup-meta-oe-support_remove_riscv32 = "gperftools uim"
 RDEPENDS_packagegroup-meta-oe-support_remove_powerpc = "ssiapi"
 
 RDEPENDS_packagegroup-meta-oe-support-egl ="\
meta-oe/recipes-support/gperftools/gperftools_2.7.90.bb +2 -0
index e15133c1b9..b7b7839313 100644
@@ -20,6 +20,8 @@ S = "${WORKDIR}/git"
 #   do_page_fault(): sending SIGSEGV to ls for invalid read access from 00000008
 #   Segmentation fault (core dumped)
 COMPATIBLE_HOST_mipsarch = "null"
+COMPATIBLE_HOST_riscv64 = "null"
+COMPATIBLE_HOST_riscv32 = "null"
 
 # Disable thumb1
 # {standard input}: Assembler messages:
Signature · 1 line
2.26.2