Commit Graph

6 Commits

Author SHA1 Message Date
Cengiz Can
0953369cd1 recipes-support: gperftools: RDEPENDS for pprof
gperftools comes with pprof tool that usually needs to be run at target
machine to aggregate CPUPROFILE data.

However since we were not shipping objdump (binutils), Getopt::long
and POSIX perl5 modules, it was failing.

I've extended RDEPENDS_${PN} with those so that whenever someone
installs gperftools, those dependencies are fulfilled as well.

Signed-off-by: Cengiz Can <cengiz@kernel.wtf>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-29 16:41:22 -08:00
Khem Raj
b192e792cd gperftools: Convert static and libunwind support to packageconfig
Disable libunwind on musl/arm
gperftools is not buildable for mips in general so extend to musl as
well

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-17 12:34:21 -08:00
Christophe PRIOUZEAU
9673794a4f gperftools: Clarify BSD license variant
The License of gperftools is BSD-3-Clause

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-17 08:35:32 -07:00
Anatol Belski
1636db7e6a gperftools: separate off libtcmalloc-minimal
From: Anatol Belski <anbelski@microsoft.com>

The libctmalloc-minimal is what is useful for C++ apps if only the
improved allocator is needed. The gperftools package stays otherwise
fully backward compatible as it's going to depend on libtcmalloc-minimal.
The libtcmalloc-minimal can be installed separately, which allows for
more flexibility and for cleaner image contents.

The discussion on the patch
https://patchwork.openembedded.org/patch/163234/ has shown, that a
separate package for other libs might have less sense in this case, so
it's not done. The patch 163234 can be abandoned in favor of this for
now.

Signed-off-by: Anatol Belski <anbelski@microsoft.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-22 09:31:46 -07:00
Khem Raj
cfdc6c721c 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@gmail.com>
2019-02-13 09:27:22 -08:00
Mingli Yu
b2bd3b08d6 gperftools: Upgrade to 2.7
* Update gperftools to 2.7
* Remove two backported patches:
  0001-Use-ucontext_t-instead-of-struct-ucontext.patch
  0001-include-fcntl.h-for-loff_t-definition.patch
* Rework the patch 0001-fix-build-with-musl-libc.patch

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-27 22:17:33 -07:00