Index: head/devel/google-perftools/Makefile =================================================================== --- head/devel/google-perftools/Makefile (revision 536706) +++ head/devel/google-perftools/Makefile (revision 536707) @@ -1,78 +1,77 @@ # Created by: Yuri Victorovich # $FreeBSD$ PORTNAME= google-perftools DISTVERSIONPREFIX= gperftools- -DISTVERSION= 2.7 -PORTREVISION= 1 +DISTVERSION= 2.7.90 CATEGORIES= devel MASTER_SITES= https://github.com/gperftools/gperftools/releases/download/gperftools-${PORTVERSION}/ DISTNAME= gperftools-${PORTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Fast, multi-threaded malloc() and nifty performance analysis tools LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING -DOCSDIR= ${PREFIX}/share/doc/gperftools - USES= compiler:c11 gmake libtool GNU_CONFIGURE= yes USE_LDCONFIG= yes TEST_TARGET= check LIBS+= -lexecinfo -PLIST_SUB= SHL3=4.5.3 SHL1=4 +DOCSDIR= ${PREFIX}/share/doc/gperftools + +PLIST_SUB= SHL3=4.5.4 SHL1=4 OPTIONS_DEFINE= DOCS OPTIONS_SINGLE= PAGESIZE ALIGN OPTIONS_SINGLE_ALIGN= ALIGN8 ALIGN16 OPTIONS_SINGLE_PAGESIZE= PAGE8K PAGE32K PAGE64K OPTIONS_DEFAULT= PAGE8K ALIGN16 ALIGN_DESC= The tcmalloc allocation alignment ALIGN8_DESC= 8 bytes allocation alignment ALIGN16_DESC= 16 bytes allocation alignment PAGESIZE_DESC= The tcmalloc internal page size PAGE8K_DESC= 8K page size PAGE32K_DESC= 32K page size PAGE64K_DESC= 64K page size ALIGN8_CONFIGURE_ON= --with-tcmalloc-alignment=8 ALIGN16_CONFIGURE_ON= --with-tcmalloc-alignment=16 PAGE8K_CONFIGURE_ON= --with-tcmalloc-pagesize=8 PAGE32K_CONFIGURE_ON= --with-tcmalloc-pagesize=32 PAGE64K_CONFIGURE_ON= --with-tcmalloc-pagesize=64 PORTDOCS= * .include .if ${COMPILER_TYPE} == "clang" && !defined(USE_GCC) # clang cannot disable builtins individually CXXFLAGS+= -fno-builtin .endif .if ${ARCH} == "amd64" CONFIGURE_ARGS+=--enable-frame-pointers .endif # keep in sync with all platforms where libunwind is available .if (${ARCH} == amd64 || ${ARCH} == i386) LIB_DEPENDS+= libunwind.so:devel/libunwind .endif post-build: @${ECHO} @${ECHO} "Please run 'make check' (requires bash)." @${ECHO} "Two testcases are known to fail. Testsuite is known to be" @${ECHO} "unreliable and give false positives and negatives (PR#661)." @${ECHO} post-install: ${MV} ${STAGEDIR}${PREFIX}/bin/pprof ${STAGEDIR}${PREFIX}/bin/perftools-pprof @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so.* .include Index: head/devel/google-perftools/distinfo =================================================================== --- head/devel/google-perftools/distinfo (revision 536706) +++ head/devel/google-perftools/distinfo (revision 536707) @@ -1,3 +1,3 @@ -TIMESTAMP = 1531802998 -SHA256 (gperftools-2.7.tar.gz) = 1ee8c8699a0eff6b6a203e59b43330536b22bbcbe6448f54c7091e5efb0763c9 -SIZE (gperftools-2.7.tar.gz) = 1523562 +TIMESTAMP = 1590603862 +SHA256 (gperftools-2.7.90.tar.gz) = 3b87256f736ae39faae0619f5eadfb809b30ae5219240efca212331db8b4ca63 +SIZE (gperftools-2.7.90.tar.gz) = 1593634 Index: head/devel/google-perftools/files/patch-configure =================================================================== --- head/devel/google-perftools/files/patch-configure (revision 536706) +++ head/devel/google-perftools/files/patch-configure (nonexistent) @@ -1,10 +0,0 @@ ---- configure.orig 2018-04-30 06:05:33 UTC -+++ configure -@@ -18110,6 +18110,7 @@ $as_echo_n "checking how to access the program counter - pc_fields="$pc_fields uc_mcontext.arm_pc" # Linux (arm arch 5) - pc_fields="$pc_fields uc_mcontext.gp_regs[PT_NIP]" # Suse SLES 11 (ppc64) - pc_fields="$pc_fields uc_mcontext.mc_eip" # FreeBSD (i386) -+ pc_fields="$pc_fields uc_mcontext.mc_srr0" # FreeBSD (powerpc, powerpc64) - pc_fields="$pc_fields uc_mcontext.mc_rip" # FreeBSD (x86_64 [untested]) - pc_fields="$pc_fields uc_mcontext.__gregs[_REG_EIP]" # NetBSD (i386) - pc_fields="$pc_fields uc_mcontext.__gregs[_REG_RIP]" # NetBSD (x86_64) Property changes on: head/devel/google-perftools/files/patch-configure ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/devel/google-perftools/files/patch-src_stacktrace__powerpc-darwin-inl.h =================================================================== --- head/devel/google-perftools/files/patch-src_stacktrace__powerpc-darwin-inl.h (revision 536706) +++ head/devel/google-perftools/files/patch-src_stacktrace__powerpc-darwin-inl.h (nonexistent) @@ -1,14 +0,0 @@ ---- src/stacktrace_powerpc-darwin-inl.h.orig 2016-08-25 05:12:24 UTC -+++ src/stacktrace_powerpc-darwin-inl.h -@@ -97,7 +97,11 @@ int GET_STACK_TRACE_OR_FRAMES { - // different asm syntax. I don't know quite the best way to discriminate - // systems using the old as from the new one; I've gone with __APPLE__. - // TODO(csilvers): use autoconf instead, to look for 'as --version' == 1 or 2 -+#ifdef __FreeBSD__ -+ __asm__ volatile ("mr %0,1" : "=r" (sp)); -+#else - __asm__ volatile ("mr %0,r1" : "=r" (sp)); -+#endif - - // On PowerPC, the "Link Register" or "Link Record" (LR), is a stack - // entry that holds the return address of the subroutine call (what Property changes on: head/devel/google-perftools/files/patch-src_stacktrace__powerpc-darwin-inl.h ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/devel/google-perftools/pkg-plist =================================================================== --- head/devel/google-perftools/pkg-plist (revision 536706) +++ head/devel/google-perftools/pkg-plist (revision 536707) @@ -1,50 +1,51 @@ bin/perftools-pprof +bin/pprof-symbolize include/google/heap-checker.h include/google/heap-profiler.h include/google/malloc_extension.h include/google/malloc_extension_c.h include/google/malloc_hook.h include/google/malloc_hook_c.h include/google/profiler.h include/google/stacktrace.h include/google/tcmalloc.h include/gperftools/heap-checker.h include/gperftools/heap-profiler.h include/gperftools/malloc_extension.h include/gperftools/malloc_extension_c.h include/gperftools/malloc_hook.h include/gperftools/malloc_hook_c.h include/gperftools/nallocx.h include/gperftools/profiler.h include/gperftools/stacktrace.h include/gperftools/tcmalloc.h lib/libprofiler.a lib/libprofiler.so lib/libprofiler.so.0 -lib/libprofiler.so.0.4.18 +lib/libprofiler.so.0.4.19 lib/libtcmalloc.a lib/libtcmalloc.so lib/libtcmalloc.so.%%SHL1%% lib/libtcmalloc.so.%%SHL3%% lib/libtcmalloc_and_profiler.a lib/libtcmalloc_and_profiler.so lib/libtcmalloc_and_profiler.so.%%SHL1%% lib/libtcmalloc_and_profiler.so.%%SHL3%% lib/libtcmalloc_debug.a lib/libtcmalloc_debug.so lib/libtcmalloc_debug.so.%%SHL1%% lib/libtcmalloc_debug.so.%%SHL3%% lib/libtcmalloc_minimal.a lib/libtcmalloc_minimal.so lib/libtcmalloc_minimal.so.%%SHL1%% lib/libtcmalloc_minimal.so.%%SHL3%% lib/libtcmalloc_minimal_debug.a lib/libtcmalloc_minimal_debug.so lib/libtcmalloc_minimal_debug.so.%%SHL1%% lib/libtcmalloc_minimal_debug.so.%%SHL3%% libdata/pkgconfig/libprofiler.pc libdata/pkgconfig/libtcmalloc.pc libdata/pkgconfig/libtcmalloc_debug.pc libdata/pkgconfig/libtcmalloc_minimal.pc libdata/pkgconfig/libtcmalloc_minimal_debug.pc man/man1/pprof.1.gz