commit gperftools for openSUSE:Factory

2020-09-10 Thread root
Hello community,

here is the log from the commit of package gperftools for openSUSE:Factory 
checked in at 2020-09-10 22:46:53

Comparing /work/SRC/openSUSE:Factory/gperftools (Old)
 and  /work/SRC/openSUSE:Factory/.gperftools.new.4249 (New)


Package is "gperftools"

Thu Sep 10 22:46:53 2020 rev:25 rq:832926 version:2.7

Changes:

--- /work/SRC/openSUSE:Factory/gperftools/gperftools.changes2019-09-05 
12:04:22.531919413 +0200
+++ /work/SRC/openSUSE:Factory/.gperftools.new.4249/gperftools.changes  
2020-09-10 22:46:56.223762547 +0200
@@ -1,0 +2,6 @@
+Fri Sep  4 20:33:52 UTC 2020 - Jan Engelhardt 
+
+- Add ExclusiveArch declaration to specfile.
+- Trim some old specfile constructs.
+
+---



Other differences:
--
++ gperftools.spec ++
--- /var/tmp/diff_new_pack.AY9J4b/_old  2020-09-10 22:46:57.359763594 +0200
+++ /var/tmp/diff_new_pack.AY9J4b/_new  2020-09-10 22:46:57.363763597 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package gperftools
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,7 +22,7 @@
 Summary:Performance Tools for C++
 License:BSD-3-Clause
 Group:  Development/Libraries/C and C++
-Url:https://github.com/gperftools/gperftools
+URL:https://github.com/gperftools/gperftools
 Source0:
https://github.com/gperftools/gperftools/releases/download/gperftools-%{version}/gperftools-%{version}.tar.gz
 Patch1: %{name}_fix_unassigned_malloc_in_unittest.patch
 Patch2: %{name}_gcc46.patch
@@ -39,9 +39,10 @@
 %ifnarch s390
 BuildRequires:  valgrind-devel
 %endif
+# based on basictypes.h in the source tree
+ExclusiveArch:  %ix86 x86_64 ppc ppc64 ppc64le %arm aarch64 mips s390x
 Provides:   google-perftools
 Obsoletes:  google-perftools
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 The gperftools package contains some utilities to improve and analyze the
@@ -87,11 +88,7 @@
 applications that use the gperftools package.
 
 %prep
-%setup -q
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
+%autosetup -p1
 
 %build
 %global _lto_cflags %{_lto_cflags} -ffat-lto-objects
@@ -109,7 +106,7 @@
 make %{?_smp_mflags}
 
 %install
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
+%make_install
 find %{buildroot} -type f -name "*.la" -delete -print
 
 %post   -n libprofiler0 -p /sbin/ldconfig
@@ -121,17 +118,14 @@
 %postun -n libtcmalloc4 -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root)
 %{_bindir}/pprof
 %{_mandir}/man1/pprof.1.*
 %{_docdir}/%{name}
 
 %files -n libprofiler0
-%defattr(-,root,root)
 %{_libdir}/libprofiler.so.0*
 
 %files -n libtcmalloc4
-%defattr(-,root,root)
 %{_libdir}/libtcmalloc.so.4*
 %{_libdir}/libtcmalloc_debug.so.4*
 %{_libdir}/libtcmalloc_minimal.so.4*
@@ -139,7 +133,6 @@
 %{_libdir}/libtcmalloc_and_profiler.so.4*
 
 %files devel
-%defattr(-,root,root)
 %{_includedir}/google
 %{_includedir}/gperftools
 %{_libdir}/libprofiler.so
