gperftools: updated to 2.8 gperftools 2.8 is out! Here are notable changes: * ProfilerGetStackTrace is now officially supported API for libprofiler. Contributed by Kirill M端ller. * Build failures on mingw were fixed. This fixed issue 1108. * Build failure of page_heap_test on MSVC was fixed. * Ryan Macnak contributed fix for compiling linux syscall support on i386 and recent GCCs. This fixed issue 1076. * test failures caused by new gcc 10 optimizations were fixed. Same change also fixed tests on clang.diff -r1.17 -r1.18 pkgsrc/devel/gperftools/Makefile
(adam)
@@ -1,35 +1,32 @@ | @@ -1,35 +1,32 @@ | |||
1 | # $NetBSD: Makefile,v 1.17 2020/08/31 18:07:21 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.18 2020/10/03 06:49:48 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= gperftools-2.7 | 3 | DISTNAME= gperftools-2.8 | |
4 | PKGREVISION= 4 | |||
5 | CATEGORIES= devel | 4 | CATEGORIES= devel | |
6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=gperftools/} | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=gperftools/} | |
7 | GITHUB_PROJECT= gperftools | 6 | GITHUB_PROJECT= gperftools | |
8 | GITHUB_RELEASE= ${DISTNAME} | 7 | GITHUB_RELEASE= ${DISTNAME} | |
9 | 8 | |||
10 | MAINTAINER= cheusov@NetBSD.org | 9 | MAINTAINER= cheusov@NetBSD.org | |
11 | HOMEPAGE= https://github.com/gperftools/gperftools | 10 | HOMEPAGE= https://github.com/gperftools/gperftools | |
12 | COMMENT= Fast, multi-threaded malloc() and nifty performance analysis tools | 11 | COMMENT= Fast, multi-threaded malloc() and nifty performance analysis tools | |
13 | LICENSE= modified-bsd | 12 | LICENSE= modified-bsd | |
14 | 13 | |||
15 | USE_LANGUAGES= c c++ | 14 | USE_LANGUAGES= c c++ | |
16 | USE_LIBTOOL= yes | 15 | USE_LIBTOOL= yes | |
17 | USE_TOOLS+= gmake perl:run | 16 | USE_TOOLS+= gmake perl:run | |
18 | GNU_CONFIGURE= yes | 17 | GNU_CONFIGURE= yes | |
19 | # on some platforms heap checker is not build by default | 18 | # on some platforms heap checker is not build by default | |
20 | CONFIGURE_ARGS+= --enable-heap-checker | 19 | CONFIGURE_ARGS+= --enable-heap-checker | |
21 | # enable deprecated ucontext | |||
22 | CFLAGS.Darwin+= -D_XOPEN_SOURCE=1 | |||
23 | 20 | |||
24 | # for backtrace() | 21 | # for backtrace() | |
25 | .include "../../mk/bsd.prefs.mk" | 22 | .include "../../mk/bsd.prefs.mk" | |
26 | .if (${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD") && exists(/usr/include/execinfo.h) | 23 | .if (${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD") && exists(/usr/include/execinfo.h) | |
27 | LIBS+= -lexecinfo | 24 | LIBS+= -lexecinfo | |
28 | CONFIGURE_ARGS+= --enable-stacktrace-via-backtrace | 25 | CONFIGURE_ARGS+= --enable-stacktrace-via-backtrace | |
29 | .endif | 26 | .endif | |
30 | 27 | |||
31 | PKGCONFIG_OVERRIDE= libprofiler.pc | 28 | PKGCONFIG_OVERRIDE= libprofiler.pc | |
32 | PKGCONFIG_OVERRIDE+= libtcmalloc.pc | 29 | PKGCONFIG_OVERRIDE+= libtcmalloc.pc | |
33 | PKGCONFIG_OVERRIDE+= libtcmalloc_debug.pc | 30 | PKGCONFIG_OVERRIDE+= libtcmalloc_debug.pc | |
34 | PKGCONFIG_OVERRIDE+= libtcmalloc_minimal.pc | 31 | PKGCONFIG_OVERRIDE+= libtcmalloc_minimal.pc | |
35 | PKGCONFIG_OVERRIDE+= libtcmalloc_minimal_debug.pc | 32 | PKGCONFIG_OVERRIDE+= libtcmalloc_minimal_debug.pc |
@@ -1,15 +1,16 @@ | @@ -1,15 +1,16 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.3 2017/07/05 11:17:17 adam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.4 2020/10/03 06:49:48 adam Exp $ | |
2 | bin/pprof | 2 | bin/pprof | |
3 | bin/pprof-symbolize | |||
3 | include/google/heap-checker.h | 4 | include/google/heap-checker.h | |
4 | include/google/heap-profiler.h | 5 | include/google/heap-profiler.h | |
5 | include/google/malloc_extension.h | 6 | include/google/malloc_extension.h | |
6 | include/google/malloc_extension_c.h | 7 | include/google/malloc_extension_c.h | |
7 | include/google/malloc_hook.h | 8 | include/google/malloc_hook.h | |
8 | include/google/malloc_hook_c.h | 9 | include/google/malloc_hook_c.h | |
9 | include/google/profiler.h | 10 | include/google/profiler.h | |
10 | include/google/stacktrace.h | 11 | include/google/stacktrace.h | |
11 | include/google/tcmalloc.h | 12 | include/google/tcmalloc.h | |
12 | include/gperftools/heap-checker.h | 13 | include/gperftools/heap-checker.h | |
13 | include/gperftools/heap-profiler.h | 14 | include/gperftools/heap-profiler.h | |
14 | include/gperftools/malloc_extension.h | 15 | include/gperftools/malloc_extension.h | |
15 | include/gperftools/malloc_extension_c.h | 16 | include/gperftools/malloc_extension_c.h |
@@ -1,11 +1,10 @@ | @@ -1,11 +1,10 @@ | |||
1 | $NetBSD: distinfo,v 1.11 2019/11/28 12:19:58 bouyer Exp $ | 1 | $NetBSD: distinfo,v 1.12 2020/10/03 06:49:48 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (gperftools-2.7.tar.gz) = 89e3e1df674bc4ba1a9e97246b58a26a4e92d0a3 | 3 | SHA1 (gperftools-2.8.tar.gz) = 2caf94d01a3aa36c338ed52bd5ec508f05593d8d | |
4 | RMD160 (gperftools-2.7.tar.gz) = a45ba1a6e601fe46ec7b7ed3035251f991371bd2 | 4 | RMD160 (gperftools-2.8.tar.gz) = e35c9a2dc59aa36abbe3a30a10a47e7342ff3381 | |
5 | SHA512 (gperftools-2.7.tar.gz) = 7cd079fcfa9fd517ef99ff81c294daa6150898ae9024cb5ee02e1bce086d135d2cadcd2b863528cc82327fc00c9f4574d5078b47a02ac57fbc393fa66adc32ec | 5 | SHA512 (gperftools-2.8.tar.gz) = 7c0493de4e324a3589ef400a09c642e1fa56878be5730d8de97bcb8b08d91659adb1e1549e6871c074e4f76923e742164aca06500951a84920c72e16d3b1fc8a | |
6 | Size (gperftools-2.7.tar.gz) = 1523562 bytes | 6 | Size (gperftools-2.8.tar.gz) = 1595567 bytes | |
7 | SHA1 (patch-benchmark_getcontext_light.cc) = 892c709fbda8476053e581262feeea4af1a27795 | |||
8 | SHA1 (patch-configure) = 612e1dda5ecf65451153e9616f69e0c58add086a | 7 | SHA1 (patch-configure) = 612e1dda5ecf65451153e9616f69e0c58add086a | |
9 | SHA1 (patch-src_base_atomicops-internals-arm-v6plus.h) = b3aeddd10d2506192551485570c31c0b3ff02432 | 8 | SHA1 (patch-src_base_atomicops-internals-arm-v6plus.h) = b3aeddd10d2506192551485570c31c0b3ff02432 | |
10 | SHA1 (patch-src_base_sysinfo.cc) = 558034b05ad3d2870a7269762d3b58442824e649 | 9 | SHA1 (patch-src_base_sysinfo.cc) = 558034b05ad3d2870a7269762d3b58442824e649 | |
11 | SHA1 (patch-src_symbolize.cc) = fdbc603dba286b45d092c3447b80a537549bd78d | 10 | SHA1 (patch-src_symbolize.cc) = fdbc603dba286b45d092c3447b80a537549bd78d |