diff options
-rw-r--r-- | dev-util/valgrind/ChangeLog | 17 | ||||
-rw-r--r-- | dev-util/valgrind/Manifest | 21 | ||||
-rw-r--r-- | dev-util/valgrind/files/valgrind-3.2.1-only64bit.patch | 12 | ||||
-rw-r--r-- | dev-util/valgrind/files/valgrind-3.2.3-glibc-2.6.patch | 269 | ||||
-rw-r--r-- | dev-util/valgrind/files/valgrind-3.2.3-glibc-2.7.patch | 266 | ||||
-rw-r--r-- | dev-util/valgrind/files/valgrind-3.2.3-unhandled-instr-amd64.patch | 13 | ||||
-rw-r--r-- | dev-util/valgrind/files/valgrind-3.3.0-massif-cplusplus.patch | 75 | ||||
-rw-r--r-- | dev-util/valgrind/valgrind-3.2.3-r1.ebuild | 91 | ||||
-rw-r--r-- | dev-util/valgrind/valgrind-3.2.3.ebuild | 90 | ||||
-rw-r--r-- | dev-util/valgrind/valgrind-3.3.0.ebuild | 91 | ||||
-rw-r--r-- | dev-util/valgrind/valgrind-3.4.0.ebuild (renamed from dev-util/valgrind/valgrind-3.3.0-r1.ebuild) | 9 |
11 files changed, 26 insertions, 928 deletions
diff --git a/dev-util/valgrind/ChangeLog b/dev-util/valgrind/ChangeLog index 604b5fd776a0..978b6cb55935 100644 --- a/dev-util/valgrind/ChangeLog +++ b/dev-util/valgrind/ChangeLog @@ -1,6 +1,19 @@ # ChangeLog for dev-util/valgrind -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v 1.94 2008/12/13 10:57:06 griffon26 Exp $ +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v 1.95 2009/01/05 19:08:16 griffon26 Exp $ + +*valgrind-3.4.0 (05 Jan 2009) + + 05 Jan 2009; Maurice van der Pot <griffon26@gentoo.org> + -files/valgrind-3.2.1-only64bit.patch, + -files/valgrind-3.2.3-glibc-2.6.patch, + -files/valgrind-3.2.3-glibc-2.7.patch, + -files/valgrind-3.2.3-unhandled-instr-amd64.patch, + -files/valgrind-3.3.0-massif-cplusplus.patch, -valgrind-3.2.3.ebuild, + -valgrind-3.2.3-r1.ebuild, -valgrind-3.3.0.ebuild, + -valgrind-3.3.0-r1.ebuild, +valgrind-3.4.0.ebuild: + Added valgrind-3.4.0, which has a fix for CVE-2008-4865 (bug #245317). + Removed old ebuilds. *valgrind-3.3.1-r1 (13 Dec 2008) diff --git a/dev-util/valgrind/Manifest b/dev-util/valgrind/Manifest index 67fccb2a4abb..1f279fb4c78e 100644 --- a/dev-util/valgrind/Manifest +++ b/dev-util/valgrind/Manifest @@ -1,30 +1,21 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX valgrind-3.2.1-only64bit.patch 560 RMD160 d7203e51c4bc6be4003f0715c779e9b384beff06 SHA1 e5f27e95f1608c611b599140f2e175769a47bb80 SHA256 f4100efb266b49503ab198f5540ad05e4a9defe19d579348e5c7edcad0ffae63 -AUX valgrind-3.2.3-glibc-2.6.patch 5825 RMD160 52e5c472eeeb418ea77ef1f3f3e4489d4d4f5031 SHA1 46d07bb66518a43795d0cee06ae5a5e58331b4ee SHA256 23bd0d40098d6a16f09152e77ba61bd97332be499b1a106e9bae9000ab200c29 -AUX valgrind-3.2.3-glibc-2.7.patch 5555 RMD160 24671cce520a45804eac0ce3ecf5c11d8d7bd30e SHA1 338ba61a195ba49e646dc1860a792517298d8b17 SHA256 9d32c2690fa0663ffeeacc7c971c3b9953202d4c279e15d8977740417dfd32d7 AUX valgrind-3.2.3-pkg-config.patch 670 RMD160 26d8f37182da50110e4c40c5be0ec9d06185d7fd SHA1 83bda9ceebc7c13586c5bcd49c809c72e2e7511d SHA256 ffd44e653b95326ef1915f406e35cca9a0898ba3e101965d0f6e4229c72c38d5 -AUX valgrind-3.2.3-unhandled-instr-amd64.patch 503 RMD160 e132a92f4f36b4019e86018e665d97eef2c1af00 SHA1 8cf0b4a7db85c3ab4b97beee7b6e02081a1c8497 SHA256 a5666ee374f5c0c4d57e6aed73a6765036c659dc4eeeebbd969ea1c1f1cbd2cd -AUX valgrind-3.3.0-massif-cplusplus.patch 2918 RMD160 4a9d372385a83ce4b6cf43ea249a3736eeedb37e SHA1 f009a2b6d9905af18908cee355977fdbfec7e1f1 SHA256 1308e02e9b5600bc3d88e705efd59ff2e0d0294679d7455849094f9f52c8b0ca AUX valgrind-3.3.0-only64bit.patch 580 RMD160 f4304ad005586541400e6c1466dabf8cdaac2b72 SHA1 7c890914ec0fd53b8de662783b230ec78e57e345 SHA256 23485d4b03c66db3c58f3a7e9d0aca439a50b87ea60f2edaaf94229b54a80ee9 AUX valgrind-3.3.1-glibc-2.9.patch 3428 RMD160 43564fd811561a8857a7a63cf960c234547e80e3 SHA1 fe2c4e880c4778b74715926fb1b978d8f26de917 SHA256 19c1dff2e83c876cdd49facb1308c6442b516a8c9d5f68750d6fc025ba38af14 AUX valgrind-3.3.1-local-labels.patch 1186 RMD160 3eeb3a847f85b2b68e32ce5966539067103b12c1 SHA1 07c6afbc4eb2565404ffe12aa8cd0357fd736ab4 SHA256 79a0e65903ce1b7ec0c0759c4face9a23bd9724831bf0b8c201dced2dc7dbb71 -DIST valgrind-3.2.3.tar.bz2 4016265 RMD160 62579fc7f1f3c39038b32467b2d098eeb8f77c79 SHA1 550195a913997ff15f12eea484bd3fe636b25472 SHA256 1bca920527f43fd0c68e8f8eb16a7996b34f415e73af54de0f2cd43a8247c441 -DIST valgrind-3.3.0.tar.bz2 4519551 RMD160 ea969a421163010c263a67fb0a2797d3f6cca62c SHA1 e2d0f3bcb4e6dd4638ceeddc9da8603b32efdf11 SHA256 5af08229d77fe55437a6c558aee9babcff23f28c8a9c8f1f0a7d152754e9947a DIST valgrind-3.3.1.tar.bz2 4544805 RMD160 32fb26de2ffd0d62e66a1f29cfa6785b7ffa8c36 SHA1 3a64ee5f6439815fa6c5200dcfd0399f9dc83348 SHA256 95b7b4d815bd479332637c93e69ec24167cd28d4f9d9f9b718e1b091bb88aafa -EBUILD valgrind-3.2.3-r1.ebuild 3093 RMD160 42e6d59be58e517fcd96d7cf82ca67df81ec2fd6 SHA1 0b2846f736cc50723934cae733bfb54c90ca4c0f SHA256 844e9a2a616ac5dc70cc482f4fb9f976d447715fc530ce523096aa769a63da67 -EBUILD valgrind-3.2.3.ebuild 3045 RMD160 f6477fea15734de984994306e19c6222a64ad0b3 SHA1 898f6bce8fde85ed9a77b745ff080b9766b8b93f SHA256 8a6b3c69d44c6b56f8fbe987a78782ef1165c347aa4be2b623de0f088556d11f -EBUILD valgrind-3.3.0-r1.ebuild 3213 RMD160 3f57761ab3f21eef8f65f4b06c5ee2d3b43d6f7c SHA1 46decd0f419a3fe03bebed01d77c81bd31abe7bd SHA256 86362a8584f2914702d63da253c2487b12fb30e50beabe29580c09950b5a9c6c -EBUILD valgrind-3.3.0.ebuild 3079 RMD160 da4102371fa30a15df1566d0958ea40ebe09dfb9 SHA1 72e0b01a128b2782190926aecc9be01c101c4a90 SHA256 9ce02a5699592dd7c91b9ae7cbadb0622c5c3cd9b4c2e5b0d7ffc201e63eef23 +DIST valgrind-3.4.0.tar.bz2 5175209 RMD160 3db249843f0845ca0892e557bede7d21d3112e3f SHA1 ae68418a4c283d14ae6454aca4a720ac936422df SHA256 d5ea4ae5b1ef9fca677a38959060a9acb70b38540721c8bf5c73d09a265f9f74 EBUILD valgrind-3.3.1-r1.ebuild 3385 RMD160 d1c102300788ba35b15a565817c44a053ecc65a9 SHA1 7f48f883bbbdc7f083fa3429c3522906829ecd38 SHA256 8eb9036a730fa488a92e207551b2443d6dd5846e96b8d76febb3c6abcbf6c793 EBUILD valgrind-3.3.1.ebuild 3252 RMD160 43b41c41747035258ae2d745823e48658426ed90 SHA1 5c085791efd179327ab0f317ec8f09a08e36cef1 SHA256 399f4bd21c1cce2c3c4bab5b96cd0886f74481bce8c6f6750e6bee78242d850b -MISC ChangeLog 14595 RMD160 e35df01bea22ce399687278438e05f7256250983 SHA1 6fc182efdec402e05cce495fd5e1bb08a2d27669 SHA256 06a0edf6cfae092593a44353165b76818e50708def675ae2deb83f2df69bfa91 +EBUILD valgrind-3.4.0.ebuild 3258 RMD160 49a933f1ecdf0ac2981a300c0b6c132e0078ad4f SHA1 356f6e90d9aab06ed0ea7f16cdbed4f7dea780a0 SHA256 9a3a684aa99f76f68bbebdd02711c77e957fa1fe47cdfdb8cef088f7e0d206fd +MISC ChangeLog 15135 RMD160 10a7da2905a2783c09d39f8f163317b2343e8ef6 SHA1 731bedc08504b80073691a3fc462548183bae093 SHA256 70352b1c1cc6de0ba6d61e74db863e1eef27a1f116c7a60e82bfa18e17c6d7dc MISC metadata.xml 1003 RMD160 e8ef4473e3545a4b98d46101edb49923112ac9e0 SHA1 f76bd7adb86b156832175f968d60c6372fcf8968 SHA256 2bf62ba94d772ac968485392127cf4f4303cccf5a1e6d0733d80507005ca7847 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAklDlQsACgkQMGnpIbeahxztfwCguCScz2A+NZhj8hTScC5OOnQE -TOUAn00nIHg7MkZOoxj5AIYrAOyJ2LvR -=l16s +iEYEARECAAYFAkliWqkACgkQMGnpIbeahxxoDgCdFGaKq3hPYk747Vvrwe2QAj+1 +WogAn0SMqebq4BnLPdW3wDS2i/hawTTG +=gZpK -----END PGP SIGNATURE----- diff --git a/dev-util/valgrind/files/valgrind-3.2.1-only64bit.patch b/dev-util/valgrind/files/valgrind-3.2.1-only64bit.patch deleted file mode 100644 index e3610eca3928..000000000000 --- a/dev-util/valgrind/files/valgrind-3.2.1-only64bit.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ruN valgrind-3.2.1/coregrind/launcher.c valgrind-3.2.1-patched/coregrind/launcher.c ---- valgrind-3.2.1/coregrind/launcher.c 2006-08-28 15:39:04.000000000 +0200 -+++ valgrind-3.2.1-patched/coregrind/launcher.c 2006-09-17 18:22:41.458977000 +0200 -@@ -244,7 +244,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); - diff --git a/dev-util/valgrind/files/valgrind-3.2.3-glibc-2.6.patch b/dev-util/valgrind/files/valgrind-3.2.3-glibc-2.6.patch deleted file mode 100644 index 867ad0e0db07..000000000000 --- a/dev-util/valgrind/files/valgrind-3.2.3-glibc-2.6.patch +++ /dev/null @@ -1,269 +0,0 @@ -diff -ruN valgrind-3.2.3/configure.in valgrind-3.2.3-fixed/configure.in ---- valgrind-3.2.3/configure.in 2007-07-17 19:32:42.956775000 +0200 -+++ valgrind-3.2.3-fixed/configure.in 2007-07-17 19:34:18.042194471 +0200 -@@ -359,6 +359,16 @@ - ], - 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,9 +396,15 @@ - 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]) -+ AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.6]) - ;; - esac - -diff -ruN valgrind-3.2.3/glibc-2.6.supp valgrind-3.2.3-fixed/glibc-2.6.supp ---- 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-07-17 19:34:18.042194471 +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.6*.so -+ obj:/lib*/ld-2.6*.so -+ obj:/lib*/ld-2.6*.so -+ obj:/lib*/ld-2.6*.so -+} -+ -+{ -+ dl-hack3 -+ Memcheck:Cond -+ obj:/lib*/ld-2.6*so* -+ obj:/lib*/ld-2.6*so* -+ obj:/lib*/ld-2.6*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.6.*.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.6.*.so -+} -+{ -+ glibc-2.3.5-on-SuSE-10.1-(PPC)-3 -+ Memcheck:Addr4 -+ fun:*wordcopy_fwd_dest_aligned* -+ fun:mem*cpy -+ obj:*lib*2.6.*.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.6.so -+ obj:/*libc-2.6.so -+ obj:/*libc-2.6.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.6.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.6.so -+ obj:/*libc-2.6.so -+ obj:/*libc-2.6.so -+} -+{ -+ X11-64bit-padding-4b -+ Memcheck:Param -+ socketcall.send(msg) -+ fun:send -+ obj:/*libc-2.6.so -+ obj:/*libc-2.6.so -+ obj:/*libc-2.6.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 -+} -diff -ruN valgrind-3.2.3/Makefile.am valgrind-3.2.3-fixed/Makefile.am ---- valgrind-3.2.3/Makefile.am 2007-01-02 15:52:30.000000000 +0100 -+++ valgrind-3.2.3-fixed/Makefile.am 2007-07-17 19:35:03.672794808 +0200 -@@ -17,7 +17,7 @@ - DIST_SUBDIRS = $(SUBDIRS) - - SUPP_FILES = \ -- glibc-2.2.supp glibc-2.3.supp glibc-2.4.supp glibc-2.5.supp \ -+ glibc-2.2.supp glibc-2.3.supp glibc-2.4.supp glibc-2.5.supp glibc-2.6.supp \ - xfree-3.supp xfree-4.supp - - dist_val_DATA = $(SUPP_FILES) default.supp diff --git a/dev-util/valgrind/files/valgrind-3.2.3-glibc-2.7.patch b/dev-util/valgrind/files/valgrind-3.2.3-glibc-2.7.patch deleted file mode 100644 index e6b98fe8d674..000000000000 --- a/dev-util/valgrind/files/valgrind-3.2.3-glibc-2.7.patch +++ /dev/null @@ -1,266 +0,0 @@ ---- configure.in 2007-11-14 21:18:56.000000000 +0100 -+++ configure.in.fixed 2007-11-14 21:21:16.000000000 +0100 -@@ -369,6 +369,16 @@ - ], - glibc="2.6") - -+AC_EGREP_CPP([GLIBC_27], [ -+#include <features.h> -+#ifdef __GNU_LIBRARY__ -+ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ == 7) -+ GLIBC_27 -+ #endif -+#endif -+], -+glibc="2.7") -+ - AC_MSG_CHECKING([the glibc version]) - - case "${glibc}" in -@@ -402,9 +412,15 @@ - DEFAULT_SUPP="glibc-2.6.supp ${DEFAULT_SUPP}" - ;; - -+ 2.7) -+ AC_MSG_RESULT(2.7 family) -+ AC_DEFINE([GLIBC_2_7], 1, [Define to 1 if you're using glibc 2.7.x]) -+ DEFAULT_SUPP="glibc-2.7.supp ${DEFAULT_SUPP}" -+ ;; -+ - *) - AC_MSG_RESULT(unsupported version) -- AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.6]) -+ AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.7]) - ;; - esac - ---- glibc-2.7.supp 1970-01-01 01:00:00.000000000 +0100 -+++ glibc-2.7.supp.fixed 2007-11-14 21:24:55.000000000 +0100 -@@ -0,0 +1,216 @@ -+ -+##----------------------------------------------------------------------## -+ -+# Errors to suppress by default with glibc 2.7.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.7*.so -+ obj:/lib*/ld-2.7*.so -+ obj:/lib*/ld-2.7*.so -+ obj:/lib*/ld-2.7*.so -+} -+ -+{ -+ dl-hack3 -+ Memcheck:Cond -+ obj:/lib*/ld-2.7*.so -+ obj:/lib*/ld-2.7*.so -+ obj:/lib*/ld-2.7*.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.7*.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.7*.so -+} -+{ -+ glibc-2.3.5-on-SuSE-10.1-(PPC)-3 -+ Memcheck:Addr4 -+ fun:*wordcopy_fwd_dest_aligned* -+ fun:mem*cpy -+ obj:*lib*2.7*.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.7*.so -+ obj:/*libc-2.7*.so -+ obj:/*libc-2.7*.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.7*.so -+} -+ -+ -+{ -+ X11-64bit-padding-3a -+ Memcheck:Param -+ write(buf) -+ obj:/*libpthread-2.7*.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.7*.so -+ obj:/*libc-2.7*.so -+ obj:/*libc-2.7*.so -+} -+{ -+ X11-64bit-padding-4b -+ Memcheck:Param -+ socketcall.send(msg) -+ fun:send -+ obj:/*libc-2.7*.so -+ obj:/*libc-2.7*.so -+ obj:/*libc-2.7*.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 -+} ---- Makefile.am 2007-11-14 21:18:56.000000000 +0100 -+++ Makefile.am.fixed 2007-11-14 21:26:34.000000000 +0100 -@@ -17,7 +17,7 @@ - DIST_SUBDIRS = $(SUBDIRS) - - SUPP_FILES = \ -- glibc-2.2.supp glibc-2.3.supp glibc-2.4.supp glibc-2.5.supp glibc-2.6.supp \ -+ glibc-2.2.supp glibc-2.3.supp glibc-2.4.supp glibc-2.5.supp glibc-2.6.supp glibc-2.7.supp \ - xfree-3.supp xfree-4.supp - - dist_val_DATA = $(SUPP_FILES) default.supp diff --git a/dev-util/valgrind/files/valgrind-3.2.3-unhandled-instr-amd64.patch b/dev-util/valgrind/files/valgrind-3.2.3-unhandled-instr-amd64.patch deleted file mode 100644 index ef87883ac7bf..000000000000 --- a/dev-util/valgrind/files/valgrind-3.2.3-unhandled-instr-amd64.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: VEX/priv/guest-amd64/toIR.c -=================================================================== ---- VEX/priv/guest-amd64/toIR.c (revision 1775) -+++ VEX/priv/guest-amd64/toIR.c (revision 1776) -@@ -8387,7 +8387,7 @@ - as many invalid combinations as possible. */ - n_prefixes = 0; - while (True) { -- if (n_prefixes > 5) goto decode_failure; -+ if (n_prefixes > 7) goto decode_failure; - pre = getUChar(delta); - switch (pre) { - case 0x66: pfx |= PFX_66; break; diff --git a/dev-util/valgrind/files/valgrind-3.3.0-massif-cplusplus.patch b/dev-util/valgrind/files/valgrind-3.3.0-massif-cplusplus.patch deleted file mode 100644 index 3d4dd47f3d6d..000000000000 --- a/dev-util/valgrind/files/valgrind-3.3.0-massif-cplusplus.patch +++ /dev/null @@ -1,75 +0,0 @@ -Index: massif/ms_main.c -=================================================================== ---- massif/ms_main.c (revision 7353) -+++ massif/ms_main.c (working copy) -@@ -774,6 +774,11 @@ - #define MAX_OVERESTIMATE 50 - #define MAX_IPS (MAX_DEPTH + MAX_OVERESTIMATE) - -+// This is used for various buffers which can hold function names/IP -+// description. Some C++ names can get really long so 1024 isn't big -+// enough. -+#define BUF_LEN 2048 -+ - // Get the stack trace for an XCon, filtering out uninteresting entries: - // alloc-fns and entries above alloc-fns, and entries below main-or-below-main. - // Eg: alloc-fn1 / alloc-fn2 / a / b / main / (below main) / c -@@ -783,7 +788,6 @@ - static - Int get_IPs( ThreadId tid, Bool is_custom_alloc, Addr ips[]) - { -- #define BUF_LEN 1024 - Char buf[BUF_LEN]; - Int n_ips, i, n_alloc_fns_removed; - Int overestimate; -@@ -1863,16 +1867,27 @@ - // The output file name. Controlled by --massif-out-file. - static Char* massif_out_file = NULL; - --#define FP_BUF_SIZE 1024 --Char FP_buf[FP_BUF_SIZE]; -+Char FP_buf[BUF_LEN]; - - // XXX: implement f{,n}printf in m_libcprint.c eventually, and use it here. - // Then change Cachegrind to use it too. - #define FP(format, args...) ({ \ -- VG_(snprintf)(FP_buf, FP_BUF_SIZE, format, ##args); \ -+ VG_(snprintf)(FP_buf, BUF_LEN, format, ##args); \ -+ FP_buf[BUF_LEN-1] = '\0'; /* Make sure the string is terminated. */ \ - VG_(write)(fd, (void*)FP_buf, VG_(strlen)(FP_buf)); \ - }) - -+// Same as FP, but guarantees a '\n' at the end. -+#define FPn(format, args...) ({ \ -+ VG_(snprintf)(FP_buf, BUF_LEN, format, ##args); \ -+ FP_buf[BUF_LEN-5] = '.'; /* "..." at the end make the truncation */ \ -+ FP_buf[BUF_LEN-4] = '.'; /* more obvious */ \ -+ FP_buf[BUF_LEN-3] = '.'; \ -+ FP_buf[BUF_LEN-2] = '\n'; /* Make sure the last char is a newline. */ \ -+ FP_buf[BUF_LEN-1] = '\0'; /* Make sure the string is terminated. */ \ -+ VG_(write)(fd, (void*)FP_buf, VG_(strlen)(FP_buf)); \ -+}) -+ - // Nb: uses a static buffer, each call trashes the last string returned. - static Char* make_perc(ULong x, ULong y) - { -@@ -1892,7 +1907,6 @@ - Int depth_str_len, - SizeT snapshot_heap_szB, SizeT snapshot_total_szB) - { -- #define BUF_LEN 1024 - Int i, n_insig_children_sxpts; - Char* perc; - Char ip_desc_array[BUF_LEN]; -@@ -1925,7 +1939,10 @@ - ip_desc = VG_(describe_IP)(sxpt->Sig.ip-1, ip_desc, BUF_LEN); - } - perc = make_perc(sxpt->szB, snapshot_total_szB); -- FP("%sn%d: %lu %s\n", -+ // Nb: we deliberately use 'FPn', not 'FP'. So if the ip_desc is -+ // too long (eg. due to a long C++ function name), it'll get -+ // truncated, but the '\n' is still there so its a valid file. -+ FPn("%sn%d: %lu %s\n", - depth_str, sxpt->Sig.n_children, sxpt->szB, ip_desc); - - // Indent. diff --git a/dev-util/valgrind/valgrind-3.2.3-r1.ebuild b/dev-util/valgrind/valgrind-3.2.3-r1.ebuild deleted file mode 100644 index 48e419c41bd6..000000000000 --- a/dev-util/valgrind/valgrind-3.2.3-r1.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-3.2.3-r1.ebuild,v 1.5 2008/01/14 20:22:39 dertobi123 Exp $ - -inherit autotools eutils flag-o-matic toolchain-funcs - -DESCRIPTION="An open-source memory debugger for GNU/Linux" -HOMEPAGE="http://www.valgrind.org" -SRC_URI="http://www.valgrind.org/downloads/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-* amd64 ppc ppc64 ~x86" -IUSE="X" - -# bug #49147 (bogus stacktrace in gdb with --db-attach=yes) does not seem to be applicable anymore -#RESTRICT="strip" - -RDEPEND="!dev-util/callgrind" - -src_unpack() { - unpack ${A} - cd "${S}" - - # make sure our CFLAGS are respected - einfo "Changing configure.in to respect CFLAGS" - sed -i -e 's:^CFLAGS="-Wno-long-long":CFLAGS="$CFLAGS -Wno-long-long":' configure.in - - # undefined references to __guard and __stack_smash_handler in VEX (bug #114347) - einfo "Changing Makefile.flags.am to disable SSP" - sed -i -e 's:^AM_CFLAGS_BASE = :AM_CFLAGS_BASE = -fno-stack-protector :' Makefile.flags.am - - # Correct hard coded doc location - sed -i -e "s:doc/valgrind:doc/${P}:" docs/Makefile.am - - # Fix incorrect --libs output in valgrind.pc (bug #147904) - epatch "${FILESDIR}/${P}-pkg-config.patch" - - # Remove defaulting to ppc32-linux on ppc64 without multilib - # "valgrind: failed to start tool 'memcheck' for platform 'ppc32-linux': - # No such file or directory" - if use ppc64 && ! has_multilib_profile; then - epatch "${FILESDIR}/valgrind-3.2.1-only64bit.patch" - fi - - epatch "${FILESDIR}/${P}-glibc-2.6.patch" - epatch "${FILESDIR}/${P}-glibc-2.7.patch" - - # Prevent "unhandled instruction bytes: 0x66 0x66 0x66 0x66" (bug #189396) - epatch "${FILESDIR}/${P}-unhandled-instr-amd64.patch" - - # Regenerate autotools files - eautoreconf -} - -src_compile() { - local myconf - - # -fomit-frame-pointer "Assembler messages: Error: junk `8' after expression" - # while compiling insn_sse.c in none/tests/x86 - # -fpie valgrind seemingly hangs when built with pie on - # amd64 (bug #102157) - # -fstack-protector more undefined references to __guard and __stack_smash_handler - # because valgrind doesn't link to glibc (bug #114347) - # -ggdb3 segmentation fault on startup - filter-flags -fomit-frame-pointer - filter-flags -fpie - filter-flags -fstack-protector - replace-flags -ggdb3 -ggdb2 - - # gcc 3.3.x fails to compile valgrind with -O3 (bug #129776) - if [ "$(gcc-version)" == "3.3" ] && is-flagq -O3; then - ewarn "GCC 3.3 cannot compile valgrind with -O3 in CFLAGS, using -O2 instead." - replace-flags -O3 -O2 - fi - - # Optionally build in X suppression files - use X && myconf="--with-x" || myconf="--with-x=no" - - if use amd64 || use ppc64; then - ! has_multilib_profile && myconf="${myconf} --enable-only64bit" - fi - - econf ${myconf} || die "Configure failed!" - emake || die "Make failed!" -} - -src_install() { - make DESTDIR="${D}" install || die "Install failed!" - dodoc ACKNOWLEDGEMENTS AUTHORS FAQ.txt NEWS README* -} diff --git a/dev-util/valgrind/valgrind-3.2.3.ebuild b/dev-util/valgrind/valgrind-3.2.3.ebuild deleted file mode 100644 index 78852099d72b..000000000000 --- a/dev-util/valgrind/valgrind-3.2.3.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-3.2.3.ebuild,v 1.9 2007/08/26 09:32:34 griffon26 Exp $ - -inherit autotools eutils flag-o-matic toolchain-funcs - -DESCRIPTION="An open-source memory debugger for GNU/Linux" -HOMEPAGE="http://www.valgrind.org" -SRC_URI="http://www.valgrind.org/downloads/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-* amd64 ppc ppc64 x86" -IUSE="X" - -# bug #49147 (bogus stacktrace in gdb with --db-attach=yes) does not seem to be applicable anymore -#RESTRICT="strip" - -RDEPEND="!dev-util/callgrind" - -src_unpack() { - unpack ${A} - cd "${S}" - - # make sure our CFLAGS are respected - einfo "Changing configure.in to respect CFLAGS" - sed -i -e 's:^CFLAGS="-Wno-long-long":CFLAGS="$CFLAGS -Wno-long-long":' configure.in - - # undefined references to __guard and __stack_smash_handler in VEX (bug #114347) - einfo "Changing Makefile.flags.am to disable SSP" - sed -i -e 's:^AM_CFLAGS_BASE = :AM_CFLAGS_BASE = -fno-stack-protector :' Makefile.flags.am - - # Correct hard coded doc location - sed -i -e "s:doc/valgrind:doc/${P}:" docs/Makefile.am - - # Fix incorrect --libs output in valgrind.pc (bug #147904) - epatch "${FILESDIR}/${P}-pkg-config.patch" - - # Remove defaulting to ppc32-linux on ppc64 without multilib - # "valgrind: failed to start tool 'memcheck' for platform 'ppc32-linux': - # No such file or directory" - if use ppc64 && ! has_multilib_profile; then - epatch "${FILESDIR}/valgrind-3.2.1-only64bit.patch" - fi - - epatch "${FILESDIR}/${P}-glibc-2.6.patch" - - # Prevent "unhandled instruction bytes: 0x66 0x66 0x66 0x66" (bug #189396) - epatch "${FILESDIR}/${P}-unhandled-instr-amd64.patch" - - # Regenerate autotools files - eautoreconf -} - -src_compile() { - local myconf - - # -fomit-frame-pointer "Assembler messages: Error: junk `8' after expression" - # while compiling insn_sse.c in none/tests/x86 - # -fpie valgrind seemingly hangs when built with pie on - # amd64 (bug #102157) - # -fstack-protector more undefined references to __guard and __stack_smash_handler - # because valgrind doesn't link to glibc (bug #114347) - # -ggdb3 segmentation fault on startup - filter-flags -fomit-frame-pointer - filter-flags -fpie - filter-flags -fstack-protector - replace-flags -ggdb3 -ggdb2 - - # gcc 3.3.x fails to compile valgrind with -O3 (bug #129776) - if [ "$(gcc-version)" == "3.3" ] && is-flagq -O3; then - ewarn "GCC 3.3 cannot compile valgrind with -O3 in CFLAGS, using -O2 instead." - replace-flags -O3 -O2 - fi - - # Optionally build in X suppression files - use X && myconf="--with-x" || myconf="--with-x=no" - - if use amd64 || use ppc64; then - ! has_multilib_profile && myconf="${myconf} --enable-only64bit" - fi - - econf ${myconf} || die "Configure failed!" - emake || die "Make failed!" -} - -src_install() { - make DESTDIR="${D}" install || die "Install failed!" - dodoc ACKNOWLEDGEMENTS AUTHORS FAQ.txt NEWS README* -} diff --git a/dev-util/valgrind/valgrind-3.3.0.ebuild b/dev-util/valgrind/valgrind-3.3.0.ebuild deleted file mode 100644 index 98c9d9101c67..000000000000 --- a/dev-util/valgrind/valgrind-3.3.0.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-3.3.0.ebuild,v 1.3 2008/07/27 17:55:23 tester Exp $ - -inherit autotools eutils flag-o-matic toolchain-funcs - -DESCRIPTION="An open-source memory debugger for GNU/Linux" -HOMEPAGE="http://www.valgrind.org" -SRC_URI="http://www.valgrind.org/downloads/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" -IUSE="X" - -RDEPEND="!dev-util/callgrind" - -src_unpack() { - unpack ${A} - cd "${S}" - - # make sure our CFLAGS are respected - einfo "Changing configure.in to respect CFLAGS" - sed -i -e 's:^CFLAGS="-Wno-long-long":CFLAGS="$CFLAGS -Wno-long-long":' configure.in - - # undefined references to __guard and __stack_smash_handler in VEX (bug #114347) - einfo "Changing Makefile.flags.am to disable SSP" - sed -i -e 's:^AM_CFLAGS_BASE = :AM_CFLAGS_BASE = -fno-stack-protector :' Makefile.flags.am - - # Correct hard coded doc location - sed -i -e "s:doc/valgrind:doc/${P}:" docs/Makefile.am - - # Fix incorrect --libs output in valgrind.pc (bug #147904) - epatch "${FILESDIR}/${PN}-3.2.3-pkg-config.patch" - - # Remove defaulting to ppc32-linux on ppc64 without multilib - # "valgrind: failed to start tool 'memcheck' for platform 'ppc32-linux': - # No such file or directory" - if use ppc64 && ! has_multilib_profile; then - epatch "${FILESDIR}/valgrind-3.3.0-only64bit.patch" - fi - - # Regenerate autotools files - eautoreconf -} - -src_compile() { - local myconf - - # -fomit-frame-pointer "Assembler messages: Error: junk `8' after expression" - # while compiling insn_sse.c in none/tests/x86 - # -fpie valgrind seemingly hangs when built with pie on - # amd64 (bug #102157) - # -fstack-protector more undefined references to __guard and __stack_smash_handler - # because valgrind doesn't link to glibc (bug #114347) - # -ggdb3 segmentation fault on startup - filter-flags -fomit-frame-pointer - filter-flags -fpie - filter-flags -fstack-protector - replace-flags -ggdb3 -ggdb2 - - # gcc 3.3.x fails to compile valgrind with -O3 (bug #129776) - if [ "$(gcc-version)" == "3.3" ] && is-flagq -O3; then - ewarn "GCC 3.3 cannot compile valgrind with -O3 in CFLAGS, using -O2 instead." - replace-flags -O3 -O2 - fi - - # Optionally build in X suppression files - use X && myconf="--with-x" || myconf="--with-x=no" - - if use amd64 || use ppc64; then - ! has_multilib_profile && myconf="${myconf} --enable-only64bit" - fi - - econf ${myconf} --without-mpicc || die "Configure failed!" - emake || die "Make failed!" -} - -src_install() { - make DESTDIR="${D}" install || die "Install failed!" - dodoc ACKNOWLEDGEMENTS AUTHORS FAQ.txt NEWS README* -} - -pkg_postinst() { - if use ppc || use ppc64 ; then - ewarn "Valgrind will not work on ppc or ppc64 if glibc does not have" - ewarn "debug symbols (see https://bugs.gentoo.org/show_bug.cgi?id=214065)" - ewarn "To fix this you can add splitdebug to FEATURES in make.conf and" - ewarn "remerge glibc." - fi -} diff --git a/dev-util/valgrind/valgrind-3.3.0-r1.ebuild b/dev-util/valgrind/valgrind-3.4.0.ebuild index 8ec49371f8ac..a2deb48952c0 100644 --- a/dev-util/valgrind/valgrind-3.3.0-r1.ebuild +++ b/dev-util/valgrind/valgrind-3.4.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-3.3.0-r1.ebuild,v 1.2 2008/07/27 17:55:23 tester Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-3.4.0.ebuild,v 1.1 2009/01/05 19:08:16 griffon26 Exp $ inherit autotools eutils flag-o-matic toolchain-funcs @@ -40,8 +40,9 @@ src_unpack() { epatch "${FILESDIR}/valgrind-3.3.0-only64bit.patch" fi - # Have massif provide useful output with large symbols (bug #221067) - epatch "${FILESDIR}/valgrind-3.3.0-massif-cplusplus.patch" + # Use local labels in inline asm to prevent 'symbol already defined' errors + # when optimisation is on (bug #234644). + epatch "${FILESDIR}/valgrind-3.3.1-local-labels.patch" # Regenerate autotools files eautoreconf |