@@ -151,7 +144,6 @@
 %{_libdir}/pkgconfig/*.pc
 
 %files devel-static
-%defattr(-,root,root)
 %{_libdir}/libprofiler.a
 %{_libdir}/libtcmalloc.a
 %{_libdir}/libtcmalloc_debug.a




commit gperftools for openSUSE:Factory

2019-09-05 Thread root
Hello community,

here is the log from the commit of package gperftools for openSUSE:Factory 
checked in at 2019-09-05 12:04:06

Comparing /work/SRC/openSUSE:Factory/gperftools (Old)
 and  /work/SRC/openSUSE:Factory/.gperftools.new.7948 (New)


Package is "gperftools"

Thu Sep  5 12:04:06 2019 rev:24 rq:720528 version:2.7

Changes:

--- /work/SRC/openSUSE:Factory/gperftools/gperftools.changes2019-03-14 
14:51:22.863796443 +0100
+++ /work/SRC/openSUSE:Factory/.gperftools.new.7948/gperftools.changes  
2019-09-05 12:04:22.531919413 +0200
@@ -1,0 +2,5 @@
+Fri Aug  2 07:00:37 UTC 2019 - Martin Liška 
+
+- Use FAT LTO objects in order to provide proper static library.
+
+---



Other differences:
--
++ gperftools.spec ++
--- /var/tmp/diff_new_pack.q34EcV/_old  2019-09-05 12:04:25.047918942 +0200
+++ /var/tmp/diff_new_pack.q34EcV/_new  2019-09-05 12:04:25.047918942 +0200
@@ -94,6 +94,7 @@
 %patch4 -p1
 
 %build
+%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
 autoreconf -fi
 %ifnarch s390
 VALGRIND_FL=`pkg-config --cflags valgrind`




commit gperftools for openSUSE:Factory

2019-03-14 Thread root
Hello community,

here is the log from the commit of package gperftools for openSUSE:Factory 
checked in at 2019-03-14 14:51:21

Comparing /work/SRC/openSUSE:Factory/gperftools (Old)
 and  /work/SRC/openSUSE:Factory/.gperftools.new.28833 (New)


Package is "gperftools"

Thu Mar 14 14:51:21 2019 rev:23 rq:683596 version:2.7

Changes:

--- /work/SRC/openSUSE:Factory/gperftools/gperftools.changes2018-06-22 
13:12:19.185853759 +0200
+++ /work/SRC/openSUSE:Factory/.gperftools.new.28833/gperftools.changes 
2019-03-14 14:51:22.863796443 +0100
@@ -1,0 +2,35 @@
+Tue Mar  5 15:31:55 UTC 2019 - Martin Liška 
+
+- Add ppc64-fix-367fd5731a8c68225cb870aa656ea0ce677fe040.patch
+  in order to address power targets.
+
+---
+Fri Feb 15 09:37:39 UTC 2019 - Martin Liška 
+
+- Update to version 2.7:
+  * bug in span stats printing introduced by new scalable page heap
+change was fixed.
+  * Christoph Müllner has contributed couple warnings fixes and
+initial support for aarch64_ilp32 architecture.
+  * Ben Dang contributed documentation fix for heap checker.
+  * Fabrice Fontaine contributed fixed for linking benchmarks
+with --disable-static.
+  * Holy Wu has added sized deallocation unit tests.
+  * Holy Wu has enabled support of sized deallocation (c++14)
+on recent MSVC.
+  * Holy Wu has fixed MSVC build in WIN32_OVERRIDE_ALLOCATORS
+mode. This closed issue #716.
+  * Holy Wu has contributed cleanup of config.h used on windows.
+  * Mao Huang has contributed couple simple tcmalloc changes from
+chromium code base. Making our tcmalloc forks a tiny bit closer.
+  * issue #946 that caused compilation failures on some Linux
+clang installations has been fixed. Much thanks to github
+user htuch for helping to diagnose issue and proposing a fix.
+  * Tulio Magno Quites Machado Filho has contributed build-time
+fix for PPC (for problem introduced in one of commits
+since RC).
+- Add gcc-dont-clobber-rsp.patch (bsc#1121265).
+- Remove ucontext.patch, gperftools-s390.patch
+  and gperftools-aarch64.patch patches.
+
+---

Old:

  gperftools-2.5.tar.gz
  gperftools-aarch64.patch
  gperftools-s390.patch
  ucontext.patch

New:

  gcc-dont-clobber-rsp.patch
  gperftools-2.7.tar.gz
  ppc64-fix-367fd5731a8c68225cb870aa656ea0ce677fe040.patch



Other differences:
--
++ gperftools.spec ++
--- /var/tmp/diff_new_pack.T5YTds/_old  2019-03-14 14:51:24.615796190 +0100
+++ /var/tmp/diff_new_pack.T5YTds/_new  2019-03-14 14:51:24.615796190 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gperftools
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,12 +12,12 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:   gperftools
-Version:2.5
+Version:2.7
 Release:0
 Summary:Performance Tools for C++
 License:BSD-3-Clause
@@ -26,9 +26,8 @@
 Source0:
https://github.com/gperftools/gperftools/releases/download/gperftools-%{version}/gperftools-%{version}.tar.gz
 Patch1: %{name}_fix_unassigned_malloc_in_unittest.patch
 Patch2: %{name}_gcc46.patch
-Patch3: ucontext.patch
-Patch4: gperftools-s390.patch
-Patch5: gperftools-aarch64.patch
+Patch3: gcc-dont-clobber-rsp.patch
+Patch4: ppc64-fix-367fd5731a8c68225cb870aa656ea0ce677fe040.patch
 BuildRequires:  autoconf >= 2.59
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -93,7 +92,6 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
-%patch5 -p1
 
 %build
 autoreconf -fi

++ gcc-dont-clobber-rsp.patch ++
>From 9e5b1628737c67b4587f937164572774592978c4 Mon Sep 17 00:00:00 2001
From: Aliaksey Kandratsenka 
Date: Sun, 10 Feb 2019 12:46:18 -0800
Subject: [PATCH] don't try to mark rsp as clobbered in linux syscall support

rsp is not actually clobbered by that code and later gccs actually (correctly) 
bark
at it.

Fixed issue #1076.
---
 src/base/linux_syscall_support.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/base/linux_syscall_support.h b/src/base/linux_syscall_support.h
index 13aa415e..199061a9 100644
--- a/src/base/linux_syscall_support.h
+++ b/src/base/linux_syscall_support.h
@@ -1485,7 +1485,7 @@ struct kernel

commit gperftools for openSUSE:Factory

2018-06-22 Thread root
Hello community,

here is the log from the commit of package gperftools for openSUSE:Factory 
checked in at 2018-06-22 13:12:16

Comparing /work/SRC/openSUSE:Factory/gperftools (Old)
 and  /work/SRC/openSUSE:Factory/.gperftools.new (New)


Package is "gperftools"

Fri Jun 22 13:12:16 2018 rev:22 rq:617022 version:2.5

Changes:

--- /work/SRC/openSUSE:Factory/gperftools/gperftools.changes2018-03-29 
11:50:51.576655658 +0200
+++ /work/SRC/openSUSE:Factory/.gperftools.new/gperftools.changes   
2018-06-22 13:12:19.185853759 +0200
@@ -1,0 +2,6 @@
+Tue May  8 14:54:18 UTC 2018 - mroste...@suse.com
+
+- Add devel-static package, which is needed for building Envoy
+  (https://www.envoyproxy.io/) and Cilium with Envoy integration
+
+---



Other differences:
--
++ gperftools.spec ++
--- /var/tmp/diff_new_pack.i2MVXh/_old  2018-06-22 13:12:20.397808815 +0200
+++ /var/tmp/diff_new_pack.i2MVXh/_new  2018-06-22 13:12:20.401808667 +0200
@@ -78,6 +78,15 @@
 The gperftools-devel package contains static and debug libraries and header
 files for developing applications that use the gperftools package.
 
+%package devel-static
+Summary:Static libraries for performance tools for C++
+Group:  Development/Libraries/C and C++
+Requires:   %{name}-devel = %{version}
+
+%description devel-static
+The gperftools-devel-static package contains static libraries for developing
+applications that use the gperftools package.
+
 %prep
 %setup -q
 %patch1 -p1
@@ -95,7 +104,6 @@
 export CXXFLAGS="%{optflags} -fno-strict-aliasing $VALGRIND_FL"
 export CFLAGS="%{optflags} -fno-strict-aliasing $VALGRIND_FL"
 %configure \
-  --disable-static \
   --with-gnu-ld \
   --with-pic \
   --docdir=%{_defaultdocdir}/%{name}
@@ -143,4 +151,13 @@
 %{_libdir}/libtcmalloc_and_profiler.so
 %{_libdir}/pkgconfig/*.pc
 
+%files devel-static
+%defattr(-,root,root)
+%{_libdir}/libprofiler.a
+%{_libdir}/libtcmalloc.a
+%{_libdir}/libtcmalloc_debug.a
+%{_libdir}/libtcmalloc_minimal.a
+%{_libdir}/libtcmalloc_minimal_debug.a
+%{_libdir}/libtcmalloc_and_profiler.a
+
 %changelog




commit gperftools for openSUSE:Factory

2018-03-29 Thread root
Hello community,

here is the log from the commit of package gperftools for openSUSE:Factory 
checked in at 2018-03-29 11:50:48

Comparing /work/SRC/openSUSE:Factory/gperftools (Old)
 and  /work/SRC/openSUSE:Factory/.gperftools.new (New)


Package is "gperftools"

Thu Mar 29 11:50:48 2018 rev:21 rq:591005 version:2.5

Changes:

--- /work/SRC/openSUSE:Factory/gperftools/gperftools.changes2018-03-16 
10:33:49.425051951 +0100
+++ /work/SRC/openSUSE:Factory/.gperftools.new/gperftools.changes   
2018-03-29 11:50:51.576655658 +0200
@@ -1,0 +2,7 @@
+Mon Mar 26 00:35:41 CEST 2018 - r...@suse.de
+
+- add patch gperftools-aarch64.patch (bsc#1086762)
+  (analog upstream commit 02eeed29df112728564a5dde6417fa4622b57a06)
+  fix build on aarch64 by removing conflicting mmap definition 
+
+---

New:

  gperftools-aarch64.patch



Other differences:
--
++ gperftools.spec ++
--- /var/tmp/diff_new_pack.jAKglW/_old  2018-03-29 11:50:52.648617050 +0200
+++ /var/tmp/diff_new_pack.jAKglW/_new  2018-03-29 11:50:52.652616906 +0200
@@ -28,6 +28,7 @@
 Patch2: %{name}_gcc46.patch
 Patch3: ucontext.patch
 Patch4: gperftools-s390.patch
+Patch5: gperftools-aarch64.patch
 BuildRequires:  autoconf >= 2.59
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -83,6 +84,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 autoreconf -fi

++ gperftools-aarch64.patch ++
--- gperftools-2.5/src/base/linux_syscall_support.h 2018/03/25 22:34:33 
1.1
+++ gperftools-2.5/src/base/linux_syscall_support.h 2018/03/25 22:34:51
@@ -2560,10 +2560,6 @@
   #endif
   #if (defined(__aarch64__)) || \
   (defined(__mips__) && (_MIPS_ISA == _MIPS_ISA_MIPS64))
-LSS_INLINE _syscall6(void*, mmap,  void*, s,
- size_t,   l, int,   p,
- int,  f, int,   d,
- __off64_t,o)
 LSS_INLINE int LSS_NAME(sigaction)(int signum,
const struct kernel_sigaction *act,
struct kernel_sigaction *oldact) {



commit gperftools for openSUSE:Factory

2018-03-16 Thread root
Hello community,

here is the log from the commit of package gperftools for openSUSE:Factory 
checked in at 2018-03-16 10:33:42

Comparing /work/SRC/openSUSE:Factory/gperftools (Old)
 and  /work/SRC/openSUSE:Factory/.gperftools.new (New)


Package is "gperftools"

Fri Mar 16 10:33:42 2018 rev:20 rq:587411 version:2.5

Changes:

--- /work/SRC/openSUSE:Factory/gperftools/gperftools.changes2017-08-24 
17:40:13.391306957 +0200
+++ /work/SRC/openSUSE:Factory/.gperftools.new/gperftools.changes   
2018-03-16 10:33:49.425051951 +0100
@@ -1,0 +2,12 @@
+Thu Mar 15 01:43:38 CET 2018 - r...@suse.de
+
+- add patch gperftools-s390.patch to fix build on s390
+  (bnc#1085398)
+  (basically git commit bf8eacce69df877d1cecdab8c7a6cc3f218ebcc2)
+
+---
+Wed Mar 14 18:38:44 CET 2018 - r...@suse.de
+
+- do not buildrequire valgrind on s390, only exists on s390x 
+
+---

New:

  gperftools-s390.patch



Other differences:
--
++ gperftools.spec ++
--- /var/tmp/diff_new_pack.Qkyumr/_old  2018-03-16 10:33:50.321019690 +0100
+++ /var/tmp/diff_new_pack.Qkyumr/_new  2018-03-16 10:33:50.341018970 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gperftools
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,6 +27,7 @@
 Patch1: %{name}_fix_unassigned_malloc_in_unittest.patch
 Patch2: %{name}_gcc46.patch
 Patch3: ucontext.patch
+Patch4: gperftools-s390.patch
 BuildRequires:  autoconf >= 2.59
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -35,7 +36,9 @@
 BuildRequires:  libunwind-devel
 %endif
 BuildRequires:  pkg-config
+%ifnarch s390
 BuildRequires:  valgrind-devel
+%endif
 Provides:   google-perftools
 Obsoletes:  google-perftools
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -79,10 +82,13 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 autoreconf -fi
+%ifnarch s390
 VALGRIND_FL=`pkg-config --cflags valgrind`
+%endif
 export CPPFLAGS="$VALGRIND_FL"
 export CXXFLAGS="%{optflags} -fno-strict-aliasing $VALGRIND_FL"
 export CFLAGS="%{optflags} -fno-strict-aliasing $VALGRIND_FL"

++ gperftools-s390.patch ++
commit bf8eacce69df877d1cecdab8c7a6cc3f218ebcc2
Author: Bryan Chan 
Date:   Wed Jun 15 00:10:45 2016 -0400

Add support for 31-bit s390; merge linux_syscall_support.h changes from 
upstream.

diff --git a/configure.ac b/configure.ac
index c7221ca..a688a25 100644
--- a/configure.ac
+++ b/configure.ac
@@ -53,8 +53,8 @@ case "$host" in
*-darwin*) default_enable_heap_checker=no;;
 esac
 
-# Currently only backtrace works on s390x.
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM(, [return __s390x__])],
+# Currently only backtrace works on s390.
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM(, [return __s390__])],
   [default_enable_libunwind=no
default_enable_backtrace=yes],
   [default_enable_libunwind=yes
diff --git a/m4/pc_from_ucontext.m4 b/m4/pc_from_ucontext.m4
index d743fa4..c9224bc 100644
--- a/m4/pc_from_ucontext.m4
+++ b/m4/pc_from_ucontext.m4
@@ -27,7 +27,7 @@ AC_DEFUN([AC_PC_FROM_UCONTEXT],
pc_fields="$pc_fields uc_mcontext.sc_ip"# Linux (ia64)
pc_fields="$pc_fields uc_mcontext.pc"   # Linux (mips)
pc_fields="$pc_fields uc_mcontext.uc_regs->gregs[[PT_NIP]]" # Linux (ppc)
-   pc_fields="$pc_fields uc_mcontext.psw.addr" # Linux (s390x)
+   pc_fields="$pc_fields uc_mcontext.psw.addr" # Linux (s390)
pc_fields="$pc_fields uc_mcontext.gregs[[R15]]" # Linux (arm old 
[untested])
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)
diff --git a/src/base/basictypes.h b/src/base/basictypes.h
index b628709..72c27b4 100644
--- a/src/base/basictypes.h
+++ b/src/base/basictypes.h
@@ -363,7 +363,7 @@ class AssignAttributeStartEnd {
 # elif (defined(__aarch64__))
 #   define CACHELINE_ALIGNED __attribute__((aligned(64)))
 // implementation specific, Cortex-A53 and 57 should have 64 bytes
-# elif (defined(__s390x__))
+# elif (defined(__s390__))
 #   define CACHELINE_ALIGNED __attribute__((aligned(256)))
 # else
 #   error Could not determine cache line length - unknown architecture
diff --git a/src/base/linux_syscall_support.h b/src/base/linux_syscall_support.h
index 5d578cd..235f2ad 100644
--- a/src/base/linux_syscall_support.h
+++ b/src/base/linux_sysc

commit gperftools for openSUSE:Factory

2017-08-24 Thread root
Hello community,

here is the log from the commit of package gperftools for openSUSE:Factory 
checked in at 2017-08-24 17:40:10

Comparing /work/SRC/openSUSE:Factory/gperftools (Old)
 and  /work/SRC/openSUSE:Factory/.gperftools.new (New)


Package is "gperftools"

Thu Aug 24 17:40:10 2017 rev:19 rq:516766 version:2.5

Changes:

--- /work/SRC/openSUSE:Factory/gperftools/gperftools.changes2017-04-24 
09:45:58.555785358 +0200
+++ /work/SRC/openSUSE:Factory/.gperftools.new/gperftools.changes   
2017-08-24 17:40:13.391306957 +0200
@@ -1,0 +2,5 @@
+Thu Aug 10 10:17:23 UTC 2017 - sch...@suse.de
+
+- ucontext.patch: fix use of ucontext_t
+
+---

New:

  ucontext.patch



Other differences:
--
++ gperftools.spec ++
--- /var/tmp/diff_new_pack.vSVLE8/_old  2017-08-24 17:40:14.579139726 +0200
+++ /var/tmp/diff_new_pack.vSVLE8/_new  2017-08-24 17:40:14.583139163 +0200
@@ -26,6 +26,7 @@
 Source0:
https://github.com/gperftools/gperftools/releases/download/gperftools-%{version}/gperftools-%{version}.tar.gz
 Patch1: %{name}_fix_unassigned_malloc_in_unittest.patch
 Patch2: %{name}_gcc46.patch
+Patch3: ucontext.patch
 BuildRequires:  autoconf >= 2.59
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -77,6 +78,7 @@
 %setup -q
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 autoreconf -fi

++ ucontext.patch ++
Index: gperftools-2.5/src/stacktrace_powerpc-linux-inl.h
===
--- gperftools-2.5.orig/src/stacktrace_powerpc-linux-inl.h
+++ gperftools-2.5/src/stacktrace_powerpc-linux-inl.h
@@ -44,6 +44,7 @@
 
 #include// for uintptr_t
 #include// for NULL
+#include// for siginfo_t
 #include 
 #include 
 
@@ -52,7 +53,6 @@
 #elif defined(HAVE_UCONTEXT_H)
 #include   // for ucontext_t
 #endif
-typedef ucontext ucontext_t;
 
 // PowerPC64 Little Endian follows BE wrt. backchain, condition register,
 // and LR save area, so no need to adjust the reading struct.
@@ -201,7 +201,7 @@ static int GET_STACK_TRACE_OR_FRAMES {
 struct rt_signal_frame_32 {
   char dummy[64 + 16];
   siginfo_t info;
-  struct ucontext uc;
+  ucontext_t uc;
   // We don't care about the rest, since IP value is at 'uc' field.A
 } *sigframe = reinterpret_cast(current);
 result[n] = (void*) sigframe->uc.uc_mcontext.uc_regs->gregs[PT_NIP];



commit gperftools for openSUSE:Factory

2017-04-24 Thread root
Hello community,

here is the log from the commit of package gperftools for openSUSE:Factory 
checked in at 2017-04-24 09:45:57

Comparing /work/SRC/openSUSE:Factory/gperftools (Old)
 and  /work/SRC/openSUSE:Factory/.gperftools.new (New)


Package is "gperftools"

Mon Apr 24 09:45:57 2017 rev:18 rq:485196 version:2.5

Changes:

--- /work/SRC/openSUSE:Factory/gperftools/gperftools.changes2016-08-05 
18:17:18.0 +0200
+++ /work/SRC/openSUSE:Factory/.gperftools.new/gperftools.changes   
2017-04-24 09:45:58.555785358 +0200
@@ -1,0 +2,6 @@
+Fri Mar 31 15:23:59 UTC 2017 - fcro...@suse.com
+
+- Don't BuildRequires libunwind-devel on s390*, it doesn't exist
+  there.
+
+---



Other differences:
--
++ gperftools.spec ++
--- /var/tmp/diff_new_pack.UrtRAt/_old  2017-04-24 09:46:00.591497430 +0200
+++ /var/tmp/diff_new_pack.UrtRAt/_new  2017-04-24 09:46:00.595496864 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package gperftools
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -30,7 +30,9 @@
 BuildRequires:  automake
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
+%ifnarch s390x s390
 BuildRequires:  libunwind-devel
+%endif
 BuildRequires:  pkg-config
 BuildRequires:  valgrind-devel
 Provides:   google-perftools




commit gperftools for openSUSE:Factory

2016-08-05 Thread h_root
Hello community,

here is the log from the commit of package gperftools for openSUSE:Factory 
checked in at 2016-08-05 18:17:10

Comparing /work/SRC/openSUSE:Factory/gperftools (Old)
 and  /work/SRC/openSUSE:Factory/.gperftools.new (New)


Package is "gperftools"

Changes:

--- /work/SRC/openSUSE:Factory/gperftools/gperftools.changes2016-03-26 
15:27:24.0 +0100
+++ /work/SRC/openSUSE:Factory/.gperftools.new/gperftools.changes   
2016-08-05 18:17:18.0 +0200
@@ -1,0 +2,5 @@
+Tue Aug  2 08:45:28 UTC 2016 - jsl...@suse.com
+
+- use valgrind from system, not the custom one
+
+---



Other differences:
--
++ gperftools.spec ++
--- /var/tmp/diff_new_pack.zRbwC6/_old  2016-08-05 18:17:19.0 +0200
+++ /var/tmp/diff_new_pack.zRbwC6/_new  2016-08-05 18:17:19.0 +0200
@@ -32,6 +32,7 @@
 BuildRequires:  libtool
 BuildRequires:  libunwind-devel
 BuildRequires:  pkg-config
+BuildRequires:  valgrind-devel
 Provides:   google-perftools
 Obsoletes:  google-perftools
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -77,8 +78,10 @@
 
 %build
 autoreconf -fi
-export CXXFLAGS="%{optflags} -fno-strict-aliasing"
-export CFLAGS="%{optflags} -fno-strict-aliasing"
+VALGRIND_FL=`pkg-config --cflags valgrind`
+export CPPFLAGS="$VALGRIND_FL"
+export CXXFLAGS="%{optflags} -fno-strict-aliasing $VALGRIND_FL"
+export CFLAGS="%{optflags} -fno-strict-aliasing $VALGRIND_FL"
 %configure \
   --disable-static \
   --with-gnu-ld \




commit gperftools for openSUSE:Factory

2016-03-26 Thread h_root
Hello community,

here is the log from the commit of package gperftools for openSUSE:Factory 
checked in at 2016-03-26 15:27:21

Comparing /work/SRC/openSUSE:Factory/gperftools (Old)
 and  /work/SRC/openSUSE:Factory/.gperftools.new (New)


Package is "gperftools"

Changes:

--- /work/SRC/openSUSE:Factory/gperftools/gperftools.changes2015-11-02 
12:55:20.0 +0100
+++ /work/SRC/openSUSE:Factory/.gperftools.new/gperftools.changes   
2016-03-26 15:27:24.0 +0100
@@ -1,0 +2,87 @@
+Tue Mar 22 13:33:02 UTC 2016 - cgard...@suse.com
+
+- gperftools 2.5, available 12 March 2016.
+  See https://github.com/gperftools/gperftools/releases
+  * Bryan Chan has contributed s390x support
+  * stacktrace capturing via libgcc's _Unwind_Backtrace was implemented
+(for architectures with missing or broken libunwind).
+  * "emergency malloc" was implemented. Which unbreaks recursive calls
+to malloc/free from stacktrace capturing functions (such us glib'c
+backtrace() or libunwind on arm). It is enabled by
+--enable-emergency-malloc configure flag or by default on arm when
+--enable-stacktrace-via-backtrace is given. It is another fix for a
+number common issues people had on platforms with missing or broken
+libunwind.
+  * C++14 sized-deallocation is now supported (on gcc 5 and recent
+clangs). It is off by default and can be enabled at configure time
+via --enable-sized-delete. On GNU/Linux it can also be enabled at
+run-time by either TCMALLOC_ENABLE_SIZED_DELETE environment variable
+or by defining tcmalloc_sized_delete_enabled function which should
+return 1 to enable it.
+  * we've lowered default value of transfer batch size to 512. Previous
+value (bumped up in 2.1) was too high and caused performance
+regression for some users. 512 should still give us performance
+boost for workloads that need higher transfer batch size while not
+penalizing other workloads too much.
+  * Brian Silverman's patch finally stopped arming profiling timer
+unless profiling is started.
+  * Andrew Morrow has contributed support for obtaining cache size of the
+current thread and softer idling (for use in MongoDB).
+  * we've implemented few minor performance improvements, particularly
+on malloc fast-path.
+  * issue that caused spurious profiler_unittest.sh failures was fixed.
+  * Jonathan Lambrechts contributed improved callgrind format support to
+pprof.
+  * Matt Cross contributed better support for debug symbols in separate
+files to pprof.
+  * Matt Cross contributed support for printing collapsed stack frame
+from pprof aimed at producing flame graphs.
+  * Angus Gratton has contributed documentation fix mentioning that on
+windows only tcmalloc_minimal is supported.
+  * Anton Samokhvalov has made tcmalloc use mi_force_{un,}lock on OSX
+instead of pthread_atfork. Which apparently fixes forking
+issues tcmalloc had on OSX.
+  * Milton Chiang has contributed support for building 32-bit gperftools
+on arm8.
+  * Patrick LoPresti has contributed support for specifying alternative
+profiling signal via CPUPROFILE_TIMER_SIGNAL environment variable.
+  * Paolo Bonzini has contributed support configuring filename for
+sending malloc tracing output via TCMALLOC_TRACE_FILE environment
+variable.
+  * user spotrh has enabled use of futex on arm.
+  * user mitchblank has contributed better declaration for arg-less
+profiler functions.
+  * Tom Conerly contributed proper freeing of memory allocated in
+HeapProfileTable::FillOrderedProfile on error paths.
+  * user fdeweerdt has contributed curl arguments handling fix in pprof
+  * Frederik Mellbin fixed tcmalloc's idea of mangled new and delete
+symbols on windows x64
+  * Dair Grant has contributed cacheline alignment for ThreadCache
+objects
+  * Fredrik Mellbin has contributed updated windows/config.h for Visual
+Studio 2015 and other windows fixes.
+  * we're not linking libpthread to libtcmalloc_minimal anymore. Instead
+libtcmalloc_minimal links to pthread symbols weakly. As a result
+single-threaded programs remain single-threaded when linking to or
+preloading libtcmalloc_minimal.so.
+  * Boris Sazonov has contributed mips compilation fix and printf misue
+in pprof.
+  * Adhemerval Zanella has contributed alignment fixes for statically
+allocated variables.
+  * Jens Rosenboom has contributed fixes for heap-profiler_unittest.sh
+  * gshirishfree has contributed better description for GetStats method.
+  * cyshi has contributed spinlock pause fix.
+  * Chris Mayo has contributed --docdir argument support for configure.
+  * Duncan Sands has contributed fix for function aliases.
+  * Simon Que contributed better include for malloc_hook_c.h
+  * user wmamrak con

commit gperftools for openSUSE:Factory

2015-11-02 Thread h_root
Hello community,

here is the log from the commit of package gperftools for openSUSE:Factory 
checked in at 2015-11-02 12:55:15

Comparing /work/SRC/openSUSE:Factory/gperftools (Old)
 and  /work/SRC/openSUSE:Factory/.gperftools.new (New)


Package is "gperftools"

Changes:

--- /work/SRC/openSUSE:Factory/gperftools/gperftools.changes2015-01-14 
11:45:50.0 +0100
+++ /work/SRC/openSUSE:Factory/.gperftools.new/gperftools.changes   
2015-11-02 12:55:20.0 +0100
@@ -1,0 +2,6 @@
+Sat Oct 31 13:35:12 UTC 2015 - mplus...@suse.com
+
+- Update project and download url
+- Tiny spec file cleanup with spec-cleaner
+
+---



Other differences:
--
++ gperftools.spec ++
--- /var/tmp/diff_new_pack.mDVVsj/_old  2015-11-02 12:55:21.0 +0100
+++ /var/tmp/diff_new_pack.mDVVsj/_new  2015-11-02 12:55:21.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gperftools
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,15 +15,15 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   gperftools
 Version:2.4
 Release:0
 Summary:Performance Tools for C++
 License:BSD-3-Clause
 Group:  Development/Libraries/C and C++
-Url:http://code.google.com/p/gperftools/
-
-Source0:%{name}-%{version}.tar.gz
+Url:https://github.com/gperftools/gperftools
+Source0:
https://github.com/gperftools/gperftools/releases/download/gperftools-%{version}/gperftools-%{version}.tar.gz
 Patch4: %{name}-fix_docdir.patch
 Patch12:%{name}_fix_unassigned_malloc_in_unittest.patch
 Patch14:%{name}_gcc46.patch
@@ -33,9 +33,9 @@
 BuildRequires:  libtool
 BuildRequires:  libunwind-devel
 BuildRequires:  pkg-config
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Provides:   google-perftools
 Obsoletes:  google-perftools
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 ExcludeArch:s390 s390x
 
 %description
@@ -61,10 +61,10 @@
 %package devel
 Summary:Performance tools for C++
 Group:  Development/Libraries/C and C++
-Requires:   %name = %version
-Requires:   libprofiler0 = %version
+Requires:   %{name} = %{version}
+Requires:   libprofiler0 = %{version}
 Requires:   libstdc++-devel
-Requires:   libtcmalloc4 = %version
+Requires:   libtcmalloc4 = %{version}
 Provides:   google-perftools-devel
 Obsoletes:  google-perftools-devel
 
@@ -72,8 +72,6 @@
 The gperftools-devel package contains static and debug libraries and header
 files for developing applications that use the gperftools package.
 
-
-
 %prep
 %setup -q
 %patch4 -p1
@@ -82,48 +80,54 @@
 
 %build
 autoreconf -fi
-export CXXFLAGS="%optflags -fno-strict-aliasing"
-export CFLAGS="%optflags -fno-strict-aliasing"
-%configure --disable-static --with-gnu-ld --with-pic
+export CXXFLAGS="%{optflags} -fno-strict-aliasing"
+export CFLAGS="%{optflags} -fno-strict-aliasing"
+%configure \
+  --disable-static \
+  --with-gnu-ld \
+  --with-pic
 make %{?_smp_mflags}
 
 %install
-make DESTDIR=$RPM_BUILD_ROOT install
-%{__rm} -f %{buildroot}%{_libdir}/*.la
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
+find %{buildroot} -type f -name "*.la" -delete -print
 
 %post   -n libprofiler0 -p /sbin/ldconfig
+
 %postun -n libprofiler0 -p /sbin/ldconfig
+
 %post   -n libtcmalloc4 -p /sbin/ldconfig
+
 %postun -n libtcmalloc4 -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root)
-%_bindir/pprof
-%_mandir/man1/pprof.1.gz
-%_docdir/%name
+%{_bindir}/pprof
+%{_mandir}/man1/pprof.1.*
+%{_docdir}/%{name}
 
 %files -n libprofiler0
 %defattr(-,root,root)
-%_libdir/libprofiler.so.0*
+%{_libdir}/libprofiler.so.0*
 
 %files -n libtcmalloc4
 %defattr(-,root,root)
-%_libdir/libtcmalloc.so.4*
-%_libdir/libtcmalloc_debug.so.4*
-%_libdir/libtcmalloc_minimal.so.4*
-%_libdir/libtcmalloc_minimal_debug.so.4*
-%_libdir/libtcmalloc_and_profiler.so.4*
+%{_libdir}/libtcmalloc.so.4*
+%{_libdir}/libtcmalloc_debug.so.4*
+%{_libdir}/libtcmalloc_minimal.so.4*
+%{_libdir}/libtcmalloc_minimal_debug.so.4*
+%{_libdir}/libtcmalloc_and_profiler.so.4*
 
 %files devel
 %defattr(-,root,root)
-%_includedir/google
-%_includedir/gperftools
-%_libdir/libprofiler.so
-%_libdir/libtcmalloc.so
-%_libdir/libtcmalloc_debug.so
-%_libdir/libtcmalloc_minimal.so
-%_libdir/libtcmalloc_minimal_debug.so
-%_libdir/libtcmalloc_and_profiler.so
-%_libdir/pkgconfig/*.pc
+%{_includedir}/google
+%{_include

commit gperftools for openSUSE:Factory

2015-01-14 Thread h_root
Hello community,

here is the log from the commit of package gperftools for openSUSE:Factory 
checked in at 2015-01-14 11:45:19

Comparing /work/SRC/openSUSE:Factory/gperftools (Old)
 and  /work/SRC/openSUSE:Factory/.gperftools.new (New)


Package is "gperftools"

Changes:

--- /work/SRC/openSUSE:Factory/gperftools/gperftools.changes2014-09-30 
19:42:03.0 +0200
+++ /work/SRC/openSUSE:Factory/.gperftools.new/gperftools.changes   
2015-01-14 11:45:50.0 +0100
@@ -1,0 +2,56 @@
+Mon Jan 10 16:30:24 UTC 2015 - cgard...@suse.com
+
+- gperftools 2.4, available 10 Jan 2015.
+  Skipped version 2.3, release 7 Dec 2014. 2.3 changes included:
+  * ( issue 631 ) fixed debugallocation miscompilation on mmap-less 
+platforms (courtesy of user iamxujian) 
+  * ( issue 630 ) reference to wrong PROFILE (vs. correct CPUPROFILE) 
+environment variable was fixed (courtesy of WenSheng He) 
+  * pprof now has option to display stack traces in output for heap 
+checker (courtesy of Michael Pasieka) 
+  * ( issue 636 ) pprof web command now works on mingw 
+  * ( issue 635 ) pprof now handles library paths that contain spaces 
+(courtesy of user mich...@sebesbefut.com) 
+  * ( issue 637 ) pprof now has an option to not strip template 
+arguments (patch by jiakai) 
+  * ( issue 644 ) possible out-of-bounds access in GetenvBeforeMain 
+was fixed (thanks to user abyss.7) 
+  * ( issue 641 ) pprof now has an option --show_addresses (thanks to 
+user yurivict). New option prints instruction address in addition 
+to function name in stack traces 
+  * ( issue 646 ) pprof now works around some issues of addr2line 
+reportedly when DWARF v4 format is used (patch by Adam McNeeney) 
+  * ( issue 645 ) heap profiler exit message now includes remaining 
+memory allocated info (patch by user yurivict) 
+  * pprof code that finds location of /proc/pid/maps in cpu profile 
+files is now fixed (patch by Ricardo M. Correia) 
+  * ( issue 654 ) pprof now handles "split text segments" feature of 
+Chromium for Android (patch by simonb) 
+  * ( issue 655 ) potential deadlock on windows caused by early call 
+to getenv in malloc initialization code was fixed (bug reported 
+and fix proposed by user zndmitry) 
+  * incorrect detection of arm 6zk instruction set support 
+(-mcpu=arm1176jzf-s) was fixed. (Reported by pedronavf on old issue-493) 
+  * new cpu profiling mode on Linux is now implemented. It sets up separate 
+profiling timers for separate threads. Which improves accuracy of 
+profiling on Linux a lot. It is off by default. And is enabled if both 
+librt.f is loaded and CPUPROFILE_PER_THREAD_TIMERS environment 
+variable is set. But note that all threads need to be registered 
+via ProfilerRegisterThread. 
+  Changes for version 2.4~rc
+  * enabled aggressive decommit option by default. It was found to 
+significantly improve memory fragmentation with negligible impact 
+on performance. (Thanks to investigation work performed by Adhemerval 
+Zanella) 
+  * added ./configure flags for tcmalloc pagesize and tcmalloc allocation 
+alignment. Larger page sizes have been reported to improve performance 
+occasionally. (Patch by Raphael Moreira Zinsly) 
+  * sped-up hot-path of malloc/free. By about 5% on static library and 
+about 10% on shared library. Mainly due to more efficient checking 
+of malloc hooks. 
+  * improved accuracy of stacktrace capturing in cpu profiler (due to 
+issue found by Arun Sharma). As part of that issue pprof's handling 
+of cpu profiles was also improved. 
+- Removed missing_includes.patch; incorporated upstream.
+
+---

Old:

  gperftools-2.2.tar.gz
  missing_includes.patch

New:

  gperftools-2.4.tar.gz



Other differences:
--
++ gperftools.spec ++
--- /var/tmp/diff_new_pack.zjrOL2/_old  2015-01-14 11:45:51.0 +0100
+++ /var/tmp/diff_new_pack.zjrOL2/_new  2015-01-14 11:45:51.0 +0100
@@ -15,9 +15,8 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
 Name:   gperftools
-Version:2.2
+Version:2.4
 Release:0
 Summary:Performance Tools for C++
 License:BSD-3-Clause
@@ -28,8 +27,6 @@
 Patch4: %{name}-fix_docdir.patch
 Patch12:%{name}_fix_unassigned_malloc_in_unittest.patch
 Patch14:%{name}_gcc46.patch
-#PATCH-FIX-UPSTREAM https://code.google.com/p/gperftools/issues/detail?id=268
-Patch15:missing_includes.patch
 BuildRequires:  autoconf >= 2.59
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -82,7 +79,6 @@
 %patch4 -p1
 %patch12 -p1
 %patch14 

commit gperftools for openSUSE:Factory

2014-09-30 Thread h_root
Hello community,

here is the log from the commit of package gperftools for openSUSE:Factory 
checked in at 2014-09-30 19:40:29

Comparing /work/SRC/openSUSE:Factory/gperftools (Old)
 and  /work/SRC/openSUSE:Factory/.gperftools.new (New)


Package is "gperftools"

Changes:

--- /work/SRC/openSUSE:Factory/gperftools/gperftools.changes2014-09-17 
17:25:01.0 +0200
+++ /work/SRC/openSUSE:Factory/.gperftools.new/gperftools.changes   
2014-09-30 19:42:03.0 +0200
@@ -1,0 +2,6 @@
+Sun Sep 28 18:44:03 UTC 2014 - jeng...@inai.de
+
+- Implement shlib packaging guidelines: split libraries
+- Improve on RPM group classification
+
+---



Other differences:
--
++ gperftools.spec ++
--- /var/tmp/diff_new_pack.eU8QtU/_old  2014-09-30 19:42:04.0 +0200
+++ /var/tmp/diff_new_pack.eU8QtU/_new  2014-09-30 19:42:04.0 +0200
@@ -19,23 +19,24 @@
 Name:   gperftools
 Version:2.2
 Release:0
+Summary:Performance Tools for C++
+License:BSD-3-Clause
+Group:  Development/Libraries/C and C++
 Url:http://code.google.com/p/gperftools/
+
 Source0:%{name}-%{version}.tar.gz
 Patch4: %{name}-fix_docdir.patch
 Patch12:%{name}_fix_unassigned_malloc_in_unittest.patch
 Patch14:%{name}_gcc46.patch
 #PATCH-FIX-UPSTREAM https://code.google.com/p/gperftools/issues/detail?id=268
 Patch15:missing_includes.patch
-BuildRequires:  autoconf
+BuildRequires:  autoconf >= 2.59
 BuildRequires:  automake
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
 BuildRequires:  libunwind-devel
 BuildRequires:  pkg-config
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Summary:Performance Tools for C++
-License:BSD-3-Clause
-Group:  System/Libraries
 Provides:   google-perftools
 Obsoletes:  google-perftools
 ExcludeArch:s390 s390x
@@ -45,13 +46,28 @@
 performance of C++ programs.  This includes an optimized thread-caching
 malloc() and cpu and heap profiling utilities.
 
+%package -n libprofiler0
+Summary:CPU and Heap profiling library
+Group:  System/Libraries
+
+%description -n libprofiler0
+This subpackage contains a library with cpu and heap profiling.
+
+%package -n libtcmalloc4
+Summary:Thread-caching malloc library
+Group:  System/Libraries
 
+%description -n libtcmalloc4
+This subpackage contains a library with optimized thread-caching
+malloc().
 
 %package devel
 Summary:Performance tools for C++
-Group:  System/Libraries
-Requires:   gperftools = %{version}
+Group:  Development/Libraries/C and C++
+Requires:   %name = %version
+Requires:   libprofiler0 = %version
 Requires:   libstdc++-devel
+Requires:   libtcmalloc4 = %version
 Provides:   google-perftools-devel
 Obsoletes:  google-perftools-devel
 
@@ -70,8 +86,8 @@
 
 %build
 autoreconf -fi
-export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
-export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
+export CXXFLAGS="%optflags -fno-strict-aliasing"
+export CFLAGS="%optflags -fno-strict-aliasing"
 %configure --disable-static --with-gnu-ld --with-pic
 make %{?_smp_mflags}
 
@@ -79,22 +95,29 @@
 make DESTDIR=$RPM_BUILD_ROOT install
 %{__rm} -f %{buildroot}%{_libdir}/*.la
 
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
+%post   -n libprofiler0 -p /sbin/ldconfig
+%postun -n libprofiler0 -p /sbin/ldconfig
+%post   -n libtcmalloc4 -p /sbin/ldconfig
+%postun -n libtcmalloc4 -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root)
 %_bindir/pprof
+%_mandir/man1/pprof.1.gz
+%_docdir/%name
+
+%files -n libprofiler0
+%defattr(-,root,root)
 %_libdir/libprofiler.so.0*
 # %_libdir/libstacktrace.so.0*   # libstacktrace.so got removed in 0.96
+
+%files -n libtcmalloc4
+%defattr(-,root,root)
 %_libdir/libtcmalloc.so.4*
 %_libdir/libtcmalloc_debug.so.4*
 %_libdir/libtcmalloc_minimal.so.4*
 %_libdir/libtcmalloc_minimal_debug.so.4*
 %_libdir/libtcmalloc_and_profiler.so.4*
-%_mandir/man1/pprof.1.gz
-%_docdir/%name
 
 %files devel
 %defattr(-,root,root)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit gperftools for openSUSE:Factory

2014-09-17 Thread h_root
Hello community,

here is the log from the commit of package gperftools for openSUSE:Factory 
checked in at 2014-09-17 17:24:57

Comparing /work/SRC/openSUSE:Factory/gperftools (Old)
 and  /work/SRC/openSUSE:Factory/.gperftools.new (New)


Package is "gperftools"

Changes:

--- /work/SRC/openSUSE:Factory/gperftools/gperftools.changes2014-06-16 
21:26:23.0 +0200
+++ /work/SRC/openSUSE:Factory/.gperftools.new/gperftools.changes   
2014-09-17 17:25:01.0 +0200
@@ -1,0 +2,5 @@
+Mon Sep 15 00:33:02 CEST 2014 - r...@suse.de
+
+- set excludearch for s390 and s390x: not ported there
+
+---



Other differences:
--
++ gperftools.spec ++
--- /var/tmp/diff_new_pack.92LPCU/_old  2014-09-17 17:25:02.0 +0200
+++ /var/tmp/diff_new_pack.92LPCU/_new  2014-09-17 17:25:02.0 +0200
@@ -38,6 +38,7 @@
 Group:  System/Libraries
 Provides:   google-perftools
 Obsoletes:  google-perftools
+ExcludeArch:s390 s390x
 
 %description
 The gperftools package contains some utilities to improve and analyze the

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit gperftools for openSUSE:Factory

2014-06-16 Thread h_root
Hello community,

here is the log from the commit of package gperftools for openSUSE:Factory 
checked in at 2014-06-16 21:26:22

Comparing /work/SRC/openSUSE:Factory/gperftools (Old)
 and  /work/SRC/openSUSE:Factory/.gperftools.new (New)


Package is "gperftools"

Changes:

--- /work/SRC/openSUSE:Factory/gperftools/gperftools.changes2014-05-23 
07:51:42.0 +0200
+++ /work/SRC/openSUSE:Factory/.gperftools.new/gperftools.changes   
2014-06-16 21:26:23.0 +0200
@@ -1,0 +2,6 @@
+Mon Jun 16 10:51:46 UTC 2014 - dval...@suse.com
+
+- fix issue 628 (gperftools 2.2 fails to build on powerpc)
+  missing_includes.patch
+
+---

New:

  missing_includes.patch



Other differences:
--
++ gperftools.spec ++
--- /var/tmp/diff_new_pack.qWc1Ik/_old  2014-06-16 21:26:24.0 +0200
+++ /var/tmp/diff_new_pack.qWc1Ik/_new  2014-06-16 21:26:24.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package gperftools
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,6 +24,8 @@
 Patch4: %{name}-fix_docdir.patch
 Patch12:%{name}_fix_unassigned_malloc_in_unittest.patch
 Patch14:%{name}_gcc46.patch
+#PATCH-FIX-UPSTREAM https://code.google.com/p/gperftools/issues/detail?id=268
+Patch15:missing_includes.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -63,6 +65,7 @@
 %patch4 -p1
 %patch12 -p1
 %patch14 -p1
+%patch15 -p1
 
 %build
 autoreconf -fi

++ missing_includes.patch ++
commit 75b65f96b0bb44d70e0a461a03a3f8c928390283
Author: Raphael Moreira Zinsly 
Date:   Tue Apr 8 17:45:13 2014 -0300

PowerPC: stacktrace function refactor and fixes

This patch fixes the stacktrace creating when the function is
interrupted by a signal. For Linux, the vDSO signal trampoline symbol is
compared against LR from stack backchain and handled different in that
case (since the signal trampoline layout a different stack frame).

Because of this extensive change the PowerPC stacktrace code has now
been refactored to split in Linux and Darwin specific codes.

diff --git a/src/stacktrace_powerpc-darwin-inl.h 
b/src/stacktrace_powerpc-darwin-inl.h
new file mode 100644
index 000..c4c2edb
--- /dev/null
+++ b/src/stacktrace_powerpc-darwin-inl.h
@@ -0,0 +1,158 @@
+// Copyright (c) 2007, Google Inc.
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+// * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+// ---
+// Produce stack trace.  ABI documentation reference can be found at:
+// * PowerPC32 ABI: https://www.power.org/documentation/
+// power-architecture-32-bit-abi-supplement-1-0-embeddedlinuxunified/
+// * PowerPC64 ABI:
+// http://www.linux-foundation.org/spec/ELF/ppc64/PPC-elf64abi-1.9.html#STACK
+
+#ifndef BASE_STACKTRACE_POWERPC_INL_H_
+#define BASE_STACKTRACE_POWERPC_INL_H_
+// Note: this file is included into stacktrace.cc more than once.
+// Anything that should only be defined once should be here:
+
+#include// for uintptr_t
+#inc

commit gperftools for openSUSE:Factory

2014-05-22 Thread h_root
Hello community,

here is the log from the commit of package gperftools for openSUSE:Factory 
checked in at 2014-05-23 07:51:41

Comparing /work/SRC/openSUSE:Factory/gperftools (Old)
 and  /work/SRC/openSUSE:Factory/.gperftools.new (New)


Package is "gperftools"

Changes:

--- /work/SRC/openSUSE:Factory/gperftools/gperftools.changes2013-08-13 
12:53:38.0 +0200
+++ /work/SRC/openSUSE:Factory/.gperftools.new/gperftools.changes   
2014-05-23 07:51:42.0 +0200
@@ -1,0 +2,58 @@
+Mon May 19 15:39:40 UTC 2014 - cgard...@suse.com
+
+- gperftools 2.2, released 3 May 2014.
+  * issue 620 (crash on windows when c runtime dll is reloaded) was
+fixed
+  * a number of fixes for a number compilers and platforms. Notably
+Visual Studio 2013, recent mingw with c++ threads and some OSX
+fixes.
+  * we now have mips and mips64 support! (courtesy of Jovan Zelincevic,
+Jean Lee, user xiaoyur347 and others)
+  * we now have aarch64 (aka arm64) support! (contributed by Riku
+Voipio)
+  * there's now support for ppc64-le (by Raphael Moreira Zinsly and
+Adhemerval Zanella)
+  * there's now some support of uclibc (contributed by user xiaoyur347)
+  * google/ headers will now give you deprecation warning. They are
+deprecated since 2.0
+  * there's now new api: tc_malloc_skip_new_handler (ported from chromium
+fork)
+  * issue-557: added support for dumping heap profile via signal (by
+Jean Lee)
+  * issue-567: Petr Hosek contributed SysAllocator support for windows
+  * Joonsoo Kim contributed several speedups for central freelist code
+  * TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES environment variable now works
+  * configure scripts are now using AM_MAINTAINER_MODE. It'll only
+affect folks who modify source from .tar.gz and want automake to
+automatically rebuild Makefile-s. See automake documentation for
+that.
+  * issue-586: detect main executable even if PIE is active (based on
+patch by user themastermind1). Notably, it fixes profiler use with
+ruby.
+  * there is now support for switching backtrace capturing method at
+runtime (via TCMALLOC_STACKTRACE_METHOD and
+TCMALLOC_STACKTRACE_METHOD_VERBOSE environment variables)
+  * there is new backtrace capturing method using -finstrument-functions
+prologues contributed by user xiaoyur347
+  * few cases of crashes/deadlocks in profiler were addressed. See
+(famous) issue-66, issue-547 and issue-579.
+  * issue-464 (memory corruption in debugalloc's realloc after
+memallign) is now fixed
+  * tcmalloc is now able to release memory back to OS on windows
+(issue-489). The code was ported from chromium fork (by a number of
+authors).
+  * Together with issue-489 we ported chromium's "aggressive decommit"
+mode. In this mode (settable via malloc extension and via
+environment variable TCMALLOC_AGGRESSIVE_DECOMMIT), free pages are
+returned back to OS immediately.
+  * MallocExtension::instance() is now faster (based on patch by
+Adhemerval Zanella)
+  * issue-610 (hangs on windows in multibyte locales) is now fixed
+- Removed the following patches. All have either been incorporated 
+  upstream or are no longer applicable in current distros.
+  * gperftools_fix_multiple_install_headers.patch
+  * gperftools-glibc216.patch
+  * spinlock-rand.patch
+  * gperftools_use_older_autoconf.diff
+
+---

Old:

  gperftools-2.1.tar.bz2
  gperftools-glibc216.patch
  gperftools_fix_multiple_install_headers.patch
  gperftools_use_older_autoconf.diff
  spinlock-rand.patch

New:

  gperftools-2.2.tar.gz



Other differences:
--
++ gperftools.spec ++
--- /var/tmp/diff_new_pack.6fyEey/_old  2014-05-23 07:51:43.0 +0200
+++ /var/tmp/diff_new_pack.6fyEey/_new  2014-05-23 07:51:43.0 +0200
@@ -17,17 +17,13 @@
 
 
 Name:   gperftools
-Version:2.1
+Version:2.2
 Release:0
 Url:http://code.google.com/p/gperftools/
-Source0:%{name}-%{version}.tar.bz2
+Source0:%{name}-%{version}.tar.gz
 Patch4: %{name}-fix_docdir.patch
-# Patch11:%{name}_fix_multiple_install_headers.patch
 Patch12:%{name}_fix_unassigned_malloc_in_unittest.patch
 Patch14:%{name}_gcc46.patch
-#Patch15:%{name}-glibc216.patch
-#Patch16:spinlock-rand.patch
-Patch17:%{name}_use_older_autoconf.diff
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -65,12 +61,8 @@
 %prep
 %setup -q
 %patch4 -p1
-#patch11 -p1
 %patch12 -p1
 %patch14 -p1
-#patch15 -p1
-#patch16 -p1
-%patch17 -p1
 
 %build
 autoreconf -fi

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@

commit gperftools for openSUSE:Factory

2013-08-13 Thread h_root
Hello community,

here is the log from the commit of package gperftools for openSUSE:Factory 
checked in at 2013-08-13 12:53:37

Comparing /work/SRC/openSUSE:Factory/gperftools (Old)
 and  /work/SRC/openSUSE:Factory/.gperftools.new (New)


Package is "gperftools"

Changes:

--- /work/SRC/openSUSE:Factory/gperftools/gperftools.changes2013-08-01 
15:36:07.0 +0200
+++ /work/SRC/openSUSE:Factory/.gperftools.new/gperftools.changes   
2013-08-13 12:53:38.0 +0200
@@ -1,0 +2,6 @@
+Mon Aug 12 15:49:12 UTC 2013 - cgard...@suse.com
+
+- Fixed configure.ac to use older version of autoconf, so that 
+  gperftools can build for SLE10.
+
+---

New:

  gperftools_use_older_autoconf.diff



Other differences:
--
++ gperftools.spec ++
--- /var/tmp/diff_new_pack.JRoV1C/_old  2013-08-13 12:53:39.0 +0200
+++ /var/tmp/diff_new_pack.JRoV1C/_new  2013-08-13 12:53:39.0 +0200
@@ -27,6 +27,7 @@
 Patch14:%{name}_gcc46.patch
 #Patch15:%{name}-glibc216.patch
 #Patch16:spinlock-rand.patch
+Patch17:%{name}_use_older_autoconf.diff
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -69,6 +70,7 @@
 %patch14 -p1
 #patch15 -p1
 #patch16 -p1
+%patch17 -p1
 
 %build
 autoreconf -fi

++ gperftools_use_older_autoconf.diff ++
Index: gperftools-2.1/configure.ac
===
--- gperftools-2.1.orig/configure.ac
+++ gperftools-2.1/configure.ac
@@ -2,7 +2,7 @@
 ## In general, the safest way to proceed is to run ./autogen.sh
 
 # make sure we're interpreted by some minimal autoconf
-AC_PREREQ([2.68])
+AC_PREREQ([2.59])
 
 AC_INIT([gperftools],[2.1],[google-perfto...@googlegroups.com])
 # Update this value for every release!  (A:B:C will map to foo.so.(A-C).C.B)
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit gperftools for openSUSE:Factory

2013-08-01 Thread h_root
Hello community,

here is the log from the commit of package gperftools for openSUSE:Factory 
checked in at 2013-08-01 15:36:06

Comparing /work/SRC/openSUSE:Factory/gperftools (Old)
 and  /work/SRC/openSUSE:Factory/.gperftools.new (New)


Package is "gperftools"

Changes:

--- /work/SRC/openSUSE:Factory/gperftools/gperftools.changes2013-01-02 
12:57:04.0 +0100
+++ /work/SRC/openSUSE:Factory/.gperftools.new/gperftools.changes   
2013-08-01 15:36:07.0 +0200
@@ -1,0 +2,20 @@
+Tue Jul 30 17:44:01 UTC 2013 - cgard...@suse.com
+
+- gperftools 2.1, released 30 July 2013.
+  * fixes for building on newer platforms. Notably, there's now initial
+support for x32 ABI (--enable-minimal only at this time))
+  * Some fixes for debug allocation on POWER/Linux 
+  * new getNumericProperty stats for cache sizes
+  * added HEAP_PROFILER_TIME_INTERVAL variable (see documentation)
+  * added environment variable to control heap size (TCMALLOC_HEAP_LIMIT_MB)
+  * added environment variable to disable release of memory back to OS
+(TCMALLOC_DISABLE_MEMORY_RELEASE)
+  * cpu profiler can now be switched on and off by sending it a signal
+(specified in CPUPROFILESIGNAL)
+  * (issue 491) fixed race-ful spinlock wake-ups
+  * (issue 496) added some support for fork-ing of process that is using
+tcmalloc
+  * (issue 368) improved memory fragmentation when large chunks of
+memory are allocated/freed
+
+---

Old:

  gperftools-2.0.tar.bz2

New:

  gperftools-2.1.tar.bz2



Other differences:
--
++ gperftools.spec ++
--- /var/tmp/diff_new_pack.FkjIVr/_old  2013-08-01 15:36:08.0 +0200
+++ /var/tmp/diff_new_pack.FkjIVr/_new  2013-08-01 15:36:08.0 +0200
@@ -17,16 +17,16 @@
 
 
 Name:   gperftools
-Version:2.0
+Version:2.1
 Release:0
 Url:http://code.google.com/p/gperftools/
 Source0:%{name}-%{version}.tar.bz2
 Patch4: %{name}-fix_docdir.patch
-Patch11:%{name}_fix_multiple_install_headers.patch
+# Patch11:%{name}_fix_multiple_install_headers.patch
 Patch12:%{name}_fix_unassigned_malloc_in_unittest.patch
 Patch14:%{name}_gcc46.patch
-Patch15:%{name}-glibc216.patch
-Patch16:spinlock-rand.patch
+#Patch15:%{name}-glibc216.patch
+#Patch16:spinlock-rand.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -64,11 +64,11 @@
 %prep
 %setup -q
 %patch4 -p1
-%patch11 -p1
+#patch11 -p1
 %patch12 -p1
 %patch14 -p1
-%patch15 -p1
-%patch16 -p1
+#patch15 -p1
+#patch16 -p1
 
 %build
 autoreconf -fi

++ gperftools-2.0.tar.bz2 -> gperftools-2.1.tar.bz2 ++
 46024 lines of diff (skipped)

++ gperftools-fix_docdir.patch ++
--- /var/tmp/diff_new_pack.FkjIVr/_old  2013-08-01 15:36:09.0 +0200
+++ /var/tmp/diff_new_pack.FkjIVr/_new  2013-08-01 15:36:09.0 +0200
@@ -1,10 +1,10 @@
-Index: gperftools/Makefile.am
+Index: gperftools-2.0.99/Makefile.am
 ===
 gperftools.orig/Makefile.am
-+++ gperftools/Makefile.am
-@@ -124,7 +124,7 @@ googleinclude_HEADERS = \
-src/google/tcmalloc.h\
-src/windows/google/tcmalloc.h
+--- gperftools-2.0.99.orig/Makefile.am
 gperftools-2.0.99/Makefile.am
+@@ -128,7 +128,7 @@ googleinclude_HEADERS =\
+src/google/stacktrace.h\
+src/google/tcmalloc.h
  
 -docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION)
 +docdir = $(prefix)/share/doc/packages/$(PACKAGE)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit gperftools for openSUSE:Factory

2013-01-02 Thread h_root
Hello community,

here is the log from the commit of package gperftools for openSUSE:Factory 
checked in at 2013-01-02 12:57:02

Comparing /work/SRC/openSUSE:Factory/gperftools (Old)
 and  /work/SRC/openSUSE:Factory/.gperftools.new (New)


Package is "gperftools", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/gperftools/gperftools.changes2012-07-23 
10:15:42.0 +0200
+++ /work/SRC/openSUSE:Factory/.gperftools.new/gperftools.changes   
2013-01-02 12:57:04.0 +0100
@@ -1,0 +2,7 @@
+Thu Dec 27 11:08:09 UTC 2012 - dval...@suse.com
+
+- spinlock-rand.patch fixes an issue encountered on PPC with 
+  undefined conversions from 'base::subtle::Atomic64*' to 'const 
+  volatile Atomic32*' 
+
+---

New:

  spinlock-rand.patch



Other differences:
--
++ gperftools.spec ++
--- /var/tmp/diff_new_pack.Oordj6/_old  2013-01-02 12:57:05.0 +0100
+++ /var/tmp/diff_new_pack.Oordj6/_new  2013-01-02 12:57:06.0 +0100
@@ -26,6 +26,7 @@
 Patch12:%{name}_fix_unassigned_malloc_in_unittest.patch
 Patch14:%{name}_gcc46.patch
 Patch15:%{name}-glibc216.patch
+Patch16:spinlock-rand.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -67,6 +68,7 @@
 %patch12 -p1
 %patch14 -p1
 %patch15 -p1
+%patch16 -p1
 
 %build
 autoreconf -fi

++ spinlock-rand.patch ++
diff --git a/src/base/spinlock_internal.cc b/src/base/spinlock_internal.cc
index b9fadde..172a637 100644
--- a/src/base/spinlock_internal.cc
+++ b/src/base/spinlock_internal.cc
@@ -80,6 +80,7 @@ int32 SpinLockWait(volatile Atomic32 *w, int n,
 static int SuggestedDelayNS(int loop) {
   // Weak pseudo-random number generator to get some spread between threads
   // when many are spinning.
+#ifdef BASE_HAS_ATOMIC64
   static base::subtle::Atomic64 rand;
   uint64 r = base::subtle::NoBarrier_Load(&rand);
   r = 0x5deece66dLL * r + 0xb;   // numbers from nrand48()
@@ -96,6 +97,24 @@ static int SuggestedDelayNS(int loop) {
   // The futex path multiplies this by 16, since we expect explicit wakeups
   // almost always on that path.
   return r >> (44 - (loop >> 3));
+#else
+  static Atomic32 rand;
+  uint32 r = base::subtle::NoBarrier_Load(&rand);
+  r = 0x343fd * r + 0x269ec3;   // numbers from MSVC++
+  base::subtle::NoBarrier_Store(&rand, r);
+
+  r <<= 1;   // 31-bit random number now in top 31-bits.
+  if (loop < 0 || loop > 32) {   // limit loop to 0..32
+loop = 32;
+  }
+  // loop>>3 cannot exceed 4 because loop cannot exceed 32.
+  // Select top 20..24 bits of lower 31 bits,
+  // giving approximately 0ms to 16ms.
+  // Mean is exponential in loop for first 32 iterations, then 8ms.
+  // The futex path multiplies this by 16, since we expect explicit wakeups
+  // almost always on that path.
+  return r >> (12 - (loop >> 3));
+#endif
 }
 
 } // namespace internal
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit gperftools for openSUSE:Factory

2012-07-23 Thread h_root
Hello community,

here is the log from the commit of package gperftools for openSUSE:Factory 
checked in at 2012-07-23 10:00:41

Comparing /work/SRC/openSUSE:Factory/gperftools (Old)
 and  /work/SRC/openSUSE:Factory/.gperftools.new (New)


Package is "gperftools", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/gperftools/gperftools.changes2012-05-16 
21:07:28.0 +0200
+++ /work/SRC/openSUSE:Factory/.gperftools.new/gperftools.changes   
2012-07-23 10:15:42.0 +0200
@@ -1,0 +2,6 @@
+Sun Jul 22 07:47:04 UTC 2012 - a...@suse.de
+
+- replace struct siginfo with siginfo_t since the former is not
+  available with glibc 2.16 anymore.
+
+---

New:

  gperftools-glibc216.patch



Other differences:
--
++ gperftools.spec ++
--- /var/tmp/diff_new_pack.uyYikO/_old  2012-07-23 10:15:44.0 +0200
+++ /var/tmp/diff_new_pack.uyYikO/_new  2012-07-23 10:15:44.0 +0200
@@ -15,20 +15,27 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   gperftools
 Version:2.0
 Release:0
-Group:  System/Libraries
-License:BSD-3-Clause
 Url:http://code.google.com/p/gperftools/
 Source0:%{name}-%{version}.tar.bz2
 Patch4: %{name}-fix_docdir.patch
 Patch11:   %{name}_fix_multiple_install_headers.patch
 Patch12:   %{name}_fix_unassigned_malloc_in_unittest.patch
 Patch14:%{name}_gcc46.patch
-BuildRequires:  gcc-c++ pkg-config autoconf automake libtool libunwind-devel
+Patch15:%{name}-glibc216.patch
+BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  gcc-c++
+BuildRequires:  libtool
+BuildRequires:  libunwind-devel
+BuildRequires:  pkg-config
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Summary:Performance Tools for C++
+License:BSD-3-Clause
+Group:  System/Libraries
 Provides:  google-perftools
 Obsoletes: google-perftools
 
@@ -40,9 +47,10 @@
 
 
 %package devel
-Group:  System/Libraries
 Summary:Performance tools for C++
-Requires:   libstdc++-devel, gperftools = %{version}
+Group:  System/Libraries
+Requires:   gperftools = %{version}
+Requires:   libstdc++-devel
 Provides:  google-perftools-devel
 Obsoletes: google-perftools-devel
 
@@ -58,6 +66,7 @@
 %patch11 -p1
 %patch12 -p1
 %patch14 -p1
+%patch15 -p1
 
 %build
 autoreconf -fi

++ gperftools-glibc216.patch ++
Index: gperftools-2.0/src/base/linux_syscall_support.h
===
--- gperftools-2.0.orig/src/base/linux_syscall_support.h
+++ gperftools-2.0/src/base/linux_syscall_support.h
@@ -250,7 +250,7 @@ struct siginfo;
 struct kernel_old_sigaction {
   union {
 void (*sa_handler_)(int);
-void (*sa_sigaction_)(int, struct siginfo *, void *);
+void (*sa_sigaction_)(int, siginfo_t *, void *);
   };
   unsigned long  sa_mask;
   unsigned long  sa_flags;
@@ -287,13 +287,13 @@ struct kernel_sigaction {
   unsigned long  sa_flags;
   union {
 void (*sa_handler_)(int);
-void (*sa_sigaction_)(int, struct siginfo *, void *);
+void (*sa_sigaction_)(int, siginfo_t *, void *);
   };
   struct kernel_sigset_t sa_mask;
 #else
   union {
 void (*sa_handler_)(int);
-void (*sa_sigaction_)(int, struct siginfo *, void *);
+void (*sa_sigaction_)(int, siginfo_t *, void *);
   };
   unsigned long  sa_flags;
   void   (*sa_restorer)(void);
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org