41 Commits

Author SHA1 Message Date
Wang Mingyu
a3966a6b8e
gperftools: upgrade 2.18 -> 2.18.1
Changelog:
  fix for compilation failure on PPC.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-03-17 13:25:25 -07:00
Wang Mingyu
f74dd7b6e5
gperftools: upgrade 2.16 -> 2.18
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-01-30 23:59:06 -08:00
Alexander Kanavin
fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Chen Qi
59dacb6d4d
gperftools: upgrade from 2.15 to 2.16
disable_libunwind_aarch64.patch is dropped because from my runtime
testing, this patch is no longer needed.

0001-disbale-heap-checkers-and-debug-allocator-on-musl.patch is
dropped because I don't see it necessary now. Things still build
without it.

0001-src-mmap_hook.cc-Fix-build-for-32bit-machine.patch is dropped
because this oe specific patch is no longer needed because of the
following two commits:
02adc8c also disable _TIME_BITS in mmap_hook.cc
198b3dd disable _FILE_OFFSET_BITS in mmap_hook.cc

ppc-musl.patch is rebased.

0002-src-base-elf_mem_image.cc-fix-build-for-musl.patch is added
to fix build failure for musl + ppc64.

0003-Makefile.am-disable-building-noinst-tests-for-musl.patch is
added as a workaround to fix build failure on musl + ppc64.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-28 10:22:01 -08:00
Robert Yang
2037afbc32
gperftools: 2.10 -> 2.15
* Remove 0001-Support-Atomic-ops-on-clang.patch because of:
  commit 54605b8a5807fe893a4b9ff8def982a264cdc6c9
  Author: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  Date:   Wed Jun 21 10:39:18 2023 -0400

      amputate old atomic ops implementation

* Remove sgidef.patch because of:
  commit e78238d94d41764dc72edb37e3d6510255d3dcd4
  Author: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  Date:   Wed Jun 21 10:39:38 2023 -0400

      reworked heap leak checker for more portability

* Remove 0001-Define-off64_t-as-off_t-on-musl.patch because of:
  commit 8be84e4a5c28c33bfdb7da3ee0c92d9620cd552f
  Author: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  Date:   Fri Jul 21 14:18:12 2023 -0400

      drop old mmap hooks and introduce internal & simpler mmap_hook.h

* Rebased 0001-Support-Atomic-ops-on-clang.patch for 2.15

* Rebased ppc-musl.patch for 2.15

* Add 0001-src-mmap_hook.cc-Fix-build-for-32bit-machine.patch to fix
  build error for 32bit machine.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-21 08:46:06 -07:00
Martin Jansa
be8c765c7c *.patch: add Upstream-Status to all patches
There is new patch-status QA check in oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a

This is temporary work around just to hide _many_ warnings from
optional patch-status (if you add it to WARN_QA).

This just added
Upstream-Status: Pending
everywhere without actually investigating what's the proper status.

This is just to hide current QA warnings and to catch new .patch files being
added without Upstream-Status, but the number of Pending patches is now terrible:

5 (26%) 	meta-xfce
6 (50%) 	meta-perl
15 (42%)        meta-webserver
21 (36%)        meta-gnome
25 (57%)        meta-filesystems
26 (43%)        meta-initramfs
45 (45%)        meta-python
47 (55%)        meta-multimedia
312 (63%)       meta-networking
756 (61%)       meta-oe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-21 09:15:20 -07:00
Khem Raj
f586744ab0 gperftools: Define off64_t on musl
alias it to off_t which is 64bit always on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-12-27 09:55:18 -08:00
wangmy
2866fc83fd gperftools: upgrade 2.9.1 -> 2.10
ppc-musl.patch
refreshed for new version.

Changelog:
==========
* Matt T. Proud contributed documentation fix to call Go programming language
  by it's true name instead of golang.
* Robert Scott contributed debugallocator feature to use readable (PROT_READ)
  fence pages. This is activated by TCMALLOC_PAGE_FENCE_READABLE environment veriable.
* User stdpain contributed fix for cmake detection of libunwind.
* Natale Patriciello contributed fix for OSX Monterey support.
* Volodymyr Nikolaichuk contributed support for returning memory back to OS by
  using mmap with MAP_FIXED and PROT_NONE. It is off by default and enabled by
  preprocessor define: FREE_MMAP_PROT_NONE. This should help OSes that don't
  support Linux-style madvise MADV_DONTNEED or BSD-style MADV_FREE.
