[oe-commits] [meta-openembedded] 02/06: gperftools: Use ARM ISA when using clang

git at git.openembedded.org git at git.openembedded.org
Wed Feb 13 17:43:28 UTC 2019

This is an automated email from the git hooks/post-receive script.

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

commit cfdc6c721c465c6ad111a401e2c3a2445f701a94
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Tue Feb 12 12:23:41 2019 -0800

    gperftools: Use ARM ISA when using clang
    It seemingly needs to be fixed in application, chromium also force ARM
    ISA for internal gperftools
    also see https://bugs.llvm.org/show_bug.cgi?id=31058
    Fixes errors like below
    | ../git/src/base/atomicops-internals-arm-v6plus.h:228:8: error: instruction requires: arm-mode
    |       "ldrexd  %1, [%3]\n"
    |        ^
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
 meta-oe/recipes-support/gperftools/gperftools_2.7.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-support/gperftools/gperftools_2.7.bb b/meta-oe/recipes-support/gperftools/gperftools_2.7.bb
index e9fcc4c..c8b9127 100644
--- a/meta-oe/recipes-support/gperftools/gperftools_2.7.bb
+++ b/meta-oe/recipes-support/gperftools/gperftools_2.7.bb
@@ -26,4 +26,5 @@ COMPATIBLE_HOST_mipsarch_libc-glibc = "null"
 # {standard input}:434: Error: lo register required -- `ldr pc,[sp]'
 # Makefile:4538: recipe for target 'src/base/libtcmalloc_la-linuxthreads.lo' failed
 ARM_INSTRUCTION_SET_armv5 = "arm"
+ARM_INSTRUCTION_SET_toolchain-clang_arm = "arm"

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

More information about the Openembedded-commits mailing list