Hello community,
here is the log from the commit of package google-perftools for openSUSE:Factory
checked in at Wed Aug 3 20:04:12 CEST 2011.
--------
--- google-perftools/google-perftools.changes 2011-02-06 03:47:57.000000000 +0100
+++ /mounts/work_src_done/STABLE/google-perftools/google-perftools.changes 2011-07-18 05:50:48.000000000 +0200
@@ -1,0 +2,56 @@
+Mon Jul 18 03:45:11 UTC 2011 - cgardner@suse.com
+
+- Version 1.8, released 15 July 2011.
+ * PORTING: (Disabled) support for patching mmap on freebsd (chapp...)
+ * PORTING: Support volatile __malloc_hook for glibc 2.14 (csilvers)
+ * PORTING: Use _asm rdtsc and __rdtsc to get cycleclock in windows (koda)
+ * PORTING: Fix fd vs. HANDLE compiler error on cygwin (csilvers)
+ * PORTING: Do not test memalign or double-linking on OS X (csilvers)
+ * PORTING: Actually enable TLS on windows (jontra)
+ * PORTING: Some work to compile under Native Client (krasin)
+ * PORTING: deal with pthread_once w/o -pthread on freebsd (csilvers)
+ * Rearrange libc-overriding to make it easier to port (csilvers)
+ * Display source locations in pprof disassembly (sanjay)
+ * BUGFIX: Actually initialize allocator name (mec)
+ * BUGFIX: Keep track of 'overhead' bytes in malloc reporting (csilvers)
+ * Allow ignoring one object twice in the leak checker (glider)
+ * BUGFIX: top10 in pprof should print 10 lines, not 11 (rsc)
+ * Refactor vdso source files (tipp)
+ * Some documentation cleanups
+ * Document MAX_TOTAL_THREAD_CACHE_SIZE <= 1Gb (nsethi)
+ * Add MallocExtension::GetOwnership(ptr) (csilvers)
+ * BUGFIX: We were leaving out a needed $(top_srcdir) in the Makefile
+ * PORTING: Support getting argv0 on OS X
+ * Add 'weblist' command to pprof: like 'list' but html (sanjay)
+ * Improve source listing in pprof (sanjay)
+ * Cap cache sizes to reduce fragmentation (ruemmler)
+ * Improve performance by capping or increasing sizes (ruemmler)
+ * Add M{,un}mapReplacmenet hooks into MallocHook (ribrdb)
+ * Refactored system allocator logic (gangren)
+ * Include cleanups (csilvers)
+ * Add TCMALLOC_SMALL_BUT_SLOW support (ruemmler)
+ * Clarify that tcmalloc stats are MiB (robinson)
+ * Remove support for non-tcmalloc debugallocation (blount)
+ * Add a new test: malloc_hook_test (csilvers)
+ * Change the configure script to be more crosstool-friendly (mcgrathr)
+ * PORTING: leading-underscore changes to support win64 (csilvers)
+ * Improve debugallocation tc_malloc_size (csilvers)
+ * Extend atomicops.h and cyceclock to use ARM V6+ optimized code (sanek)
+ * Change malloc-hook to use a list-like structure (llib)
+ * Add flag to use MAP_PRIVATE in memfs_malloc (gangren)
+ * Windows support for pprof: nul and /usr/bin/file (csilvers)
+ * TESTING: add test on strdup to tcmalloc_test (csilvers)
+ * Augment heap-checker to deal with no-inode maps (csilvers)
+ * Count .dll/.dylib as shared libs in heap-checker (csilvers)
+ * Disable sys_futex for arm; it's not always reliable (sanek)
+ * PORTING: change lots of windows/port.h macros to functions
+ * BUGFIX: Generate correct version# in tcmalloc.h on windows (csilvers)
+ * PORTING: Some casting to make solaris happier about types (csilvers)
+ * TESTING: Disable debugallocation_test in 'minimal' mode (csilvers)
+ * Rewrite debugallocation to be more modular (csilvers)
+ * Don't try to run the heap-checker under valgrind (ppluzhnikov)
+ * BUGFIX: Make focused stat %'s relative, not absolute (sanjay)
+ * BUGFIX: Don't use '//' comments in a C file (csilvers)
+ * Quiet new-gcc compiler warnings via -Wno-unused-result, etc (csilvers)
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
google-perftools-1.7.tar.bz2
google-perftools_fix_comment_in_malloc_hook_c_h.patch
New:
----
google-perftools-1.8.tar.bz2
google-perftools_gcc46.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ google-perftools.spec ++++++
--- /var/tmp/diff_new_pack.J5UJf4/_old 2011-08-03 19:55:13.000000000 +0200
+++ /var/tmp/diff_new_pack.J5UJf4/_new 2011-08-03 19:55:13.000000000 +0200
@@ -19,19 +19,19 @@
Name: google-perftools
-Version: 1.7
+Version: 1.8
Release: 1
Group: System/Libraries
-License: BSD3c(or similar)
+License: BSD 3-clause (or similar)
Url: http://goog-perftools.sourceforge.net
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
-Patch13: %{name}_fix_comment_in_malloc_hook_c_h.patch
+Patch14: %{name}_gcc46.patch
BuildRequires: gcc-c++ pkg-config
# Can't use libunwind. See bnc#393927 and bnc#395623
-%ifarch x86_64 ia64 ppc ppc64 s390 s390x %sparc
+%ifarch x86_64 ia64 ppc ppc64 s390 s390x
%define no_libunwind_on_64 "-DNO_TCMALLOC_SAMPLES"
%define no_libunwind_on_64_config "--enable-frame-pointers"
%else
@@ -40,7 +40,6 @@
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Performance Tools for C++
-ExclusiveArch: %ix86 x86_64 ppc ppc64
%description
The google-perftools packages contain some utilities to improve and
@@ -50,7 +49,7 @@
%package devel
-License: BSD3c(or similar)
+License: BSD 3-clause (or similar)
Group: System/Libraries
Summary: Performance tools for C++
Requires: libstdc++-devel, google-perftools = %{version}
@@ -67,10 +66,7 @@
%patch4 -p1
%patch11 -p1
%patch12 -p1
-%patch13 -p1
-# install -d aclocal/
-# install %{SOURCE1} aclocal/
-# rm libtool
+%patch14 -p1
%build
autoreconf -fi
++++++ google-perftools-1.7.tar.bz2 -> google-perftools-1.8.tar.bz2 ++++++
++++ 16165 lines of diff (skipped)
++++++ google-perftools_fix_multiple_install_headers.patch ++++++
--- /var/tmp/diff_new_pack.J5UJf4/_old 2011-08-03 19:55:14.000000000 +0200
+++ /var/tmp/diff_new_pack.J5UJf4/_new 2011-08-03 19:55:14.000000000 +0200
@@ -1,17 +1,17 @@
-Index: google-perftools-1.3/Makefile.am
+Index: google-perftools-1.8/Makefile.am
===================================================================
---- google-perftools-1.3.orig/Makefile.am
-+++ google-perftools-1.3/Makefile.am
-@@ -216,8 +216,6 @@ TESTS += low_level_alloc_unittest
+--- google-perftools-1.8.orig/Makefile.am
++++ google-perftools-1.8/Makefile.am
+@@ -255,8 +255,6 @@ TESTS += low_level_alloc_unittest
WINDOWS_PROJECTS += vsprojects/low_level_alloc_unittest/low_level_alloc_unittest.vcproj
LOW_LEVEL_ALLOC_UNITTEST_INCLUDES = src/base/low_level_alloc.h \
src/base/basictypes.h \
- src/google/malloc_hook.h \
- src/google/malloc_hook_c.h \
src/malloc_hook-inl.h \
- $(SPINLOCK_INCLUDES) \
- $(LOGGING_INCLUDES)
-@@ -339,10 +337,9 @@ S_TCMALLOC_MINIMAL_INCLUDES = src/common
+ src/malloc_hook_mmap_linux.h \
+ src/malloc_hook_mmap_freebsd.h \
+@@ -392,10 +390,9 @@ S_TCMALLOC_MINIMAL_INCLUDES = src/common
SG_TCMALLOC_MINIMAL_INCLUDES = src/google/malloc_hook.h \
src/google/malloc_hook_c.h \
src/google/malloc_extension.h \
@@ -24,7 +24,7 @@
### Making the library
-@@ -496,9 +493,7 @@ TESTS += malloc_extension_test
+@@ -587,9 +584,7 @@ TESTS += malloc_extension_test
WINDOWS_PROJECTS += vsprojects/malloc_extension_test/malloc_extension_test.vcproj
malloc_extension_test_SOURCES = src/tests/malloc_extension_test.cc \
src/config_for_unittests.h \
@@ -35,7 +35,7 @@
malloc_extension_test_CXXFLAGS = $(PTHREAD_CFLAGS) $(AM_CXXFLAGS)
malloc_extension_test_LDFLAGS = $(PTHREAD_CFLAGS) $(TCMALLOC_FLAGS)
malloc_extension_test_LDADD = $(LIBTCMALLOC_MINIMAL) $(PTHREAD_LIBS)
-@@ -677,8 +672,7 @@ LIBS_TO_WEAKEN += libtcmalloc.la
+@@ -856,8 +851,7 @@ LIBS_TO_WEAKEN += libtcmalloc.la
### Unittests
TESTS += tcmalloc_unittest
@@ -45,17 +45,17 @@
tcmalloc_unittest_SOURCES = src/tests/tcmalloc_unittest.cc \
src/tcmalloc.h \
src/tests/testutil.h src/tests/testutil.cc \
-@@ -743,8 +737,7 @@ sampling_test.sh$(EXEEXT): $(top_srcdir)
+@@ -948,8 +942,7 @@ sampling_test.sh$(EXEEXT): $(top_srcdir)
# The -g is so pprof can get symbol information.
noinst_PROGRAMS += sampling_test
SAMPLING_TEST_INCLUDES = src/config_for_unittests.h \
- src/base/logging.h \
- src/google/malloc_extension.h
-+ src/base/logging.h
++ src/base/logging.h
sampling_test_SOURCES = src/tests/sampling_test.cc \
$(SAMPLING_TEST_INCLUDES)
sampling_test_CXXFLAGS = -g $(PTHREAD_CFLAGS) $(AM_CXXFLAGS)
-@@ -836,8 +829,7 @@ S_CPU_PROFILER_INCLUDES = src/profiledat
+@@ -1138,8 +1131,7 @@ S_CPU_PROFILER_INCLUDES = src/profiledat
src/base/sysinfo.h \
$(SPINLOCK_INCLUDES) \
$(LOGGING_INCLUDES)
++++++ google-perftools_fix_unassigned_malloc_in_unittest.patch ++++++
--- /var/tmp/diff_new_pack.J5UJf4/_old 2011-08-03 19:55:14.000000000 +0200
+++ /var/tmp/diff_new_pack.J5UJf4/_new 2011-08-03 19:55:14.000000000 +0200
@@ -1,12 +1,12 @@
-Index: google-perftools-1.3/src/tests/heap-checker_unittest.cc
+Index: google-perftools-1.8/src/tests/heap-checker_unittest.cc
===================================================================
---- google-perftools-1.3.orig/src/tests/heap-checker_unittest.cc
-+++ google-perftools-1.3/src/tests/heap-checker_unittest.cc
-@@ -647,7 +647,7 @@ static void ScopedDisabledLeaks() {
+--- google-perftools-1.8.orig/src/tests/heap-checker_unittest.cc
++++ google-perftools-1.8/src/tests/heap-checker_unittest.cc
+@@ -681,7 +681,7 @@ static void ScopedDisabledLeaks() {
HeapLeakChecker::Disabler disabler;
AllocHidden(3 * sizeof(int));
TransLeaks();
-- malloc(10); // Direct leak
+- (void)malloc(10); // Direct leak
+ void* p = malloc(10); // Direct leak
}
++++++ google-perftools_gcc46.patch ++++++
Index: google-perftools-1.8/src/base/elf_mem_image.h
===================================================================
--- google-perftools-1.8.orig/src/base/elf_mem_image.h
+++ google-perftools-1.8/src/base/elf_mem_image.h
@@ -46,6 +46,7 @@
#define HAVE_ELF_MEM_IMAGE 1
+#include <cstddef>
#include