[oe-commits] [meta-openembedded] 09/66: gperftools: fix to work on aarch64

git at git.openembedded.org git at git.openembedded.org
Mon Oct 3 17:31:24 UTC 2016


martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit 510bcc875c689f386595898073de2f278f8b0fdc
Author: Chen Qi <Qi.Chen at windriver.com>
AuthorDate: Mon Sep 26 15:47:48 2016 +0800

    gperftools: fix to work on aarch64
    
    Add '--disable-libunwind' to make it work on aarch64. This would avoid
    system hanging when using libtcmalloc.so.
    
    Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-oe/recipes-support/gperftools/gperftools_2.5.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/gperftools/gperftools_2.5.bb b/meta-oe/recipes-support/gperftools/gperftools_2.5.bb
index 1572d4c..2e4479c 100644
--- a/meta-oe/recipes-support/gperftools/gperftools_2.5.bb
+++ b/meta-oe/recipes-support/gperftools/gperftools_2.5.bb
@@ -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"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list