diff options
author | Tilman Sauerbeck <tilman@crux.nu> | 2007-12-11 23:11:51 +0100 |
---|---|---|
committer | Tilman Sauerbeck <tilman@crux.nu> | 2007-12-11 23:11:51 +0100 |
commit | 943071673cdb09bb7187c5a75044a57ed352b7a2 (patch) | |
tree | 7bd4dc9d6a5680ec98e82742f83fd68367c828a1 /valgrind | |
parent | 2da561a03adcfc15fa5818129bdcdf84e6ea98ab (diff) | |
download | opt-943071673cdb09bb7187c5a75044a57ed352b7a2.tar.gz opt-943071673cdb09bb7187c5a75044a57ed352b7a2.tar.xz |
valgrind: updated to 3.3.0.
Diffstat (limited to 'valgrind')
-rw-r--r-- | valgrind/.footprint | 41 | ||||
-rw-r--r-- | valgrind/.md5sum | 3 | ||||
-rw-r--r-- | valgrind/Pkgfile | 9 | ||||
-rw-r--r-- | valgrind/glibc26.patch | 317 |
4 files changed, 35 insertions, 335 deletions
diff --git a/valgrind/.footprint b/valgrind/.footprint index 76fe7f21d..3c708d882 100644 --- a/valgrind/.footprint +++ b/valgrind/.footprint @@ -3,11 +3,15 @@ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/callgrind_annotate -rwxr-xr-x root/root usr/bin/callgrind_control -rwxr-xr-x root/root usr/bin/cg_annotate +-rwxr-xr-x root/root usr/bin/cg_merge +-rwxr-xr-x root/root usr/bin/ms_print +-rwxr-xr-x root/root usr/bin/no_op_client_for_valgrind -rwxr-xr-x root/root usr/bin/valgrind -rwxr-xr-x root/root usr/bin/valgrind-listener drwxr-xr-x root/root usr/include/ drwxr-xr-x root/root usr/include/valgrind/ -rw-r--r-- root/root usr/include/valgrind/callgrind.h +-rw-r--r-- root/root usr/include/valgrind/exp-omega.h -rw-r--r-- root/root usr/include/valgrind/helgrind.h -rw-r--r-- root/root usr/include/valgrind/libvex.h -rw-r--r-- root/root usr/include/valgrind/libvex_basictypes.h @@ -47,29 +51,44 @@ drwxr-xr-x root/root usr/include/valgrind/ -rw-r--r-- root/root usr/include/valgrind/pub_tool_stacktrace.h -rw-r--r-- root/root usr/include/valgrind/pub_tool_threadstate.h -rw-r--r-- root/root usr/include/valgrind/pub_tool_tooliface.h +-rw-r--r-- root/root usr/include/valgrind/pub_tool_vki.h +-rw-r--r-- root/root usr/include/valgrind/pub_tool_vkiscnums.h +-rw-r--r-- root/root usr/include/valgrind/pub_tool_xarray.h -rw-r--r-- root/root usr/include/valgrind/valgrind.h --rw-r--r-- root/root usr/include/valgrind/vki-amd64-linux.h --rw-r--r-- root/root usr/include/valgrind/vki-linux.h --rw-r--r-- root/root usr/include/valgrind/vki-ppc32-linux.h --rw-r--r-- root/root usr/include/valgrind/vki-ppc64-linux.h --rw-r--r-- root/root usr/include/valgrind/vki-x86-linux.h --rw-r--r-- root/root usr/include/valgrind/vki_posixtypes-amd64-linux.h --rw-r--r-- root/root usr/include/valgrind/vki_posixtypes-ppc32-linux.h --rw-r--r-- root/root usr/include/valgrind/vki_posixtypes-ppc64-linux.h --rw-r--r-- root/root usr/include/valgrind/vki_posixtypes-x86-linux.h +drwxr-xr-x root/root usr/include/valgrind/vki/ +-rw-r--r-- root/root usr/include/valgrind/vki/vki-amd64-linux.h +-rw-r--r-- root/root usr/include/valgrind/vki/vki-linux.h +-rw-r--r-- root/root usr/include/valgrind/vki/vki-posixtypes-amd64-linux.h +-rw-r--r-- root/root usr/include/valgrind/vki/vki-posixtypes-ppc32-linux.h +-rw-r--r-- root/root usr/include/valgrind/vki/vki-posixtypes-ppc64-linux.h +-rw-r--r-- root/root usr/include/valgrind/vki/vki-posixtypes-x86-linux.h +-rw-r--r-- root/root usr/include/valgrind/vki/vki-ppc32-linux.h +-rw-r--r-- root/root usr/include/valgrind/vki/vki-ppc64-linux.h +-rw-r--r-- root/root usr/include/valgrind/vki/vki-scnums-amd64-linux.h +-rw-r--r-- root/root usr/include/valgrind/vki/vki-scnums-ppc32-linux.h +-rw-r--r-- root/root usr/include/valgrind/vki/vki-scnums-ppc64-linux.h +-rw-r--r-- root/root usr/include/valgrind/vki/vki-scnums-x86-linux.h +-rw-r--r-- root/root usr/include/valgrind/vki/vki-x86-linux.h drwxr-xr-x root/root usr/lib/ drwxr-xr-x root/root usr/lib/pkgconfig/ -rw-r--r-- root/root usr/lib/pkgconfig/valgrind.pc drwxr-xr-x root/root usr/lib/valgrind/ +-rw-r--r-- root/root usr/lib/valgrind/aix5libc.supp -rw-r--r-- root/root usr/lib/valgrind/default.supp +-rw-r--r-- root/root usr/lib/valgrind/glibc-2.2-LinuxThreads-helgrind.supp -rw-r--r-- root/root usr/lib/valgrind/glibc-2.2.supp -rw-r--r-- root/root usr/lib/valgrind/glibc-2.3.supp +-rw-r--r-- root/root usr/lib/valgrind/glibc-2.34567-NPTL-helgrind.supp -rw-r--r-- root/root usr/lib/valgrind/glibc-2.4.supp -rw-r--r-- root/root usr/lib/valgrind/glibc-2.5.supp --rwxr-xr-x root/root usr/lib/valgrind/hp2ps +-rw-r--r-- root/root usr/lib/valgrind/glibc-2.6.supp +-rw-r--r-- root/root usr/lib/valgrind/glibc-2.7.supp +-rw-r--r-- root/root usr/lib/valgrind/glibc-2.X-drd.supp drwxr-xr-x root/root usr/lib/valgrind/x86-linux/ -rwxr-xr-x root/root usr/lib/valgrind/x86-linux/cachegrind -rwxr-xr-x root/root usr/lib/valgrind/x86-linux/callgrind +-rwxr-xr-x root/root usr/lib/valgrind/x86-linux/exp-drd +-rwxr-xr-x root/root usr/lib/valgrind/x86-linux/exp-omega -rwxr-xr-x root/root usr/lib/valgrind/x86-linux/helgrind -rwxr-xr-x root/root usr/lib/valgrind/x86-linux/lackey -rw-r--r-- root/root usr/lib/valgrind/x86-linux/libcoregrind.a @@ -78,6 +97,8 @@ drwxr-xr-x root/root usr/lib/valgrind/x86-linux/ -rwxr-xr-x root/root usr/lib/valgrind/x86-linux/memcheck -rwxr-xr-x root/root usr/lib/valgrind/x86-linux/none -rwxr-xr-x root/root usr/lib/valgrind/x86-linux/vgpreload_core.so +-rwxr-xr-x root/root usr/lib/valgrind/x86-linux/vgpreload_exp-drd.so +-rwxr-xr-x root/root usr/lib/valgrind/x86-linux/vgpreload_exp-omega.so -rwxr-xr-x root/root usr/lib/valgrind/x86-linux/vgpreload_helgrind.so -rwxr-xr-x root/root usr/lib/valgrind/x86-linux/vgpreload_massif.so -rwxr-xr-x root/root usr/lib/valgrind/x86-linux/vgpreload_memcheck.so diff --git a/valgrind/.md5sum b/valgrind/.md5sum index 987881f84..27fc6d2e5 100644 --- a/valgrind/.md5sum +++ b/valgrind/.md5sum @@ -1,2 +1 @@ -cc0edd3c96ba75ccf4c0562e60438a5d glibc26.patch -978847992b136c8d8cb5c6559a91df1c valgrind-3.2.3.tar.bz2 +e5fc39755a714f36b7e5014c1c6d4748 valgrind-3.3.0.tar.bz2 diff --git a/valgrind/Pkgfile b/valgrind/Pkgfile index 4af54895d..e7cc8a6a8 100644 --- a/valgrind/Pkgfile +++ b/valgrind/Pkgfile @@ -3,16 +3,13 @@ # Maintainer: Tilman Sauerbeck, tilman at crux dot nu name=valgrind -version=3.2.3 -release=2 -source=(http://$name.org/downloads/$name-$version.tar.bz2 \ - glibc26.patch) +version=3.3.0 +release=1 +source=(http://$name.org/downloads/$name-$version.tar.bz2) build() { cd $name-$version - patch -Np1 -i $SRC/glibc26.patch - ./configure --prefix=/usr make make DESTDIR=$PKG install diff --git a/valgrind/glibc26.patch b/valgrind/glibc26.patch deleted file mode 100644 index f0b91633c..000000000 --- a/valgrind/glibc26.patch +++ /dev/null @@ -1,317 +0,0 @@ -# --- T2-COPYRIGHT-NOTE-BEGIN --- -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# -# T2 SDE: package/.../valgrind/glibc26.patch -# Copyright (C) 2007 The T2 SDE Project -# -# More information can be found in the files COPYING and README. -# -# This patch file is dual-licensed. It is available under the license the -# patched project is licensed under, as long as it is an OpenSource license -# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms -# of the GNU General Public License as published by the Free Software -# Foundation; either version 2 of the License, or (at your option) any later -# version. -# --- T2-COPYRIGHT-NOTE-END --- - ---- valgrind-3.2.3/configure.in 2007-01-29 20:42:52.000000000 +0100 -+++ valgrind-3.2.3-fixed/configure.in 2007-05-29 10:17:25.396231517 +0200 -@@ -359,6 +359,17 @@ - ], - glibc="2.5") - -+AC_EGREP_CPP([GLIBC_26], [ -+#include <features.h> -+#ifdef __GNU_LIBRARY__ -+ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ == 6) -+ GLIBC_26 -+ #endif -+#endif -+], -+glibc="2.6") -+ -+ - AC_MSG_CHECKING([the glibc version]) - - case "${glibc}" in -@@ -386,6 +397,12 @@ - DEFAULT_SUPP="glibc-2.5.supp ${DEFAULT_SUPP}" - ;; - -+ 2.6) -+ AC_MSG_RESULT(2.6 family) -+ AC_DEFINE([GLIBC_2_6], 1, [Define to 1 if you're using glibc 2.6.x]) -+ DEFAULT_SUPP="glibc-2.6.supp ${DEFAULT_SUPP}" -+ ;; -+ - *) - AC_MSG_RESULT(unsupported version) - AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.5]) ---- valgrind-3.2.3/configure 2007-01-29 20:45:30.000000000 +0100 -+++ valgrind-3.2.3-fixed/configure 2007-05-29 10:06:47.879901532 +0200 -@@ -4390,6 +4390,28 @@ - rm -f conftest* - - -+cat >conftest.$ac_ext <<_ACEOF -+/* confdefs.h. */ -+_ACEOF -+cat confdefs.h >>conftest.$ac_ext -+cat >>conftest.$ac_ext <<_ACEOF -+/* end confdefs.h. */ -+ -+#include <features.h> -+#ifdef __GNU_LIBRARY__ -+ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ == 6) -+ GLIBC_26 -+ #endif -+#endif -+ -+_ACEOF -+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "GLIBC_26" >/dev/null 2>&1; then -+ glibc="2.6" -+fi -+rm -f conftest* -+ -+ - echo "$as_me:$LINENO: checking the glibc version" >&5 - echo $ECHO_N "checking the glibc version... $ECHO_C" >&6 - -@@ -4438,6 +4460,17 @@ - DEFAULT_SUPP="glibc-2.5.supp ${DEFAULT_SUPP}" - ;; - -+ 2.6) -+ echo "$as_me:$LINENO: result: 2.6 family" >&5 -+echo "${ECHO_T}2.6 family" >&6 -+ -+cat >>confdefs.h <<\_ACEOF -+#define GLIBC_2_6 1 -+_ACEOF -+ -+ DEFAULT_SUPP="glibc-2.6.supp ${DEFAULT_SUPP}" -+ ;; -+ - *) - echo "$as_me:$LINENO: result: unsupported version" >&5 - echo "${ECHO_T}unsupported version" >&6 ---- valgrind-3.2.3/glibc-2.6.supp 1970-01-01 01:00:00.000000000 +0100 -+++ valgrind-3.2.3-fixed/glibc-2.6.supp 2007-05-29 10:03:05.551231743 +0200 -@@ -0,0 +1,216 @@ -+ -+##----------------------------------------------------------------------## -+ -+# Errors to suppress by default with glibc 2.4.x -+ -+# Format of this file is: -+# { -+# name_of_suppression -+# tool_name:supp_kind -+# (optional extra info for some suppression types) -+# caller0 name, or /name/of/so/file.so -+# caller1 name, or ditto -+# (optionally: caller2 name) -+# (optionally: caller3 name) -+# } -+# -+# For Memcheck, the supp_kinds are: -+# -+# Param Value1 Value2 Value4 Value8 Value16 -+# Free Addr1 Addr2 Addr4 Addr8 Addr16 -+# Cond (previously known as Value0) -+# -+# and the optional extra info is: -+# if Param: name of system call param -+# if Free: name of free-ing fn) -+ -+{ -+ dl-hack1 -+ Memcheck:Cond -+ fun:_dl_start -+ fun:_start -+} -+ -+{ -+ dl-hack2 -+ Memcheck:Cond -+ obj:/lib*/ld-2.5*.so -+ obj:/lib*/ld-2.5*.so -+ obj:/lib*/ld-2.5*.so -+ obj:/lib*/ld-2.5*.so -+} -+ -+{ -+ dl-hack3 -+ Memcheck:Cond -+ obj:/lib*/ld-2.5*so* -+ obj:/lib*/ld-2.5*so* -+ obj:/lib*/ld-2.5*so* -+} -+ -+##----------------------------------------------------------------------## -+{ -+ glibc-2.5.x-on-SUSE-10.2-(PPC)-1 -+ Memcheck:Cond -+ fun:_dl_start_final -+ fun:_dl_start -+ fun:_start -+} -+{ -+ glibc-2.5.x-on-SUSE-10.2-(PPC)-2a -+ Memcheck:Cond -+ fun:index -+ obj:*ld-2.5.*.so -+} -+{ -+ glibc-2.5.x-on-SuSE-10.2-(PPC)-2b -+ Memcheck:Addr4 -+ fun:index -+ fun:expand_dynamic_string_token -+} -+{ -+ glibc-2.5.5-on-SuSE-10.2-(PPC)-2c -+ Memcheck:Addr4 -+ fun:index -+ obj:*ld-2.5.*.so -+} -+{ -+ glibc-2.3.5-on-SuSE-10.1-(PPC)-3 -+ Memcheck:Addr4 -+ fun:*wordcopy_fwd_dest_aligned* -+ fun:mem*cpy -+ obj:*lib*2.5.*.so -+} -+ -+##----------------------------------------------------------------------## -+## Various structure padding things on SUSE 10.2 -+## -+{ -+ X11-64bit-padding-1a -+ Memcheck:Param -+ write(buf) -+ fun:__write_nocancel -+ obj:/usr/lib*/libX11.so* -+ obj:/usr/lib*/libX11.so* -+ fun:X* -+} -+{ -+ X11-64bit-padding-1b -+ Memcheck:Param -+ write(buf) -+ fun:__write_nocancel -+ obj:/usr/lib*/libX11.so* -+ obj:/usr/lib*/libX11.so* -+ fun:_X* -+} -+{ -+ X11-64bit-padding-1c -+ Memcheck:Param -+ write(buf) -+ fun:__write_nocancel -+ obj:/usr/lib*/libX11.so* -+ obj:/usr/lib*/libX11.so* -+ obj:/usr/lib*/libX11.so* -+} -+{ -+ X11-64bit-padding-1d -+ Memcheck:Param -+ write(buf) -+ fun:__write_nocancel -+ obj:/usr/lib*/libICE.so* -+ obj:/usr/lib*/libICE.so* -+ obj:/usr/lib*/libICE.so* -+} -+{ -+ X11-64bit-padding-2a -+ Memcheck:Param -+ writev(vector[...]) -+ fun:do_writev -+ obj:/usr/lib*/libX11.so* -+ obj:/usr/lib*/libX11.so* -+ obj:/usr/lib*/libX11.so* -+} -+{ -+ X11-64bit-padding-2b -+ Memcheck:Param -+ writev(vector[...]) -+ fun:do_writev -+ fun:writev -+ obj:/usr/lib*/libX11.so* -+ obj:/usr/lib*/libX11.so* -+} -+ -+{ -+ glibc24-64bit-padding-1a -+ Memcheck:Param -+ socketcall.sendto(msg) -+ fun:send -+ fun:get_mapping -+ fun:__nscd_get_map_ref -+ fun:nscd* -+} -+{ -+ glibc24-64bit-padding-1b -+ Memcheck:Param -+ socketcall.sendto(msg) -+ fun:__sendto_nocancel -+ obj:/*libc-2.5.so -+ obj:/*libc-2.5.so -+ obj:/*libc-2.5.so -+} -+{ -+ glibc24-64bit-padding-1c -+ Memcheck:Param -+ socketcall.send(msg) -+ fun:send -+ fun:__nscd_get_map_ref -+ fun:nscd_get*_r -+ fun:*nscd* -+ obj:/*libc-2.5.so -+} -+ -+ -+{ -+ X11-64bit-padding-3a -+ Memcheck:Param -+ write(buf) -+ obj:/*libpthread-2.4.so* -+ obj:/usr/lib*/libX11.so* -+ obj:/usr/lib*/libX11.so* -+ obj:/usr/lib*/libX11.so* -+} -+ -+{ -+ X11-64bit-padding-4a -+ Memcheck:Param -+ socketcall.sendto(msg) -+ fun:send -+ obj:/*libc-2.5.so -+ obj:/*libc-2.5.so -+ obj:/*libc-2.5.so -+} -+{ -+ X11-64bit-padding-4b -+ Memcheck:Param -+ socketcall.send(msg) -+ fun:send -+ obj:/*libc-2.5.so -+ obj:/*libc-2.5.so -+ obj:/*libc-2.5.so -+} -+ -+##----------------------------------------------------------------------## -+# MontaVista Linux 4.0.1 on ppc32 -+{ -+ MVL-401-linuxthreads-pthread_create -+ Memcheck:Param -+ write(buf) -+ fun:pthread_create -+} -+{ -+ MVL-401-linuxthreads-pthread_create -+ Memcheck:Param -+ write(buf) -+ obj:/lib/libpthread-0.10.so -+ fun:pthread_create -+} |