diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2012-04-28 16:37:57 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2012-04-28 16:37:57 +0000 |
commit | bc72f72d03046d384e9a3b6a9f5379890caf42eb (patch) | |
tree | a2d9ea9574bacec33265cdae28e5d8f2ff2f5578 /dev-util/valgrind | |
parent | Stable for HPPA (bug #411903). (diff) | |
download | historical-bc72f72d03046d384e9a3b6a9f5379890caf42eb.tar.gz historical-bc72f72d03046d384e9a3b6a9f5379890caf42eb.tar.bz2 historical-bc72f72d03046d384e9a3b6a9f5379890caf42eb.zip |
Remove older versions which don't build against current tree
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'dev-util/valgrind')
-rw-r--r-- | dev-util/valgrind/ChangeLog | 6 | ||||
-rw-r--r-- | dev-util/valgrind/Manifest | 16 | ||||
-rw-r--r-- | dev-util/valgrind/files/valgrind-3.3.1-glibc-2.9.patch | 141 | ||||
-rw-r--r-- | dev-util/valgrind/valgrind-3.3.1-r1.ebuild | 98 | ||||
-rw-r--r-- | dev-util/valgrind/valgrind-3.3.1.ebuild | 95 |
5 files changed, 16 insertions, 340 deletions
diff --git a/dev-util/valgrind/ChangeLog b/dev-util/valgrind/ChangeLog index 1203e22d1233..79633e156fd4 100644 --- a/dev-util/valgrind/ChangeLog +++ b/dev-util/valgrind/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-util/valgrind # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v 1.140 2012/04/25 08:35:26 jdhore Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v 1.141 2012/04/28 16:37:57 blueness Exp $ + + 28 Apr 2012; Anthony G. Basile <blueness@gentoo.org> -valgrind-3.3.1.ebuild, + -valgrind-3.3.1-r1.ebuild, -files/valgrind-3.3.1-glibc-2.9.patch: + Remove older versions which don't build against current tree 25 Apr 2012; Jeff Horelick <jdhore@gentoo.org> valgrind-3.6.1-r3.ebuild: marked x86 per bug 393461 diff --git a/dev-util/valgrind/Manifest b/dev-util/valgrind/Manifest index 30450c8d0274..fa148b7a6e58 100644 --- a/dev-util/valgrind/Manifest +++ b/dev-util/valgrind/Manifest @@ -1,6 +1,8 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX valgrind-3.2.3-pkg-config.patch 670 RMD160 26d8f37182da50110e4c40c5be0ec9d06185d7fd SHA1 83bda9ceebc7c13586c5bcd49c809c72e2e7511d SHA256 ffd44e653b95326ef1915f406e35cca9a0898ba3e101965d0f6e4229c72c38d5 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 AUX valgrind-3.4.1-glibc-2.10.1.patch 1305 RMD160 27586a6140bc0c96589f7077a3c9ee266010ac9c SHA1 dc5df31911c93c98d7876fc6ad9157ab62b38de2 SHA256 b250a3f7e8654cbc835570b0647d035f25a866a51312a8c0d82119db474eddd6 AUX valgrind-3.4.1-local-labels.patch 514 RMD160 abed0cb125a36c6485555c4d8fbbb3199365592a SHA1 508dac2d237c4b6284990c3008a91de2c09a41f0 SHA256 a19d5a0bfff0e97c4b85a9666a59a68ce3405f82ba69d5c049637c6988e4e272 @@ -27,15 +29,12 @@ AUX valgrind-3.7.0-fno-stack-protector.patch 554 RMD160 df9a699ff35cf867e17b04a2 AUX valgrind-3.7.0-glibc-2.15.patch 1003 RMD160 652b3132a2514dedaab78e3c9d07cf164496adbf SHA1 b7f0a5e104044aff9c66bb2bb57ef501b92adba6 SHA256 84606d7cdb475ba3ad46da4d26094e2082698144fdbac7c7e87ee0f97859d387 AUX valgrind-3.7.0-non-exec-stack.patch 5644 RMD160 86178ee97653b2b4074e98e2342c5104583fa759 SHA1 8074a41b2e8915fa3a63ce827a14088949057bed SHA256 4de10480b6e27379083203df3cfedccdace68d0aad611440478ca2f1b2f89751 AUX valgrind-3.7.0-respect-flags.patch 360 RMD160 b3ca9a393a68d312fa12cd272720e67c8661cfc4 SHA1 2ca0d9474bd4a81d45981bc8433359832d1ce8b9 SHA256 6b1e5938ecafc29428a698296423c71924848b1e746d6ee8a0f1dd91141f1019 -DIST valgrind-3.3.1.tar.bz2 4544805 RMD160 32fb26de2ffd0d62e66a1f29cfa6785b7ffa8c36 SHA1 3a64ee5f6439815fa6c5200dcfd0399f9dc83348 SHA256 95b7b4d815bd479332637c93e69ec24167cd28d4f9d9f9b718e1b091bb88aafa DIST valgrind-3.4.0.tar.bz2 5175209 RMD160 3db249843f0845ca0892e557bede7d21d3112e3f SHA1 ae68418a4c283d14ae6454aca4a720ac936422df SHA256 d5ea4ae5b1ef9fca677a38959060a9acb70b38540721c8bf5c73d09a265f9f74 DIST valgrind-3.4.1.tar.bz2 5183739 RMD160 425127a02b3707d8d8f2e1ff37e9609a2d0dccbd SHA1 935ea4642b6d9b33a6686c5b0ce70f2f0929fe0d SHA256 669ee7aab8a3a905520159b6d7be35d3911e1a4d7a67d90dc1c12c00693184a9 DIST valgrind-3.5.0.tar.bz2 5482423 RMD160 dd0ca80d73daac774b9352fe7a07ab72aae767c9 SHA1 76678c2617278cc9fbda1232e4e56fb2a96b0eb8 SHA256 743a5132bbebc247169aefae6e17657677fdf0961aba1668dd4ee7028d27ba80 DIST valgrind-3.6.0.tar.bz2 5962204 RMD160 d7adc13bdafb1e5057d2e2a7a41076c1acabc368 SHA1 6f7ae88d36dfb45c337175a873aada7bed01c8c3 SHA256 bc0f0153b5a47b986f1d8efa2c488e0aea85a1cf2c4b11c52be127903080285f DIST valgrind-3.6.1.tar.bz2 5974836 RMD160 6f78ae50e2fb354547d90bf289abb1f56252043a SHA1 6116ddca2708f56e0a2851bdfbe88e01906fa300 SHA256 49bdcc4fbcf060049b5f0dcfd8a187a6e90e0b0e57309f633b64e44430726a0e DIST valgrind-3.7.0.tar.bz2 6624216 RMD160 6ffbf04a8ff4eb2555d1a6bd87c0656828830761 SHA1 b412f49895bb8a78fc314047119760b5d36e5b5e SHA256 5d62c0330f1481fe2c593249192fa68ff454c19c34343978cc9ce91aa324cbf6 -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 EBUILD valgrind-3.4.0.ebuild 3255 RMD160 feb78ead8a3f3ed9bf69dda9f533875779b6d18f SHA1 88a2ffdfc83c260050fe3ed03462f03d19c920b7 SHA256 16243a1b3895c284835ef9b16cdbe19673f3896e1209960647b23c3853325369 EBUILD valgrind-3.4.1-r1.ebuild 3976 RMD160 6347e2eb6e3d236078ea052d0669b095b22768bf SHA1 d81b09987ceef975c4d095340e37dcdb2740bfef SHA256 92e54faafb566d0260d28b8e5ac0853094343dde0b3df9781600fd8191fa4075 EBUILD valgrind-3.4.1.ebuild 3046 RMD160 655d9e0fbecaf08e720d74f5f684c85871cd0174 SHA1 86a4a553cc16007e0ee309e2a59d753d8acf9f35 SHA256 21d4972c1cf48e3a12bc6a4ad65a72d5576bc45ef4166c8a16186b410ba93a6e @@ -49,5 +48,12 @@ EBUILD valgrind-3.6.1.ebuild 3068 RMD160 5ae01b6484705ad9c7e7bf7e888a355054e6e4c EBUILD valgrind-3.7.0-r1.ebuild 2720 RMD160 4d4a707fac4c62a68d3de02ac44e23b8f641a4e1 SHA1 6283fed760b8fcd3391639e0cc8d92d398b110f6 SHA256 93b9f2dc0f5b24f17b4ae070740641b03de1d02b38f9a1bc808e660d31deea94 EBUILD valgrind-3.7.0-r2.ebuild 2914 RMD160 2fa503bf96bde0acb40127f7e2dba33a8def975c SHA1 7ce04c6b5eb8005a0f07ec5724b38cbfb0796a9c SHA256 a5b9a5af3dabe5c16f63a29861a518a1d76bea403072ec5dae3d539f2ecd338d EBUILD valgrind-3.7.0-r3.ebuild 2989 RMD160 5f1bc5de2e8a4dbae9e72b1dc20dd6f8fb940c17 SHA1 2d381a44a90928f76b13bd205dcaae239fb099a2 SHA256 4c2182e3be2ed51c459c657489eb2c7d7ca55c1ab514b6b183b2d66e67de18e7 -MISC ChangeLog 23410 RMD160 d9268d3c85b05b8d655af02f19bd420fdf1ff89b SHA1 f0c1b7849f08c12a0918cf3ebbbf4f75a0ea7078 SHA256 cdcd4281bde2488073f72e61b91b9be15d40b8b2acaa73fe34ee890f4445252e +MISC ChangeLog 23623 RMD160 50595d774c8e5ef13421eb376ec1845b181327a8 SHA1 ee86d096ce2c0760e0be0ddd12638f2f30fb0740 SHA256 73f0cf378aed8af7a977b29ff5f948e16959283e51d987980e404442e74d6493 MISC metadata.xml 980 RMD160 7441340fd2659400fb15d857446dac8f7b3f1176 SHA1 07af40cb309fcd80ca639dea5110b1109ce72427 SHA256 513a0d653dfae858a7f426745bd0abe5dcbc8748d468310fdce156e0e21e2cd0 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iEYEAREIAAYFAk+cHO8ACgkQl5yvQNBFVTVvRwCfemQhvSdbnpD/kocHYnfXlcdJ +e4UAnisSGF/pYHjdafaN6D1ADIBaL05X +=VF9Y +-----END PGP SIGNATURE----- diff --git a/dev-util/valgrind/files/valgrind-3.3.1-glibc-2.9.patch b/dev-util/valgrind/files/valgrind-3.3.1-glibc-2.9.patch deleted file mode 100644 index bbae3ab2e52f..000000000000 --- a/dev-util/valgrind/files/valgrind-3.3.1-glibc-2.9.patch +++ /dev/null @@ -1,141 +0,0 @@ -diff -ruN valgrind-3.3.1/configure.in valgrind-3.3.1-fixed/configure.in ---- valgrind-3.3.1/configure.in 2008-12-13 11:41:07.000000000 +0100 -+++ valgrind-3.3.1-fixed/configure.in 2008-12-13 11:43:06.000000000 +0100 -@@ -479,6 +479,16 @@ - ], - libc="2.8") - -+AC_EGREP_CPP([GLIBC_29], [ -+#include <features.h> -+#ifdef __GNU_LIBRARY__ -+ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ == 9) -+ GLIBC_29 -+ #endif -+#endif -+], -+libc="2.9") -+ - AC_EGREP_CPP([AIX5_LIBC], [ - #include <standards.h> - #if defined(_AIXVERSION_510) || defined(_AIXVERSION_520) || defined(_AIXVERSION_530) -@@ -535,6 +545,12 @@ - DEFAULT_SUPP="glibc-2.8.supp ${DEFAULT_SUPP}" - DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" - ;; -+ 2.9) -+ AC_MSG_RESULT(2.9 family) -+ AC_DEFINE([GLIBC_2_9], 1, [Define to 1 if you're using glibc 2.9.x]) -+ DEFAULT_SUPP="glibc-2.9.supp ${DEFAULT_SUPP}" -+ DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" -+ ;; - aix5) - AC_MSG_RESULT(AIX 5.1 or 5.2 or 5.3) - AC_DEFINE([AIX5_LIBC], 1, [Define to 1 if you're using AIX 5.1 or 5.2 or 5.3]) -@@ -543,7 +559,7 @@ - - *) - AC_MSG_RESULT(unsupported version) -- AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.7]) -+ AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.9]) - AC_MSG_ERROR([or AIX 5.1 or 5.2 or 5.3 libc]) - ;; - esac -diff -ruN valgrind-3.3.1/glibc-2.9.supp valgrind-3.3.1-fixed/glibc-2.9.supp ---- valgrind-3.3.1/glibc-2.9.supp 1970-01-01 01:00:00.000000000 +0100 -+++ valgrind-3.3.1-fixed/glibc-2.9.supp 2008-12-13 11:38:58.000000000 +0100 -@@ -0,0 +1,95 @@ -+ -+# Errors to suppress by default with glibc 2.9.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 Jump -+# Free Addr1 Addr2 Addr4 Addr8 Addr16 -+# Cond (previously known as Value0) -+# -+# and the optional extra info is: -+# if Param: name of system call param -+ -+{ -+ dl-hack3-cond-1 -+ Memcheck:Cond -+ obj:/lib*/ld-2.9*.so* -+ obj:/lib*/ld-2.9*.so* -+ obj:/lib*/ld-2.9*.so* -+} -+{ -+ dl-hack3-cond-2 -+ Memcheck:Cond -+ obj:/lib*/ld-2.9*.so* -+ obj:/lib*/ld-2.9*.so* -+ obj:/lib*/libc-2.9*.so* -+} -+{ -+ dl-hack3-cond-3 -+ Memcheck:Cond -+ obj:/lib*/ld-2.9*.so* -+ obj:/lib*/libc-2.9*.so* -+ obj:/lib*/libc-2.9*.so* -+} -+{ -+ dl-hack3-cond-4 -+ Memcheck:Cond -+ obj:/lib*/ld-2.9*.so* -+ obj:/lib*/ld-2.9*.so* -+ obj:/lib*/libdl-2.9*.so* -+} -+ -+{ -+ dl-hack4-64bit-addr-1 -+ Memcheck:Addr8 -+ obj:/lib*/ld-2.9*.so* -+ obj:/lib*/ld-2.9*.so* -+ obj:/lib*/ld-2.9*.so* -+} -+{ -+ dl-hack4-64bit-addr-2 -+ Memcheck:Addr8 -+ obj:/lib*/ld-2.9*.so* -+ obj:/lib*/ld-2.9*.so* -+ obj:/lib*/libc-2.9*.so* -+} -+{ -+ dl-hack4-64bit-addr-3 -+ Memcheck:Addr8 -+ obj:/lib*/ld-2.9*.so* -+ obj:/lib*/ld-2.9*.so* -+ obj:/lib*/libdl-2.9*.so* -+} -+ -+{ -+ dl-hack5-32bit-addr-1 -+ Memcheck:Addr4 -+ obj:/lib/ld-2.9*.so -+ obj:/lib/ld-2.9*.so -+ obj:/lib/ld-2.9*.so -+} -+{ -+ dl-hack5-32bit-addr-3 -+ Memcheck:Addr4 -+ obj:/lib/ld-2.9*.so -+ obj:/lib/ld-2.9*.so -+ obj:/lib/libdl-2.9*.so* -+} -+{ -+ dl-hack5-32bit-addr-4 -+ Memcheck:Addr4 -+ obj:/lib/ld-2.9*.so -+ obj:/lib/libdl-2.9*.so* -+ obj:/lib/ld-2.9*.so -+} diff --git a/dev-util/valgrind/valgrind-3.3.1-r1.ebuild b/dev-util/valgrind/valgrind-3.3.1-r1.ebuild deleted file mode 100644 index 802e2b5511c3..000000000000 --- a/dev-util/valgrind/valgrind-3.3.1-r1.ebuild +++ /dev/null @@ -1,98 +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.1-r1.ebuild,v 1.1 2008/12/13 10:57:06 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" - -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 - - # 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" - - # Add suppression file for glibc 2.9 and don't bail out on configure - epatch "${FILESDIR}/valgrind-3.3.1-glibc-2.9.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} --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.1.ebuild b/dev-util/valgrind/valgrind-3.3.1.ebuild deleted file mode 100644 index e0c90c9bea5e..000000000000 --- a/dev-util/valgrind/valgrind-3.3.1.ebuild +++ /dev/null @@ -1,95 +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.1.ebuild,v 1.6 2008/08/24 11:41:59 corsair 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 - - # 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 -} - -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 -} |