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@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Chen Qi
2016-09-26 15:47:48 +08:00
committed by Martin Jansa
parent 6ba3b309d7
commit 510bcc875c
@@ -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"