Skip to contentSkip to conversation

gperftools: add the setting of COMPATIBLE_HOST back

PATCH New [email protected] 1 participant 1 message Jun 22, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gperftools: add the setting of COMPATIBLE_HOST back

From: Chen Qi <[email protected]>

This setting was deleted, but on mips and glibc, we still have this problem. So add this setting back, but limit it to glibc.

---
 meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb +4 -0
index ecac6c5cc..e475663f2 100644
@@ -19,6 +19,10 @@ inherit autotools
 
 S = "${WORKDIR}/git"
 
+# On mips, we have the following error.
+#   do_page_fault(): sending SIGSEGV to ls for invalid read access from 00000008
+#   Segmentation fault (core dumped)
+COMPATIBLE_HOST_mipsarch_libc-glibc = "null"
 # Disable thumb1
 # {standard input}: Assembler messages:
 # {standard input}:434: Error: lo register required -- `ldr pc,[sp]'
Signature · 1 line
2.11.0