summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcsilvers <csilvers@6b5cf1ce-ec42-a296-1ba9-69fdba395a50>2011-07-27 04:18:01 +0000
committercsilvers <csilvers@6b5cf1ce-ec42-a296-1ba9-69fdba395a50>2011-07-27 04:18:01 +0000
commitd2faf4646dc79486babfbd63cf5f658b917dd6ab (patch)
tree622edb5db2a4032ceeb3b713cabe681b2e5d09fa
parent100c38c1a225446c1bbeeaac117902d0fbebfefe (diff)
downloadgperftools-d2faf4646dc79486babfbd63cf5f658b917dd6ab.tar.gz
Tue Jul 26 20:57:51 2011 Google Inc. <opensource@google.com>
* google-perftools: version 1.8 release * Added an #include to fix compile breakage on latest gcc's * Removed an extra , in the configure.ac script git-svn-id: http://gperftools.googlecode.com/svn/trunk@112 6b5cf1ce-ec42-a296-1ba9-69fdba395a50
-rw-r--r--ChangeLog6
-rw-r--r--NEWS16
-rwxr-xr-xconfigure28
-rw-r--r--configure.ac15
-rw-r--r--src/base/elf_mem_image.cc1
-rw-r--r--src/config.h.in6
-rwxr-xr-xsrc/pprof2
-rw-r--r--src/tests/tcmalloc_unittest.cc1
-rw-r--r--src/windows/config.h4
9 files changed, 41 insertions, 38 deletions
diff --git a/ChangeLog b/ChangeLog
index c439360..ae575bc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Tue Jul 26 20:57:51 2011 Google Inc. <opensource@google.com>
+
+ * google-perftools: version 1.8 release
+ * Added an #include to fix compile breakage on latest gcc's
+ * Removed an extra , in the configure.ac script
+
Fri Jul 15 16:10:51 2011 Google Inc. <opensource@google.com>
* google-perftools: version 1.8 release
diff --git a/NEWS b/NEWS
index 52bb1fb..14d768e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,14 @@
-== 15 July 2011 ==
+== 26 July 2011 ==
+
+I've just released perftools 1.8.1
+
+I was missing an #include that caused the build to break under some
+compilers, especially newer gcc's, that wanted it. This only affects
+people who build from source, so only the .tar.gz file is updated from
+perftools 1.8. If you didn't have any problems compiling perftools
+1.8, there's no reason to upgrade.
+
+=== 15 July 2011 ===
I've just released perftools 1.8
@@ -26,7 +36,7 @@ running (likely not noticeably) slower.
There are many other changes as well, too numerous to recount here,
but present in the
-[http://google-perftools.googlecode.com/svn/tags/perftools-1.8/ChangeLog ChangeLog].
+[http://google-perftools.googlecode.com/svn/tags/google-perftools-1.8/ChangeLog ChangeLog].
=== 7 February 2011 ===
@@ -53,7 +63,7 @@ Among the many new features in this release is a multi-megabyte
reduction in the amount of tcmalloc overhead uder x86_64, improved
performance in the case of contention, and many many bugfixes,
especially architecture-specific bugfixes. See the
-[http://google-perftools.googlecode.com/svn/tags/perftools-1.7/ChangeLog ChangeLog]
+[http://google-perftools.googlecode.com/svn/tags/google-perftools-1.7/ChangeLog ChangeLog]
for full details.
One architecture-specific change of note is added comments in the
diff --git a/configure b/configure
index 9f19ef0..c0babe1 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.65 for google-perftools 1.8.
+# Generated by GNU Autoconf 2.65 for google-perftools 1.8.1.
#
# Report bugs to <opensource@google.com>.
#
@@ -701,8 +701,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='google-perftools'
PACKAGE_TARNAME='google-perftools'
-PACKAGE_VERSION='1.8'
-PACKAGE_STRING='google-perftools 1.8'
+PACKAGE_VERSION='1.8.1'
+PACKAGE_STRING='google-perftools 1.8.1'
PACKAGE_BUGREPORT='opensource@google.com'
PACKAGE_URL=''
@@ -1472,7 +1472,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures google-perftools 1.8 to adapt to many kinds of systems.
+\`configure' configures google-perftools 1.8.1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1543,7 +1543,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of google-perftools 1.8:";;
+ short | recursive ) echo "Configuration of google-perftools 1.8.1:";;
esac
cat <<\_ACEOF
@@ -1653,7 +1653,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-google-perftools configure 1.8
+google-perftools configure 1.8.1
generated by GNU Autoconf 2.65
Copyright (C) 2009 Free Software Foundation, Inc.
@@ -2238,7 +2238,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by google-perftools $as_me 1.8, which was
+It was created by google-perftools $as_me 1.8.1, which was
generated by GNU Autoconf 2.65. Invocation command line was
$ $0 $@
@@ -2590,8 +2590,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
# Update this value for every release! (A:B:C will map to foo.so.(A-C).C.B)
# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
-TCMALLOC_SO_VERSION=2:0:2
-PROFILER_SO_VERSION=1:1:1
+TCMALLOC_SO_VERSION=2:1:2
+PROFILER_SO_VERSION=1:2:1
@@ -2983,7 +2983,7 @@ fi
# Define the identity of the package.
PACKAGE='google-perftools'
- VERSION='1.8'
+ VERSION='1.8.1'
cat >>confdefs.h <<_ACEOF
@@ -16188,7 +16188,7 @@ $as_echo "#define MALLOC_HOOK_MAYBE_VOLATILE volatile" >>confdefs.h
$as_echo "yes" >&6; }
else
$as_echo "#define MALLOC_HOOK_MAYBE_VOLATILE /**/" >>confdefs.h
-,
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
@@ -17056,8 +17056,6 @@ $as_echo "#define PERFTOOLS_DLL_DECL /**/" >>confdefs.h
# http://code.google.com/p/google-perftools/issues/detail?id=246
-
-
# MinGW uses autoconf, but also needs the windows shim routines
# (since it doesn't have its own support for, say, pthreads).
# This requires us to #include a special header file, and also to
@@ -17749,7 +17747,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by google-perftools $as_me 1.8, which was
+This file was extended by google-perftools $as_me 1.8.1, which was
generated by GNU Autoconf 2.65. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -17815,7 +17813,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-google-perftools config.status 1.8
+google-perftools config.status 1.8.1
configured by $0, generated by GNU Autoconf 2.65,
with options \\"\$ac_cs_config\\"
diff --git a/configure.ac b/configure.ac
index 4eb8bf5..2c3153c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,11 +4,11 @@
# make sure we're interpreted by some minimal autoconf
AC_PREREQ(2.57)
-AC_INIT(google-perftools, 1.8, opensource@google.com)
+AC_INIT(google-perftools, 1.8.1, opensource@google.com)
# Update this value for every release! (A:B:C will map to foo.so.(A-C).C.B)
# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
-TCMALLOC_SO_VERSION=2:0:2
-PROFILER_SO_VERSION=1:1:1
+TCMALLOC_SO_VERSION=2:1:2
+PROFILER_SO_VERSION=1:2:1
AC_SUBST(TCMALLOC_SO_VERSION)
AC_SUBST(PROFILER_SO_VERSION)
@@ -305,7 +305,7 @@ void* (* volatile __malloc_hook)(size_t, const void*) = 0;],)],
[AC_DEFINE(MALLOC_HOOK_MAYBE_VOLATILE, volatile,
Define to 'volatile' if __malloc_hook is declared volatile)
AC_MSG_RESULT([yes])],
- [AC_DEFINE(MALLOC_HOOK_MAYBE_VOLATILE, ),
+ [AC_DEFINE(MALLOC_HOOK_MAYBE_VOLATILE, )
AC_MSG_RESULT([no])])
# Nanosleep requires extra libraries on some architectures (solaris).
@@ -362,13 +362,6 @@ AH_TOP([
#define GOOGLE_PERFTOOLS_CONFIG_H_
])
-AH_VERBATIM([PTHREADS_CRASHES_IF_RUN_TOO_EARLY],
- [/* Mark the systems where we know it's bad if pthreads runs too
- early before main (before threads are initialized, presumably). */
-#ifdef __FreeBSD__
-#define PTHREADS_CRASHES_IF_RUN_TOO_EARLY 1
-#endif])
-
# MinGW uses autoconf, but also needs the windows shim routines
# (since it doesn't have its own support for, say, pthreads).
# This requires us to #include a special header file, and also to
diff --git a/src/base/elf_mem_image.cc b/src/base/elf_mem_image.cc
index d8b8090..2949343 100644
--- a/src/base/elf_mem_image.cc
+++ b/src/base/elf_mem_image.cc
@@ -37,6 +37,7 @@
#ifdef HAVE_ELF_MEM_IMAGE // defined in elf_mem_image.h
+#include <stddef.h> // for size_t, ptrdiff_t
#include "base/logging.h"
// From binutils/include/elf/common.h (this doesn't appear to be documented
diff --git a/src/config.h.in b/src/config.h.in
index 64766ff..0bd082d 100644
--- a/src/config.h.in
+++ b/src/config.h.in
@@ -235,12 +235,6 @@
/* printf format code for printing a size_t and ssize_t */
#undef PRIxS
-/* Mark the systems where we know it's bad if pthreads runs too
- early before main (before threads are initialized, presumably). */
-#ifdef __FreeBSD__
-#define PTHREADS_CRASHES_IF_RUN_TOO_EARLY 1
-#endif
-
/* Define to necessary symbol if this constant uses a non-standard name on
your system. */
#undef PTHREAD_CREATE_JOINABLE
diff --git a/src/pprof b/src/pprof
index 0ce5df3..c7d2845 100755
--- a/src/pprof
+++ b/src/pprof
@@ -72,7 +72,7 @@ use strict;
use warnings;
use Getopt::Long;
-my $PPROF_VERSION = "1.8";
+my $PPROF_VERSION = "1.8.1";
# These are the object tools we use which can come from a
# user-specified location using --tools, from the PPROF_TOOLS
diff --git a/src/tests/tcmalloc_unittest.cc b/src/tests/tcmalloc_unittest.cc
index 84a5889..a6d9625 100644
--- a/src/tests/tcmalloc_unittest.cc
+++ b/src/tests/tcmalloc_unittest.cc
@@ -1083,6 +1083,7 @@ static int RunAllTests(int argc, char** argv) {
// Windows has _aligned_malloc. Let's test that that's captured too.
#if (defined(_MSC_VER) || defined(__MINGW32__)) && !defined(PERFTOOLS_NO_ALIGNED_MALLOC)
p1 = _aligned_malloc(sizeof(p1) * 2, 64);
+ CHECK(p1 != NULL);
VerifyNewHookWasCalled();
_aligned_free(p1);
VerifyDeleteHookWasCalled();
diff --git a/src/windows/config.h b/src/windows/config.h
index 7a7a8d7..9b782f2 100644
--- a/src/windows/config.h
+++ b/src/windows/config.h
@@ -222,7 +222,7 @@
#define PACKAGE_NAME "google-perftools"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "google-perftools 1.8"
+#define PACKAGE_STRING "google-perftools 1.8.1"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "google-perftools"
@@ -231,7 +231,7 @@
#undef PACKAGE_URL
/* Define to the version of this package. */
-#define PACKAGE_VERSION "1.8"
+#define PACKAGE_VERSION "1.8.1"
/* How to access the PC from a struct ucontext */
#undef PC_FROM_UCONTEXT