diff options
Diffstat (limited to 'dev-util/valgrind/files')
-rw-r--r-- | dev-util/valgrind/files/digest-valgrind-3.2.0 | 3 | ||||
-rw-r--r-- | dev-util/valgrind/files/digest-valgrind-3.2.1 | 3 | ||||
-rw-r--r-- | dev-util/valgrind/files/digest-valgrind-3.3.0 | 3 | ||||
-rw-r--r-- | dev-util/valgrind/files/valgrind-3.2.1-glibc-2.5.patch | 241 | ||||
-rw-r--r-- | dev-util/valgrind/files/valgrind-3.2.1-pkg-config.patch | 20 | ||||
-rw-r--r-- | dev-util/valgrind/files/valgrind-3.3.0-only64bit.patch | 12 |
6 files changed, 15 insertions, 267 deletions
diff --git a/dev-util/valgrind/files/digest-valgrind-3.2.0 b/dev-util/valgrind/files/digest-valgrind-3.2.0 deleted file mode 100644 index 968ccfcf3511..000000000000 --- a/dev-util/valgrind/files/digest-valgrind-3.2.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 c418026ce7c38a740ef17efe59509fcf valgrind-3.2.0.tar.bz2 4059114 -RMD160 06cebcfacece9f6bac8fd72c13022d3440d243e9 valgrind-3.2.0.tar.bz2 4059114 -SHA256 e13b81b733697736b5d220c04fb853c1113d11867c7fb96028bee9d2584b638e valgrind-3.2.0.tar.bz2 4059114 diff --git a/dev-util/valgrind/files/digest-valgrind-3.2.1 b/dev-util/valgrind/files/digest-valgrind-3.2.1 deleted file mode 100644 index b657d4583de1..000000000000 --- a/dev-util/valgrind/files/digest-valgrind-3.2.1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 9407d33961186814cef0e6ecedfd6318 valgrind-3.2.1.tar.bz2 4052885 -RMD160 eecd339f962b1657c377569650d435795638cc86 valgrind-3.2.1.tar.bz2 4052885 -SHA256 7f9a15d7be16ca03a0912191e8d55a486bf69690e11bb76ccece3eaff3730a33 valgrind-3.2.1.tar.bz2 4052885 diff --git a/dev-util/valgrind/files/digest-valgrind-3.3.0 b/dev-util/valgrind/files/digest-valgrind-3.3.0 new file mode 100644 index 000000000000..f83b4acb200e --- /dev/null +++ b/dev-util/valgrind/files/digest-valgrind-3.3.0 @@ -0,0 +1,3 @@ +MD5 e5fc39755a714f36b7e5014c1c6d4748 valgrind-3.3.0.tar.bz2 4519551 +RMD160 ea969a421163010c263a67fb0a2797d3f6cca62c valgrind-3.3.0.tar.bz2 4519551 +SHA256 5af08229d77fe55437a6c558aee9babcff23f28c8a9c8f1f0a7d152754e9947a valgrind-3.3.0.tar.bz2 4519551 diff --git a/dev-util/valgrind/files/valgrind-3.2.1-glibc-2.5.patch b/dev-util/valgrind/files/valgrind-3.2.1-glibc-2.5.patch deleted file mode 100644 index f0e0387e32c7..000000000000 --- a/dev-util/valgrind/files/valgrind-3.2.1-glibc-2.5.patch +++ /dev/null @@ -1,241 +0,0 @@ -diff -ruN valgrind-3.2.1/configure.in valgrind-3.2.1-fixed/configure.in ---- valgrind-3.2.1/configure.in 2006-10-24 17:51:14.339715000 +0200 -+++ valgrind-3.2.1-fixed/configure.in 2006-10-24 17:52:24.220082250 +0200 -@@ -349,6 +349,16 @@ - ], - glibc="2.4") - -+AC_EGREP_CPP([GLIBC_25], [ -+#include <features.h> -+#ifdef __GNU_LIBRARY__ -+ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ == 5) -+ GLIBC_25 -+ #endif -+#endif -+], -+glibc="2.5") -+ - AC_MSG_CHECKING([the glibc version]) - - case "${glibc}" in -@@ -370,9 +380,15 @@ - DEFAULT_SUPP="glibc-2.4.supp ${DEFAULT_SUPP}" - ;; - -+ 2.5) -+ AC_MSG_RESULT(2.5 family) -+ AC_DEFINE([GLIBC_2_5], 1, [Define to 1 if you're using glibc 2.5.x]) -+ DEFAULT_SUPP="glibc-2.5.supp ${DEFAULT_SUPP}" -+ ;; -+ - *) - AC_MSG_RESULT(unsupported version) -- AC_MSG_ERROR([Valgrind requires glibc version 2.2, 2.3 or 2.4]) -+ AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.5]) - ;; - esac - -diff -ruN valgrind-3.2.1/glibc-2.5.supp valgrind-3.2.1-fixed/glibc-2.5.supp ---- valgrind-3.2.1/glibc-2.5.supp 1970-01-01 01:00:00.000000000 +0100 -+++ valgrind-3.2.1-fixed/glibc-2.5.supp 2006-10-24 17:52:31.800556000 +0200 -@@ -0,0 +1,200 @@ -+ -+##----------------------------------------------------------------------## -+ -+# 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 -+} diff --git a/dev-util/valgrind/files/valgrind-3.2.1-pkg-config.patch b/dev-util/valgrind/files/valgrind-3.2.1-pkg-config.patch deleted file mode 100644 index 25fb8a8fd915..000000000000 --- a/dev-util/valgrind/files/valgrind-3.2.1-pkg-config.patch +++ /dev/null @@ -1,20 +0,0 @@ -Index: valgrind.pc.in -=================================================================== ---- valgrind.pc.in (revision 6077) -+++ valgrind.pc.in (working copy) -@@ -4,13 +4,13 @@ - includedir=@includedir@/valgrind - arch=@VG_ARCH@ - os=@VG_OS@ --platform=@VG_PLATFORM@ -+platform=@VG_ARCH@-@VG_OS@ - valt_load_address=@VALT_LOAD_ADDRESS@ - - Name: Valgrind - Description: A dynamic binary instrumentation framework - Version: @VERSION@ - Requires: --Libs: -L${libdir}/valgrind/@VG_PLATFORM@ -lcoregrind -lvex -lgcc -+Libs: -L${libdir}/valgrind/@VG_ARCH@-@VG_OS@ -lcoregrind -lvex -lgcc - Cflags: -I${includedir} - diff --git a/dev-util/valgrind/files/valgrind-3.3.0-only64bit.patch b/dev-util/valgrind/files/valgrind-3.3.0-only64bit.patch new file mode 100644 index 000000000000..666c66ca4fa7 --- /dev/null +++ b/dev-util/valgrind/files/valgrind-3.3.0-only64bit.patch @@ -0,0 +1,12 @@ +diff -ruN valgrind-3.3.0/coregrind/launcher-linux.c valgrind-3.3.0-fixed/coregrind/launcher-linux.c +--- valgrind-3.3.0/coregrind/launcher-linux.c 2007-12-11 00:18:46.000000000 +0100 ++++ valgrind-3.3.0-fixed/coregrind/launcher-linux.c 2007-12-13 21:07:21.388704395 +0100 +@@ -246,7 +246,7 @@ + else if (0==strcmp(VG_PLATFORM,"ppc32-linux")) + default_platform = "ppc32-linux"; + else if (0==strcmp(VG_PLATFORM,"ppc64-linux")) +- default_platform = "ppc32-linux"; ++ default_platform = "ppc64-linux"; + else + barf("Unknown VG_PLATFORM '%s'", VG_PLATFORM); + |