diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-07-22 09:50:42 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-08-13 13:16:18 +0200 |
commit | 3ec1e79aa06341df462aefad05fccb048c79d8cc (patch) | |
tree | 03db0121a14603fc5f21a1b88a2c3b538f906ee0 /meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb | |
parent | 8e2393a92b3461de5bfb552aabb2eaca108d3659 (diff) | |
download | meta-openembedded-contrib-3ec1e79aa06341df462aefad05fccb048c79d8cc.tar.gz |
gperftools: Upgrade to 2.6.1
Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb')
-rw-r--r-- | meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb | 30 |
1 files changed, 30 insertions, 0 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 new file mode 100644 index 0000000000..6c29a61275 --- /dev/null +++ b/meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb @@ -0,0 +1,30 @@ +SUMMARY = "Fast, multi-threaded malloc() and nifty performance analysis tools" +HOMEPAGE = "http://code.google.com/p/gperftools/" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=762732742c73dc6c7fbe8632f06c059a" +DEPENDS += "libunwind" + +SRCREV = "bf840dec0495e17f5c8403e68e10b9d6bf05c559" +SRC_URI = "git://github.com/gperftools/gperftools \ + file://0001-Support-Atomic-ops-on-clang.patch \ + file://0001-Use-ucontext_t-instead-of-struct-ucontext.patch \ + file://0001-fix-build-with-musl-libc.patch \ + file://0001-include-fcntl.h-for-loff_t-definition.patch \ + " + +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*" +# On aarch64, add this option to avoid system hanging when using libtcmalloc.so. +EXTRA_OECONF_aarch64 += "--disable-libunwind" +# Disable thumb1 +# {standard input}: Assembler messages: +# {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" + |