diff options
author | Anthony G. Basile <basile@opensource.dyc.edu> | 2010-10-28 15:50:31 -0400 |
---|---|---|
committer | Anthony G. Basile <basile@opensource.dyc.edu> | 2010-10-28 15:50:31 -0400 |
commit | 3fe50026f9c2d11896984b966838fb28834de534 (patch) | |
tree | 1452560347d2018d417d4559d6f84f156eefe7c9 /dev-util | |
parent | valgrind: pax markings for bug #341599 (diff) | |
download | blueness-3fe50026f9c2d11896984b966838fb28834de534.tar.gz blueness-3fe50026f9c2d11896984b966838fb28834de534.tar.bz2 blueness-3fe50026f9c2d11896984b966838fb28834de534.zip |
valgrind: in the tree
(Portage version: 2.1.9.16/git/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/valgrind/ChangeLog | 4 | ||||
-rw-r--r-- | dev-util/valgrind/Manifest | 4 | ||||
-rw-r--r-- | dev-util/valgrind/valgrind-3.5.0-r1.ebuild | 109 |
3 files changed, 5 insertions, 112 deletions
diff --git a/dev-util/valgrind/ChangeLog b/dev-util/valgrind/ChangeLog index b0d0fe6..772a969 100644 --- a/dev-util/valgrind/ChangeLog +++ b/dev-util/valgrind/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v 1.116 2010/08/31 14:23:21 dberkholz Exp $ + 28 Oct 2010; Anthony G. Basile <blueness@gentoo.org> + -valgrind-3.5.0-r1.ebuild: + In the tree. + *valgrind-3.5.0-r1 (28 Oct 2010) 28 Oct 2010; Anthony G. Basile <blueness@gentoo.org> diff --git a/dev-util/valgrind/Manifest b/dev-util/valgrind/Manifest index c481d99..75e00c6 100644 --- a/dev-util/valgrind/Manifest +++ b/dev-util/valgrind/Manifest @@ -5,7 +5,5 @@ AUX valgrind-3.5.0-local-labels.patch 1410 RMD160 d026881b5d38b0a009825801ce996e AUX valgrind-3.5.0-non-exec-stack.patch 5568 RMD160 540b2bac578b8ee4ef2c9af90865f5034a9baac6 SHA1 ef6ab49b1d803ca0713feb99ec53d30af0cc3160 SHA256 9becbb1e78fd0799124820208f069ecc1de9dc7eb5ee15a76b94869ca8250d2d AUX valgrind-3.5.0-respect-LDFLAGS.patch 368 RMD160 e4d633cabe33af12bf9a2a434ee3a76a379423a3 SHA1 31086a72e6cea2f0144ba449c60fc98c454ebd93 SHA256 2d1cff754119681e1923e7a3f06b58535c9e44a0046ced2d67dd0d354c3e606a AUX valgrind-3.5.0-stat_h.patch 1402 RMD160 48afbf277b0fec07dcc3e8bf790df4f890b4524b SHA1 9ef0a9c40fa2c46fb2237af0d9a405b8e6e41cab SHA256 d3ddedf021d1952627b0111d149223cbc7f57bf0ab06f097b43e494910719378 -DIST valgrind-3.5.0.tar.bz2 5482423 RMD160 dd0ca80d73daac774b9352fe7a07ab72aae767c9 SHA1 76678c2617278cc9fbda1232e4e56fb2a96b0eb8 SHA256 743a5132bbebc247169aefae6e17657677fdf0961aba1668dd4ee7028d27ba80 -EBUILD valgrind-3.5.0-r1.ebuild 3728 RMD160 a54e415db2b050bf46af3aeaaa90647bb9605290 SHA1 759c49f456a73c7a6b9c2904dd6e34b85041009e SHA256 9581385c53baace27af509d47c252799e4bf9e6bb740863aeb9e9cfd261ab1d9 -MISC ChangeLog 19687 RMD160 73f4ad665120963b3839eeef3a1b22cdbdfba61c SHA1 750514aca87782be75348cb0ed7915d79bd43921 SHA256 55caa18737c4e0dcbbc6ee92f80dd51479af961b9a940102d8c9b77c56f4ff97 +MISC ChangeLog 19787 RMD160 bcd7868f891c04ff7724479d509a88729a381b02 SHA1 fe0d5198b234b77711da2d1c8320c233020a4da6 SHA256 c3bbf1e25858b12954b8347d494214f4361ae9583fc9775f119c9d0d2f9c5e2d MISC metadata.xml 1011 RMD160 9318120438d39d4b2ae45d69a850681e4bb0879d SHA1 94f1fa1822a8ab5749f82904914b0892ce5316a7 SHA256 14bf2eff2f7aa1908a3908a975842b18aa35d49a4288eb374ce5c8f642c735a3 diff --git a/dev-util/valgrind/valgrind-3.5.0-r1.ebuild b/dev-util/valgrind/valgrind-3.5.0-r1.ebuild deleted file mode 100644 index 8613b28..0000000 --- a/dev-util/valgrind/valgrind-3.5.0-r1.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-3.5.0.ebuild,v 1.9 2010/08/19 17:58:17 ssuominen Exp $ - -inherit autotools eutils flag-o-matic toolchain-funcs multilib pax-utils - -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 ~amd64-linux ~x86-linux" -IUSE="mpi" - -DEPEND="mpi? ( virtual/mpi )" -RDEPEND="${DEPEND} - !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.all.am to disable SSP" - sed -i -e 's:^AM_CFLAGS_BASE = :AM_CFLAGS_BASE = -fno-stack-protector :' Makefile.all.am - - # Correct hard coded doc location - sed -i -e "s:doc/valgrind:doc/${P}:" docs/Makefile.am - - # Fix up some suppressions that were not general enough for glibc versions - # with more than just a major and minor number. - epatch "${FILESDIR}/valgrind-3.4.1-glibc-2.10.1.patch" - - # Respect LDFLAGS also for libmpiwrap.so (bug #279194) - epatch "${FILESDIR}/valgrind-3.5.0-respect-LDFLAGS.patch" - - # Yet more local labels, this time for ppc32 & ppc64 - epatch "${FILESDIR}/valgrind-3.5.0-local-labels.patch" - - # Don't just reject glibc-2.11 - epatch "${FILESDIR}/valgrind-3.5.0-glibc-2.11.patch" - - # Don't build in empty assembly files for other platforms or we'll get a QA - # warning about executable stacks. - epatch "${FILESDIR}/valgrind-3.5.0-non-exec-stack.patch" - - # Minimal fixes required for glibc-2.12 - epatch "${FILESDIR}/valgrind-3.5.0-glibc-2.12.patch" - epatch "${FILESDIR}/valgrind-3.5.0-stat_h.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 - - if use amd64 || use ppc64; then - ! has_multilib_profile && myconf="${myconf} --enable-only64bit" - fi - - # Don't use mpicc unless the user asked for it (bug #258832) - if ! use mpi; then - myconf="${myconf} --without-mpicc" - fi - - econf ${myconf} || die "Configure failed!" - emake || die "Make failed!" -} - -src_install() { - emake DESTDIR="${D}" install || die "Install failed!" - dodoc AUTHORS FAQ.txt NEWS README* - - pax-mark m "${D}"/usr/$(get_libdir)/valgrind/*-*-linux -} - -pkg_postinst() { - if use ppc || use ppc64 || use amd64 ; then - ewarn "Valgrind will not work on ppc, ppc64 or amd64 if glibc does not have" - ewarn "debug symbols (see https://bugs.gentoo.org/show_bug.cgi?id=214065" - ewarn "and http://bugs.gentoo.org/show_bug.cgi?id=274771)." - ewarn "To fix this you can add splitdebug to FEATURES in make.conf and" - ewarn "remerge glibc." - fi -} |