* Jingyun Hua has contributed basic support for LoongArch.
* Github issue #1338 of failing to build on some recent musl versions has been fixed.
* Github issue #1321 of failing to ship cmake bits with .tar.gz archive has been fixed.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-02 11:37:02 -04:00
Khem Raj
95d0c57188 gperftools: Disable cpu profiles for ppc/musl
Enable heap profiler and heap checker for ppc64/musl as it works now

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-26 18:15:11 -07:00
Richard Purdie
b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Khem Raj
70af4c73c7 gperftools: Update SRCREV to point to 2.9.1 release
Refresh patches
Drop upstreamed patch 0001-profile-handler-Specify-libc-specific-thread_id.patch
Fix build on musl/ppc
Disable heap and cpu profilers on ppc64le/musl since it does not build
stacktrace utility yet

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-13 00:56:14 -08:00
Randy MacLeod
c64ab8ac63 gperftools: upgrade 2.8.1 -> 2.9.1
Add perl modules, sort RDEPENDS and add a description.
Add curl as RDPENDS since it's needed by pprof.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-06 21:40:35 -08:00
zhengruoqin
d39e660920 gperftools: upgrade 2.8 -> 2.8.1
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-29 15:50:45 -08:00
Khem Raj
f3b1dd6a45 gperftools: Fix build with new musl updates
Latest musl shows build failures e.g.
../git/src/profile-handler.cc:275:8: error: no member named '_sigev_un' in 'sigevent'
  sevp._sigev_un._tid = sys_gettid();
  ~~~~ ^

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-02 09:00:52 -08:00
Zang Ruochen
d7431ca787 gperftools: upgrade 2.7.90 -> 2.8
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-08 11:53:53 -07:00
Khem Raj
712df4714e gperftools: Do not build on riscv
Its not yet ported to work on RISCV

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-25 08:32:41 -07:00
Khem Raj
a0744673f0 recipes,packagegroups: Remove libunwind deps for riscv
since libunwind is not buildable, it results in glog not being buildable
and that results in ceres-solver and gperftools opencv needs glob to
eenable libeigen

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-25 08:32:41 -07:00
Wang Mingyu
be3eecf7cd gperftools: upgrade 2.7 -> 2.7.90
refresh 0001-fix-build-with-musl-libc.patch

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-30 22:02:13 -07:00
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
Chen Qi
01b0afc65d gperftools: add the setting of COMPATIBLE_HOST back
This setting was deleted, but on mips and glibc, we still have this
problem. So add this setting back, but limit it to glibc.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-22 10:52:33 -07:00
Martin Jansa
0f2646ef01 gperftools: refresh the patches
WARNING: gperftools-2.6.1-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
The context lines in the patches can be updated with devtool:

    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch 0001-Support-Atomic-ops-on-clang.patch
patching file src/base/atomicops.h
Hunk #1 succeeded at 124 with fuzz 2 (offset 6 lines).

Now at patch 0001-Support-Atomic-ops-on-clang.patch

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-21 18:43:17 -07:00
Khem Raj
738bea45bc gperftools: Fix build on musl/mips
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-10-20 16:14:55 +00:00
Khem Raj
5221b9a456 gperftools: Enable on mips
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-10-04 14:53:30 +00:00
Khem Raj
e70416c59b gperftools: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-07 10:57:37 +02:00
Chen Qi
e1f190b18b gperftools: fixup HOMEPAGE
The old URL for HOMEPAGE is obsolete, use the valid one.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-28 11:06:04 +02:00
Khem Raj
3ec1e79aa0 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>
2017-08-13 13:16:18 +02:00
Khem Raj
23a1d7acca gperftools: Fix build on ppc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-14 23:44:30 +02:00
Qi.Chen@windriver.com
02cf7aba3c gperftools: fix do_compile failure for qemuppc
Fix the following error for qemuppc.

  error: 'siginfo_t' does not name a type

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:25:55 +02:00
Khem Raj
e2975aee7c gperftools: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-11 17:56:42 +01:00
Chen Qi
510bcc875c 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>
2016-10-03 19:19:54 +02:00
Qi.Chen@windriver.com
4efb76b1aa gperftools: upgrade to 2.5
Upgrade gperftools and set COMPATIBLE_HOST according to testing results
for this version.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-22 15:49:27 +02:00
Qi.Chen@windriver.com
30f03b584a gperftools: upgrade to 2.4
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:42:08 +01:00
Matthieu CRAPET
c95e155780 recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues
Changes:
- rename SUMMARY with length > 80 to DESCRIPTION
- rename DESCRIPTION with length < 80 to (non present tag) SUMMARY
- drop final point character at the end of SUMMARY string
- remove trailing whitespace of SUMMARY line

Note: don't bump PR

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-23 23:20:02 +01:00
Koen Kooi
9ab4b52d80 gperftools: update to 2.1
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-01 08:51:05 +01:00
Marcin Juszkiewicz
5537394821 gperftools: add 2.0
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-03-29 13:16:39 +01:00