On 10/03/2017 12:06 AM, Khem Raj wrote:
Signed-off-by: Khem Raj <raj.k...@gmail.com>
---
  meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb | 4 ----
  1 file changed, 4 deletions(-)

diff --git a/meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb 
b/meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb
index 23284670b..8ce376c91 100644
--- a/meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb
+++ b/meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb
@@ -18,10 +18,6 @@ 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 = "(i.86|x86_64|powerpc|powerpc64|arm|aarch64).*-linux*"
  # Disable thumb1
  # {standard input}: Assembler messages:
  # {standard input}:434: Error: lo register required -- `ldr pc,[sp]'

Hi Khem,

On qemumips, I still get the error.

               root@qemumips:~# LD_PRELOAD=libtcmalloc.so ls /
[ 407.636947] do_page_fault(): sending SIGSEGV to ls for invalid read access from 00000008 [ 407.646240] epc = 77e1ae08 in libunwind.so.8.0.1[77e18000+c000] [ 407.651497] ra = 77e1b3ac in libunwind.so.8.0.1[77e18000+c000]
            Segmentation fault (core dumped)

The libc is glibc. I didn't test for musl.

I guess you've tested mips for musl. So how about we add this setting back but limit it to glibc?
Something like:
COMPATIBLE_HOST_libc-glibc = "(i.86|x86_64|powerpc|powerpc64|arm|aarch64).*-linux*"

Best Regards,
Chen Qi
--
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to