Skip to contentSkip to conversation

gperftools: fix to work on aarch64

PATCH In review [email protected] 2 participants 2 messages Sep 26, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gperftools: fix to work on aarch64

From: Chen Qi <[email protected]>

Add '--disable-libunwind' to make it work on aarch64. This would avoid system hanging when using libtcmalloc.so.

---
 meta-oe/recipes-support/gperftools/gperftools_2.5.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
meta-oe/recipes-support/gperftools/gperftools_2.5.bb +3 -2
index 1572d4c..2e4479c 100644
@@ -14,5 +14,6 @@ inherit autotools
 # On mips, we have the following error.
 #   do_page_fault(): sending SIGSEGV to ls for invalid read access from 00000008
 #   Segmentation fault (core dumped)
-# On aarch64, system hangs when using libtcmalloc.so.
-COMPATIBLE_HOST = "(i.86|x86_64|powerpc|powerpc64|arm).*-linux*"
+COMPATIBLE_HOST = "(i.86|x86_64|powerpc|powerpc64|arm|aarch64).*-linux*"
+# On aarch64, add this option to avoid system hanging when using libtcmalloc.so.
+EXTRA_OECONF_aarch64 += "--disable-libunwind"
Signature · 1 line
1.9.1
#1 lore raw
Quoted 1 line · On Mon, Sep 26, 2016 at 12:47 AM, <[email protected]> wrote:

+EXTRA_OECONF_aarch64 += "--disable-libunwind"

use append += is undocumented