bump(dev-util/valgrind): sync with upstream

Not installed in the SDK by default but a useful tool to have :)
This commit is contained in:
Michael Marineau 2015-05-12 14:47:03 -07:00
parent 71e6fc6679
commit b946cb8f05
23 changed files with 2172 additions and 11 deletions

View File

@ -0,0 +1,783 @@
# ChangeLog for dev-util/valgrind
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v 1.185 2015/03/25 13:40:39 ago Exp $
25 Mar 2015; Agostino Sarubbo <ago@gentoo.org> valgrind-3.10.1.ebuild:
Stable for x86, wrt bug #541952
19 Mar 2015; Anthony G. Basile <blueness@gentoo.org>
+files/valgrind-3.10.1-linux-4.patch, valgrind-3.10.1.ebuild:
Patch 3.10.1 to work on linux-4, bug #543648. Thanks Janne Grunau <janne-
gentoo@jannau.net>.
12 Mar 2015; Agostino Sarubbo <ago@gentoo.org> valgrind-3.10.1.ebuild:
Stable for amd64, wrt bug #541952
05 Mar 2015; Anthony G. Basile <blueness@gentoo.org> valgrind-3.10.1.ebuild:
Stable for ppc and ppc64. Bug ##541952.
02 Mar 2015; Anthony G. Basile <blueness@gentoo.org> valgrind-3.10.1.ebuild:
Stable for arm, bug #541952.
24 Feb 2015; Anthony G. Basile <blueness@gentoo.org> -valgrind-3.10.0.ebuild,
-valgrind-3.8.1-r1.ebuild, valgrind-3.10.1.ebuild:
Add epatch_user and remove older unstable versions
26 Nov 2014; Anthony G. Basile <blueness@gentoo.org> ChangeLog:
Fix gpg signature
*valgrind-3.10.1 (26 Nov 2014)
26 Nov 2014; Anthony G. Basile <blueness@gentoo.org>
+files/valgrind-3.10.1-non-exec-stack.patch, +valgrind-3.10.1.ebuild:
Version bump
*valgrind-3.10.0 (13 Sep 2014)
13 Sep 2014; Anthony G. Basile <blueness@gentoo.org>
+files/valgrind-3.10.0-non-exec-stack.patch, +valgrind-3.10.0.ebuild:
Version bump
10 Sep 2014; Anthony G. Basile <blueness@gentoo.org> valgrind-3.9.0.ebuild:
Stable on arm, bug #518666
09 Sep 2014; Chema Alonso <nimiux@gentoo.org> valgrind-3.9.0.ebuild:
Stable for amd64 wrt bug #518666
14 Aug 2014; Pawel Hajdan jr <phajdan.jr@gentoo.org> valgrind-3.9.0.ebuild:
x86 stable wrt bug #518666
15 Apr 2014; Anthony G. Basile <blueness@gentoo.org>
+files/valgrind-3.9.0-glibc-2.19.patch, valgrind-3.9.0.ebuild:
Build 3.9.0 against glibc 2.19, bug #506284
*valgrind-3.9.0 (02 Nov 2013)
02 Nov 2013; Anthony G. Basile <blueness@gentoo.org>
+files/valgrind-3.9.0-non-exec-stack.patch, +valgrind-3.9.0.ebuild:
Version bump
18 Jun 2013; Anthony G. Basile <blueness@gentoo.org>
-files/valgrind-3.4.1-glibc-2.10.1.patch,
-files/valgrind-3.5.0-glibc-2.11.patch,
-files/valgrind-3.5.0-glibc-2.12.patch,
-files/valgrind-3.5.0-local-labels.patch,
-files/valgrind-3.5.0-non-exec-stack.patch,
-files/valgrind-3.5.0-respect-LDFLAGS.patch,
-files/valgrind-3.5.0-stat_h.patch, -files/valgrind-3.6.0-glibc-2.13.patch,
-files/valgrind-3.6.0-non-exec-stack.patch,
-files/valgrind-3.6.0-strcasecmp.patch,
-files/valgrind-3.6.1-automake-1.11.3.patch,
-files/valgrind-3.6.1-fix-unhandled-opcode.patch,
-files/valgrind-3.6.1-glibc-2.14.patch,
-files/valgrind-3.6.1-glibc-2.15.patch, -files/valgrind-3.6.1-linux-3.patch,
-files/valgrind-3.6.1-user-enable-qt4.patch, -valgrind-3.5.0.ebuild,
-valgrind-3.6.1-r1.ebuild, -valgrind-3.6.1-r3.ebuild,
-valgrind-3.6.1-r4.ebuild, -valgrind-3.6.1.ebuild:
Remove old patchy versions
*valgrind-3.8.1-r1 (18 Jun 2013)
18 Jun 2013; Anthony G. Basile <blueness@gentoo.org>
+files/valgrind-3.8.1-gcc-4.8-memmove.patch, +valgrind-3.8.1-r1.ebuild:
Fix link error with gcc-4.8, bug #466488
26 May 2013; Anthony G. Basile <blueness@gentoo.org> valgrind-3.8.1.ebuild:
Respect AR, bug #468114, thanks Michael Mair-Keimberger
14 May 2013; Anthony G. Basile <blueness@gentoo.org> -valgrind-3.8.0.ebuild:
Remove older unstable
07 May 2013; Agostino Sarubbo <ago@gentoo.org> valgrind-3.8.1.ebuild:
Stable for ppc64, wrt bug #467850
03 May 2013; Agostino Sarubbo <ago@gentoo.org> valgrind-3.8.1.ebuild:
Stable for ppc, wrt bug #467850
01 May 2013; Agostino Sarubbo <ago@gentoo.org> valgrind-3.8.1.ebuild:
Stable for x86, wrt bug #467850
01 May 2013; Agostino Sarubbo <ago@gentoo.org> valgrind-3.8.1.ebuild:
Stable for amd64, wrt bug #467850
19 Apr 2013; Anthony G. Basile <blueness@gentoo.org> valgrind-3.6.1-r3.ebuild,
valgrind-3.6.1-r4.ebuild, valgrind-3.7.0-r4.ebuild, valgrind-3.8.0.ebuild,
valgrind-3.8.1.ebuild:
Switch ewarn to elog to inform about splitdebug, bug #466384
19 Apr 2013; Anthony G. Basile <blueness@gentoo.org>
-files/valgrind-3.2.3-pkg-config.patch, -files/valgrind-3.3.0-only64bit.patch,
-files/valgrind-3.3.1-local-labels.patch,
-files/valgrind-3.4.1-local-labels.patch,
-files/valgrind-3.4.1-respect-LDFLAGS.patch,
-files/valgrind-3.4.1-x86_64-ldso-strlen.patch, -valgrind-3.4.0.ebuild,
-valgrind-3.4.1.ebuild:
Remove older 3.4 branch
19 Feb 2013; Anthony G. Basile <blueness@gentoo.org>
+files/valgrind-3.8.1-glibc-2.17.patch, valgrind-3.8.1.ebuild:
Build against glibc-2.17, bug #458326
18 Oct 2012; Anthony G. Basile <blueness@gentoo.org> valgrind-3.7.0-r4.ebuild:
drop ~arm, bug #434884
*valgrind-3.8.1 (20 Sep 2012)
20 Sep 2012; Anthony G. Basile <blueness@gentoo.org> +valgrind-3.8.1.ebuild:
Version bump
18 Sep 2012; Johannes Huber <johu@gentoo.org> valgrind-3.7.0-r4.ebuild:
Stable for x86, wrt bug #434884
14 Sep 2012; Agostino Sarubbo <ago@gentoo.org> valgrind-3.7.0-r4.ebuild:
Stable for amd64, wrt bug #434884
13 Sep 2012; Anthony G. Basile <blueness@gentoo.org>
-valgrind-3.7.0-r3.ebuild:
Remove older unstable version
13 Sep 2012; Agostino Sarubbo <ago@gentoo.org> valgrind-3.6.1-r4.ebuild:
Stable for amd64, wrt bug #430822
13 Sep 2012; Anthony G. Basile <blueness@gentoo.org>
valgrind-3.7.0-r4.ebuild:
Stable ppc ppc64, bug #434884
13 Sep 2012; Anthony G. Basile <blueness@gentoo.org>
valgrind-3.6.1-r3.ebuild, valgrind-3.6.1-r4.ebuild:
Dropping ~ppc ~ppc64, we have a newer working version, bug#430822
12 Sep 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org>
valgrind-3.6.1-r4.ebuild:
x86 stable wrt bug #430822
*valgrind-3.8.0 (18 Aug 2012)
18 Aug 2012; Anthony G. Basile <blueness@gentoo.org> +valgrind-3.8.0.ebuild,
+files/valgrind-3.8.0-non-exec-stack.patch:
Version bump
25 Jul 2012; Anthony G. Basile <blueness@gentoo.org>
-valgrind-3.7.0-r1.ebuild, -valgrind-3.7.0-r2.ebuild:
Remove older unstable versions
*valgrind-3.6.1-r4 (25 Jul 2012)
25 Jul 2012; Anthony G. Basile <blueness@gentoo.org>
+valgrind-3.6.1-r4.ebuild, +files/valgrind-3.6.1-glibc-2.15.patch:
Allow valgrind 3.6.1-to build against glibc-2.15 so Andrew doesn't yell at
me, bug #390323 comment #31
25 Jul 2012; Anthony G. Basile <blueness@gentoo.org>
-valgrind-3.4.1-r1.ebuild, -valgrind-3.5.0-r1.ebuild, -valgrind-3.6.0.ebuild,
-valgrind-3.6.1-r2.ebuild:
Clean out older unstable versions
10 May 2012; Anthony G. Basile <blueness@gentoo.org> metadata.xml:
Update metadata.xml
10 May 2012; Fabian Groffen <grobian@gentoo.org> valgrind-3.6.1.ebuild:
Undo unintended changes to 3.6.1
10 May 2012; Fabian Groffen <grobian@gentoo.org>
+files/valgrind-3.7.0-non-exec-stack-v2.patch,
-files/valgrind-3.7.0-non-exec-darwin.patch, valgrind-3.6.1.ebuild,
valgrind-3.7.0-r4.ebuild:
Fix OSX support change by actually applying non-exec-darwin.patch, unbreak for
Prefix, bug #359993
*valgrind-3.7.0-r4 (01 May 2012)
01 May 2012; Anthony G. Basile <blueness@gentoo.org>
+valgrind-3.7.0-r4.ebuild, +files/valgrind-3.7.0-non-exec-darwin.patch:
Add OSX support, bug #359993
28 Apr 2012; Anthony G. Basile <blueness@gentoo.org> valgrind-3.4.0.ebuild,
valgrind-3.4.1.ebuild, valgrind-3.4.1-r1.ebuild, valgrind-3.5.0.ebuild,
valgrind-3.5.0-r1.ebuild:
Remove blocking dep for dev-util/callgrind which is long gone
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
24 Apr 2012; Agostino Sarubbo <ago@gentoo.org> valgrind-3.6.1-r3.ebuild:
Stable for amd64, wrt bug #393461
*valgrind-3.6.1-r3 (17 Feb 2012)
17 Feb 2012; Anthony G. Basile <blueness@gentoo.org>
+valgrind-3.6.1-r3.ebuild, +files/valgrind-3.6.1-fix-unhandled-opcode.patch:
Backport upstream commits r11856 and r11904 to address bug #403179
17 Feb 2012; Anthony G. Basile <blueness@gentoo.org>
valgrind-3.7.0-r3.ebuild:
Improve comment wrt bug #398825
17 Feb 2012; Anthony G. Basile <blueness@gentoo.org>
valgrind-3.6.1-r2.ebuild, +files/valgrind-3.6.1-automake-1.11.3.patch:
Fix 3.6.1-r2 to autoreconf with automake-1.11.x, bug #403779
*valgrind-3.7.0-r3 (14 Feb 2012)
14 Feb 2012; Anthony G. Basile <blueness@gentoo.org>
+valgrind-3.7.0-r3.ebuild:
Filter -m64 and -mx32 for the new multilib-portage, bug #398825
14 Jan 2012; Anthony G. Basile <blueness@gentoo.org>
valgrind-3.7.0-r2.ebuild, +files/valgrind-3.7.0-glibc-2.15.patch:
Added patch to allow valgrind to build against glibc-2.15, bug #398921
*valgrind-3.7.0-r2 (08 Jan 2012)
08 Jan 2012; Anthony G. Basile <blueness@gentoo.org>
+valgrind-3.7.0-r2.ebuild, +files/valgrind-3.7.0-automake-1.11.2.patch:
Retain old build behavior with automake-1.11.2 and below, bug #397429
21 Dec 2011; Joseph Jezak <josejx@gentoo.org> valgrind-3.6.1-r1.ebuild:
Marked ppc/ppc64 stable for bug #387429.
*valgrind-3.7.0-r1 (23 Nov 2011)
23 Nov 2011; Anthony G. Basile <blueness@gentoo.org> -valgrind-3.7.0.ebuild,
+valgrind-3.7.0-r1.ebuild, files/valgrind-3.7.0-fix-gcc-regex.patch:
Replace original patch with the version accepted upstream
https://bugs.kde.org/show_bug.cgi?id=286384
*valgrind-3.7.0 (11 Nov 2011)
11 Nov 2011; Anthony G. Basile <blueness@gentoo.org> +valgrind-3.7.0.ebuild,
+files/valgrind-3.7.0-fix-gcc-regex.patch,
+files/valgrind-3.7.0-fno-stack-protector.patch,
+files/valgrind-3.7.0-non-exec-stack.patch,
+files/valgrind-3.7.0-respect-flags.patch:
Version bump
28 Oct 2011; Anthony G. Basile <blueness@gentoo.org>
valgrind-3.6.1-r2.ebuild:
Add splitdebug message for x86 as well, bug #388703
24 Oct 2011; Markus Meier <maekke@gentoo.org> valgrind-3.6.1-r1.ebuild:
x86 stable, bug #387429
19 Oct 2011; Markos Chandras <hwoarang@gentoo.org> valgrind-3.6.1-r1.ebuild:
Stable on amd64 wrt bug #387429
19 Oct 2011; Mike Frysinger <vapier@gentoo.org> valgrind-3.6.1-r2.ebuild:
Add arm love #376533 by Nick Bowler.
*valgrind-3.6.1-r2 (09 Aug 2011)
09 Aug 2011; Anthony G. Basile <blueness@gentoo.org>
+valgrind-3.6.1-r2.ebuild, +files/valgrind-3.6.1-glibc-2.14.patch:
Added patch to allow valgrind to build against glibc-2.14, bug #378157
*valgrind-3.6.1-r1 (09 Jun 2011)
09 Jun 2011; Anthony G. Basile <blueness@gentoo.org>
+valgrind-3.6.1-r1.ebuild, +files/valgrind-3.6.1-linux-3.patch:
Fixed to build against linux-3.x, bug #370857
22 May 2011; Joseph Jezak <josejx@gentoo.org> valgrind-3.6.1.ebuild:
Marked ppc/ppc64 stable for bug #360781.
28 Mar 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org>
valgrind-3.6.1.ebuild:
x86 stable wrt bug #360781
27 Mar 2011; Christoph Mende <angelos@gentoo.org> valgrind-3.6.1.ebuild:
Stable on amd64 wrt bug #360781
*valgrind-3.6.1 (19 Feb 2011)
19 Feb 2011; Anthony G. Basile <blueness@gentoo.org>
+valgrind-3.6.1.ebuild, +files/valgrind-3.6.1-user-enable-qt4.patch:
Version bump, added patch to fix qtcore automagic
27 Jan 2011; Samuli Suominen <ssuominen@gentoo.org> valgrind-3.6.0.ebuild,
+files/valgrind-3.6.0-glibc-2.13.patch,
+files/valgrind-3.6.0-strcasecmp.patch:
Fix compability with recent glibc release.
*valgrind-3.6.0 (10 Nov 2010)
10 Nov 2010; Anthony G. Basile <blueness@gentoo.org>
+valgrind-3.6.0.ebuild, +files/valgrind-3.6.0-local-labels.patch,
+files/valgrind-3.6.0-non-exec-stack.patch:
Version bump, bug #342189
*valgrind-3.5.0-r1 (28 Oct 2010)
28 Oct 2010; Anthony G. Basile <blueness@gentoo.org>
+valgrind-3.5.0-r1.ebuild, metadata.xml:
Added pax markings to fix bug #341599
Added myself as maintainer
31 Aug 2010; Donnie Berkholz <dberkholz@gentoo.org>; metadata.xml:
griffon26 is retiring, reassign to maintainer-needed.
19 Aug 2010; Samuli Suominen <ssuominen@gentoo.org> valgrind-3.5.0.ebuild,
+files/valgrind-3.5.0-glibc-2.12.patch,
+files/valgrind-3.5.0-stat_h.patch:
Fix building with recent glibc wrt #332871 by Michal Vaner.
21 May 2010; Peter Volkov <pva@gentoo.org> valgrind-3.5.0.ebuild:
amd64 stable, bug 304287
11 Apr 2010; <nixnut@gentoo.org> valgrind-3.5.0.ebuild:
ppc stable #304287
09 Apr 2010; Christian Faulhammer <fauli@gentoo.org>
valgrind-3.5.0.ebuild:
stable x86, bug 304287
21 Mar 2010; Brent Baude <ranger@gentoo.org> valgrind-3.5.0.ebuild:
stable ppc64, bug 304287
15 Jan 2010; Christian Faulhammer <fauli@gentoo.org>
valgrind-3.5.0.ebuild:
Transfer Prefix keywords
16 Nov 2009; Maurice van der Pot <griffon26@gentoo.org>
files/valgrind-3.5.0-non-exec-stack.patch:
Corrected non-exec-stack patch for platforms without a secondary architecture
(bug #293169 reported by Denys <nuclearcat@nuclearcat.com>).
Thanks to Mattias Nissler <mattias.nissler@gmx.de> for the patch.
08 Nov 2009; Maurice van der Pot <griffon26@gentoo.org>
valgrind-3.5.0.ebuild, +files/valgrind-3.5.0-glibc-2.11.patch,
+files/valgrind-3.5.0-non-exec-stack.patch:
Adapted configure.in to not abort when glibc-2.11 is installed (bug #292231).
Now using emake during installation instead of just make (bug #285513).
Fixed QA warning about executable stacks.
23 Oct 2009; Maurice van der Pot <griffon26@gentoo.org>
valgrind-3.5.0.ebuild, +files/valgrind-3.5.0-local-labels.patch:
Removed now unnecessary patch for no-multilib ppc64 and valgrind-3.5.0, as it
failed to apply (bug #289892 by Alexis Ballier <aballier@gentoo.org>). Added
another local labels patch to make things compile on ppc32 and ppc64.
*valgrind-3.5.0 (14 Oct 2009)
14 Oct 2009; Maurice van der Pot <griffon26@gentoo.org>
valgrind-3.4.1.ebuild, +valgrind-3.5.0.ebuild,
+files/valgrind-3.5.0-respect-LDFLAGS.patch:
Undid stabilization of valgrind-3.4.1 for ppc64. It was stabilized despite
Joe Jezak's comment that it shouldn't be (bug #278534 comment 3) and Joe
agreed it should be undone.
Added valgrind-3.5.0 as requested in bug #282607.
31 Aug 2009; Brent Baude <ranger@gentoo.org> valgrind-3.4.1.ebuild:
Marking valgrind-3.4.1 ppc64 for bug 278534
08 Aug 2009; Maurice van der Pot <griffon26@gentoo.org>
valgrind-3.4.1-r1.ebuild, +files/valgrind-3.4.1-local-labels.patch,
+files/valgrind-3.4.1-respect-LDFLAGS.patch:
Added patches to fix ignoring of LDFLAGS (bug #279194 by Arfrever Frehtes
Taifersar Arahesis <arfrever@gentoo.org>) and compilation error with GCC 4.4
and -O3 (bug #260802 by Ryan Hill <dirtyepic@gentoo.org>).
*valgrind-3.4.1-r1 (26 Jul 2009)
26 Jul 2009; Maurice van der Pot <griffon26@gentoo.org>
+valgrind-3.4.1-r1.ebuild, +files/valgrind-3.4.1-glibc-2.10.1.patch,
+files/valgrind-3.4.1-x86_64-ldso-strlen.patch:
Added -r1 with fix for bug #274771. Thanks to Nikos Chantziaras
<realnc@gmail.com> for the bug report and the reference to a patch.
Also added mpi use flag to support debugging MPI programs (bug #258832).
22 Jul 2009; Joseph Jezak <josejx@gentoo.org> valgrind-3.4.1.ebuild:
Marked ppc stable for bug #278534.
22 Jul 2009; Christian Faulhammer <fauli@gentoo.org>
valgrind-3.4.1.ebuild:
stable x86, bug 278534
21 Jul 2009; <chainsaw@gentoo.org> valgrind-3.4.1.ebuild:
Marked stable on AMD64 as requested by Olivier Crete <tester@gentoo.org>
in bug #278534.
*valgrind-3.4.1 (03 Mar 2009)
03 Mar 2009; Maurice van der Pot <griffon26@gentoo.org>
+valgrind-3.4.1.ebuild:
Added bug-fix release valgrind-3.4.1.
13 Jan 2009; Tobias Scherbaum <dertobi123@gentoo.org>
valgrind-3.4.0.ebuild:
ppc stable, bug #245317
12 Jan 2009; Brent Baude <ranger@gentoo.org> valgrind-3.4.0.ebuild:
Marking valgrind-3.4.0 ppc64 for bug 245317
10 Jan 2009; Markus Meier <maekke@gentoo.org> valgrind-3.4.0.ebuild:
amd64/x86 stable, bug #245317
*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)
13 Dec 2008; Maurice van der Pot <griffon26@gentoo.org>
+files/valgrind-3.3.1-glibc-2.9.patch, +valgrind-3.3.1-r1.ebuild:
Added patch to support glibc-2.9, submitted by Bartosz Szreder
<cfiend@talent.edu.pl> in bug #250570.
24 Aug 2008; Markus Rothe <corsair@gentoo.org> valgrind-3.3.1.ebuild:
Stable on ppc64; bug #234526
16 Aug 2008; nixnut <nixnut@gentoo.org> valgrind-3.3.1.ebuild:
Stable on ppc wrt bug 234526
15 Aug 2008; Markus Meier <maekke@gentoo.org> valgrind-3.3.1.ebuild:
amd64/x86 stable, bug #234526
13 Aug 2008; Maurice van der Pot <griffon26@gentoo.org>
+files/valgrind-3.3.1-local-labels.patch, valgrind-3.3.1.ebuild:
Use local labels in inline asm to prevent duplicate definition of symbols
when optimisation is turned on (bug #234644 reported by Olivier Huber
<oli.huber@gmail.com>).
27 Jul 2008; Olivier Crête <tester@gentoo.org> valgrind-3.3.0.ebuild,
valgrind-3.3.0-r1.ebuild, valgrind-3.3.1.ebuild:
Add --without-mpicc because auto-deps are bad and some MPI implementation
provide static libraries which are not PIC, bug #202684
*valgrind-3.3.1 (06 Jun 2008)
06 Jun 2008; Maurice van der Pot <griffon26@gentoo.org>
+valgrind-3.3.1.ebuild:
Version bump to 3.3.1 (closes bug #225081).
*valgrind-3.3.0-r1 (18 May 2008)
18 May 2008; Maurice van der Pot <griffon26@gentoo.org>
+files/valgrind-3.3.0-massif-cplusplus.patch, +valgrind-3.3.0-r1.ebuild:
Added a patch to make massif usable for C++. Requested by Fernando J. Pereda
<ferdy@gentoo.org> in bug #221067.
25 Mar 2008; Maurice van der Pot <griffon26@gentoo.org>
valgrind-3.3.0.ebuild:
Added a warning for ppc & ppc64 that valgrind will not work if glibc
doesn't have debug info (bug #214065).
14 Jan 2008; Tobias Scherbaum <dertobi123@gentoo.org>
valgrind-3.2.3-r1.ebuild:
ppc. stable
*valgrind-3.3.0 (13 Dec 2007)
13 Dec 2007; Maurice van der Pot <griffon26@gentoo.org>
-files/valgrind-3.2.1-glibc-2.5.patch,
-files/valgrind-3.2.1-pkg-config.patch,
+files/valgrind-3.3.0-only64bit.patch, -valgrind-3.2.0.ebuild,
-valgrind-3.2.1.ebuild, +valgrind-3.3.0.ebuild:
Added valgrind-3.3.0 as requested by Giacomo Graziosi <g.graziosi@gmail.com>
in bug #202131. This release reintroduces helgrind, contains a revamped massif
and much more. Also removed old ebuilds.
01 Dec 2007; Markus Rothe <corsair@gentoo.org> valgrind-3.2.3-r1.ebuild:
Stable on ppc64
17 Nov 2007; Maurice van der Pot <griffon26@gentoo.org>
+files/valgrind-3.2.3-glibc-2.7.patch, valgrind-3.2.3-r1.ebuild:
Added glibc-2.7 suppression file and build fix as requested in bug #199001 by
<nedrandersoff@yahoo.com>. Thanks to Florian Maier <floma@onlinehome.de> for
the patch.
06 Nov 2007; Chris Gianelloni <wolf31o2@gentoo.org>
valgrind-3.2.3-r1.ebuild:
Stable on amd64 wrt bug #189396.
*valgrind-3.2.3-r1 (20 Oct 2007)
20 Oct 2007; Maurice van der Pot <griffon26@gentoo.org>
+valgrind-3.2.3-r1.ebuild:
Copied 3.2.3 ebuild to 3.2.3-r1, because there were still people who hadn't
remerged 3.2.3 and spent time looking for a solution to bug #189396.
26 Aug 2007; Maurice van der Pot <griffon26@gentoo.org>
+files/valgrind-3.2.3-unhandled-instr-amd64.patch, valgrind-3.2.3.ebuild:
Added fix for bug #189396 reported by Tiziano Müller <dev-zero@gentoo.org>.
17 Jul 2007; Maurice van der Pot <griffon26@gentoo.org>
+files/valgrind-3.2.3-glibc-2.6.patch, valgrind-3.2.3.ebuild:
Added support for glibc-2.6, which closes bug 185551 reported by
Billy DeVincentis <billydv1@verizon.net>
05 May 2007; nixnut <nixnut@gentoo.org> valgrind-3.2.3.ebuild:
Stable on ppc wrt bug 176707
04 May 2007; Daniel Gryniewicz <dang@gentoo.org> valgrind-3.2.3.ebuild:
Marked stable on amd64 for bug #176707
02 May 2007; Andrej Kacian <ticho@gentoo.org> valgrind-3.2.3.ebuild:
Stable on x86, security bug #176707.
01 May 2007; Markus Rothe <corsair@gentoo.org> valgrind-3.2.3.ebuild:
Stable on ppc64; bug #176707
04 Mar 2007; Maurice van der Pot <griffon26@gentoo.org>
valgrind-3.2.3.ebuild:
Fixed invalid reference to patch for ppc64 without multilib (bug #169216).
*valgrind-3.2.3 (19 Feb 2007)
19 Feb 2007; Maurice van der Pot <griffon26@gentoo.org>
+files/valgrind-3.2.3-pkg-config.patch, +valgrind-3.2.3.ebuild:
Added new valgrind release 3.2.3 (closes bug #163509).
13 Feb 2007; Chris Gianelloni <wolf31o2@gentoo.org> valgrind-3.2.1.ebuild:
Stable on amd64/ppc wrt bug #166121 due to glibc-2.5 being stable there, too.
13 Feb 2007; Markus Rothe <corsair@gentoo.org> valgrind-3.2.1.ebuild:
Stable on ppc64; bug #166121
11 Feb 2007; Raúl Porcel <armin76@gentoo.org> valgrind-3.2.1.ebuild:
x86 stable wrt bug 166121
03 Nov 2006; Caleb Tennis <caleb@gentoo.org>
-files/valgrind-3.1.0-amd64-nomultilib-fix.patch, -valgrind-3.1.1.ebuild:
remove old version
24 Oct 2006; Maurice van der Pot <griffon26@gentoo.org>
+files/valgrind-3.2.1-glibc-2.5.patch, valgrind-3.2.1.ebuild:
Made valgrind build with glibc 2.5 installed. Thanks to Ed Catmur
<ed@catmur.co.uk> for reporting the problem and looking up the
appropriate patches (bug #152297).
*valgrind-3.2.1 (17 Sep 2006)
17 Sep 2006; Maurice van der Pot <griffon26@gentoo.org>
+files/valgrind-3.2.1-only64bit.patch,
+files/valgrind-3.2.1-pkg-config.patch, +valgrind-3.2.1.ebuild:
Bumped version and added patch to correct pkg-config output, fixing
bug #147904 reported by Priit Laes <amd@store20.com>.
This is also the first valgrind ebuild marked ~ppc64.
25 Aug 2006; <blubb@gentoo.org> valgrind-3.2.0.ebuild:
stable on amd64
19 Aug 2006; Torsten Veller <tove@gentoo.org> valgrind-3.2.0.ebuild:
Stable on x86 (#144393)
14 Jun 2006; Maurice van der Pot <griffon26@gentoo.org>
valgrind-3.1.1.ebuild, valgrind-3.2.0.ebuild:
Now replacing -O3 with -O2 if compiling with gcc 3.3.x for bug #129776
reported by Fabian Groffen <grobian@gentoo.org>. Also corrected location
of docs for valgrind-3.2.0.
11 Jun 2006; Maurice van der Pot <griffon26@gentoo.org>
valgrind-3.2.0.ebuild:
Fixed bug #136047 as proposed by Jean Bréfort <jean.brefort@normalesup.org>
and added a blocking dep for callgrind as part of a fix for bug #136303
reported by Daniel Franke <franke.daniel@gmail.com>.
09 Jun 2006; Maurice van der Pot <griffon26@gentoo.org>
-files/valgrind-2.2.0-current-macro-clash.patch,
-files/valgrind-2.2.0-no-exec-stack.patch,
-files/valgrind-2.4.0-pie-fix.patch,
-files/valgrind-2.4.1-dont-trample-cflags.patch,
-files/valgrind-2.4.1-static-const.patch,
-files/valgrind-3.0.0-pie-fix.patch, -files/valgrind-3.0.1-mfence.patch,
-files/valgrind-3.0.1-pic-fix.patch, -valgrind-2.2.0-r2.ebuild,
-valgrind-2.4.0.ebuild, -valgrind-2.4.1.ebuild, -valgrind-3.0.0.ebuild,
-valgrind-3.0.1.ebuild, -valgrind-3.0.1-r1.ebuild, -valgrind-3.1.0.ebuild,
valgrind-3.1.1.ebuild:
Removed a bunch of old ebuilds and fixed bug #131987 reported by Marti
Raudsepp <marti@juffo.org> in valgrind-3.1.1.
*valgrind-3.2.0 (07 Jun 2006)
07 Jun 2006; Luca Barbato <lu_zero@gentoo.org> +valgrind-3.2.0.ebuild:
New version
11 Apr 2006; Joshua Jackson <tsunam@gentoo.org> valgrind-3.1.1.ebuild:
stable on x86; bug #129127
*valgrind-3.1.1 (29 Mar 2006)
29 Mar 2006; Maurice van der Pot <griffon26@gentoo.org>
+valgrind-3.1.1.ebuild:
Added version 3.1.1 of valgrind, which is purely a bug fixing release.
Requested by Nuno Lopes <nunoplopes@sapo.pt> in bug #127766.
07 Mar 2006; Maurice van der Pot <griffon26@gentoo.org>
+files/valgrind-3.1.0-amd64-nomultilib-fix.patch, valgrind-3.1.0.ebuild:
Added patch created by Marco Matthies <gentoo-bugzilla@moinmarco.de> for
bug #114407 reported by Scott Robert Ladd <gentoo@coyotegulch.com>. This
problem occurred only on amd64 without multilib.
03 Dec 2005; Maurice van der Pot <griffon26@gentoo.org>
valgrind-3.1.0.ebuild:
Filtering out -fstack-protector again, because otherwise valgrind would need
__guard and __stack_smash_handler from glibc, which it doesn't link to.
Closes bug #114347 reported by Graham Murray <graham@gmurray.org.uk>
*valgrind-3.1.0 (02 Dec 2005)
02 Dec 2005; Maurice van der Pot <griffon26@gentoo.org>
+valgrind-3.1.0.ebuild:
Added version 3.1.0 of valgrind. To summarise, AMD64 support is much better,
PPC32 support is now usable, and this is the first release in the 3.0 line
that supports core dumping for programs running under valgrind.
*valgrind-3.0.1-r1 (06 Nov 2005)
06 Nov 2005; Maurice van der Pot <griffon26@gentoo.org>
+files/valgrind-3.0.1-mfence.patch, +files/valgrind-3.0.1-pic-fix.patch,
+valgrind-3.0.1-r1.ebuild:
The mfence patch fixes the failed assertion mentioned by Brian Tarricone
<bjt23@cornell.edu> in bug #101402. The pic patch was supplied by Ned Ludd
<solar@gentoo.org> to fix bug #111233.
*valgrind-3.0.1 (30 Aug 2005)
30 Aug 2005; Maurice van der Pot <griffon26@gentoo.org>
+valgrind-3.0.1.ebuild:
Added version 3.0.1 of valgrind. This one is built without PIE as it seems to
cause trouble from time to time. This should fix bug #102157 reported by Dizzy
<dizzy@roedu.net>.
04 Aug 2005; Herbie Hopkins <herbs@gentoo.org> valgrind-3.0.0.ebuild:
Marked ~amd64 wrt bug #101386.
04 Aug 2005; Jory A. Pratt <anarchy@gentoo.org> valgrind-3.0.0.ebuild:
Marked ~ppc and added -* as bug report requested
*valgrind-3.0.0 (04 Aug 2005)
*valgrind-2.4.1 (04 Aug 2005)
04 Aug 2005; Maurice van der Pot <griffon26@gentoo.org>
+files/valgrind-2.4.1-dont-trample-cflags.patch,
+files/valgrind-2.4.1-static-const.patch,
+files/valgrind-3.0.0-pie-fix.patch, +valgrind-2.4.1.ebuild,
+valgrind-3.0.0.ebuild:
Added two new releases of valgrind. 2.4.1 is mainly a stability release
while 3.0.0 is a release that is much more portable to platforms other
than x86. It should work on amd64 already.
I also reevaluated all patches/restrictions that were present in earlier
ebuilds, removed the ones that seem no longer necessary and commented
the ones that do.
28 Jun 2005; Maurice van der Pot <griffon26@gentoo.org>
-files/valgrind-2.1.1-pic.patch,
-files/valgrind-2.1.2-kernel-headers.patch,
-files/valgrind-configure.in-2.6.diff, -valgrind-2.0.0.ebuild,
-valgrind-2.1.0.ebuild, -valgrind-2.1.1.ebuild, -valgrind-2.1.1-r1.ebuild,
-valgrind-2.1.2.ebuild, -valgrind-2.2.0.ebuild, -valgrind-2.2.0-r1.ebuild,
valgrind-2.4.0.ebuild:
Marked valgrind 2.4.0 stable on x86.
Removed old valgrind ebuilds.
25 May 2005; Maurice van der Pot <griffon26@gentoo.org>
valgrind-2.4.0.ebuild:
Added back ppc support.
12 Apr 2005; Maurice van der Pot <griffon26@gentoo.org>
+files/valgrind-2.4.0-pie-fix.patch, valgrind-2.4.0.ebuild:
Included some fixes that should enable building with PIE,
even with a hardened gcc profile; this fixes bug #87598
reported by Olaf Freyer <aaron@cs.tu-berlin.de>
Also prepared the ebuild for ppc support.
28 Mar 2005; Maurice van der Pot <griffon26@gentoo.org>
valgrind-2.4.0.ebuild:
Adapted to changes in configure, fixing bug #87010. Thanks to
Olivier <ocastan@noos.fr> for identifying the problem.
24 Mar 2005; Maurice van der Pot <griffon26@gentoo.org> :
Had repoman fix Manifest file
24 Mar 2005; Maurice van der Pot <griffon26@gentoo.org>
valgrind-2.4.0.ebuild:
Corrected url to source
*valgrind-2.4.0 (24 Mar 2005)
24 Mar 2005; Maurice van der Pot <griffon26@gentoo.org>
valgrind-2.2.0-r2.ebuild, +valgrind-2.4.0.ebuild:
Added ebuild for new version 2.4.0. Temporarily dropped ~ppc until
a ppc version is released.
Marked 2.2.0-r2 stable on x86
22 Feb 2005; Maurice van der Pot <griffon26@gentoo.org>
+files/valgrind-2.2.0-current-macro-clash.patch, valgrind-2.2.0-r2.ebuild:
Fixed compilation against 2.6.10 kernel headers closing bug #82629
reported by Dennis Schridde <lindevel@gmx.net>.
*valgrind-2.2.0-r2 (13 Feb 2005)
13 Feb 2005; Maurice van der Pot <griffon26@gentoo.org>
+valgrind-2.2.0-r2.ebuild:
Prevent valgrind from ignoring CFLAGS in environment to allow building
with hardened gcc (see bug #75789 reported by Dominik Schäfer
<schaedpq@despammed.com>)
Make valgrind less dependent on actual name of kernel headers as
suggested by Mihai Limbasan <mihailim@gmail.com> in bug #80176.
*valgrind-2.2.0-r1 (19 Dec 2004)
19 Dec 2004; Maurice van der Pot <griffon26@gentoo.org>
+files/valgrind-2.2.0-no-exec-stack.patch, +valgrind-2.2.0-r1.ebuild:
Remove nested function to enable running without an executable stack.
Fixes segmentation fault on nptl systems as reported by Pedro Morales
<pemorale@dcc.uchile.cl> in bug #74716.
28 Oct 2004; Maurice van der Pot <griffon26@gentoo.org> metadata.xml:
Taken up maintenance of valgrind.
23 Sep 2004; Caleb Tennis <caleb@gentoo.org> valgrind-2.2.0.ebuild:
Marking x86 stable
03 Sep 2004; Luca Barbato <lu_zero@gentoo.org> valgrind-2.2.0.ebuild:
Stray ebuild got committed in place, replaced with the correct one.
03 Sep 2004; Luca Barbato <lu_zero@gentoo.org> valgrind-2.2.0.ebuild:
Minor fix, thanks again to Olaf Freyer <aaron@cs.tu-berlin.de> for reporting it
*valgrind-2.2.0 (02 Sep 2004)
02 Sep 2004; Luca Barbato <lu_zero@gentoo.org> +valgrind-2.2.0.ebuild:
New Version, experimental ppc support available
07 Aug 2004; Luca Barbato <lu_zero@gentoo.org> valgrind-2.1.2.ebuild:
Fix for the system headers wierdness, thanks to Olaf Freyer
<aaron@cs.tu-berlin.de>
24 Jul 2004; Michael Sterrett <mr_bones_@gentoo.org> valgrind-2.1.2.ebuild:
don't rdepend on autoconf; error message; doc tidy
*valgrind-2.1.2 (22 Jul 2004)
22 Jul 2004; Luca Barbato <lu_zero@gentoo.org>
+files/valgrind-2.1.2-kernel-headers.patch, +valgrind-2.1.2.ebuild:
New version, thanks to Olaf Freyer <aaron@cs.tu-berlin.de> for the
early patch.
10 Jul 2004; Tom Martin <slarti@gentoo.org> valgrind-2.1.1-r1.ebuild:
Marking -amd64, valgrind is ix86 specific.
01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
valgrind-2.0.0.ebuild, valgrind-2.1.0.ebuild, valgrind-2.1.1-r1.ebuild,
valgrind-2.1.1.ebuild:
virtual/glibc -> virtual/libc
*valgrind-2.1.1-r1 (17 Jun 2004)
17 Jun 2004; <solar@gentoo.org> valgrind-2.1.1-r1.ebuild,
files/valgrind-2.1.1-pic.patch:
added patch from bug 54068 to make valgrind pic aware

View File

@ -1 +1,46 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
AUX valgrind-3.10.0-non-exec-stack.patch 6019 SHA256 9256d9c9132492bd937cfaffabfc061601d8f5f5b36adb6bdc53722df14117ee SHA512 8db8ae59ce4f4334c4ee8ea556d2ed5b4c2826bb5753239b47e6c5c3ca9cedc687731d145e8650f84c753a39d1d509bc5bf758204f5b4bdf99a20d2bbee21bdd WHIRLPOOL 3ea723057ba9834c6827a168cf781bd31733d4e50af135e3b08d06d7c2a6ac360e19beed1b58537e8d1f60054315e31d2abef1ed5febd297e17082892d7e2157
AUX valgrind-3.10.1-linux-4.patch 972 SHA256 08956afc6390188a6c8bc0cebb81e806d4006e635076878e21043a57e5df4816 SHA512 22fda4cb41ee38e5b871217abf7c697ac6d1f088e9d6f5c035c6c54b0d008f2f23fe900fc036f0990fbad6284d357838e344ec43c156a5d8ec60d7b377abceaf WHIRLPOOL 99528549388b189328de8fe40715cdeac86f22726c62f9ae5aa677ac1a33aeb610230c421738342c4ed8b3b55e43372ecda943d5c2a4e74a26484ff1c1ef8c50
AUX valgrind-3.10.1-non-exec-stack.patch 6019 SHA256 812560566e56c32db2ad3a97a2e52327d84648698987079ccf3843203c1e6ddc SHA512 015da8132bb72b81bd017b3e3faefb408a8f053676ff605bec411e40d9b7de21b197f660139df7e540756462406442325305d52ae0da04ac44ec66612fb1b0b3 WHIRLPOOL ddaf89092c4915662e6ba048668715f13e8634edc7cf490099870edda3b23799a76e3c677a430bf966295f84010829217aa0c0f887e48762969b805a365ef101
AUX valgrind-3.6.0-local-labels.patch 1388 SHA256 34ae13eda378677f1e662e0813f138de9b897d6592d20872c58ed8ac1bcf7def SHA512 079abe5bd99e2acf0e33a46db3772e264a2051d048c1cd34a4ee350395ea38b815f7909008ed1123324857ed25ab0159da4c5da37701570be012a0664481bbc6 WHIRLPOOL ba737636a547154947073478048f693bb28a9e353b8a1ac195d701bb8be69e182aa5d043b1c6085639c80752c68e5c8b26e3ec54bdcff7ac53ca71bc62768f58
AUX valgrind-3.7.0-automake-1.11.2.patch 1436 SHA256 c5cf935bcb74c1e890183602d34a3d86eae65844cfe034e517dc3667e48b278d SHA512 c450fa127f5516b4efe2cc7dacc3f0dd32ee9375d6f121f5a0f3ba0d5479003ec9a894cd27e954fe914661fb701024f6b5d4f4f02eb015245f6ee755e75fe9e2 WHIRLPOOL 058779e298d6a94dd9f95c93f18bc1cac40fe471d5850ccab38009f446f546c1c0ccc4181229f1b8e014b62dbc6b7d3f72cd1ed9dc260596acff1788632f15c9
AUX valgrind-3.7.0-fix-gcc-regex.patch 1723 SHA256 3a587d7dcc1ed447cc006cfef0cfb3597f17c96ac8adc7adbdc14d313a1d6852 SHA512 1ea7ea383302bfce2d9152379800b17eed986a5f19ccea08410a861d4a9a6613729e3e04caec4f5bda7d000c8f59d45af5caf089f80b8d114c470200b579badc WHIRLPOOL 6fd54592839aa1af8144c44f2b01afddbc454ca603bf328a981a1447b14f365ac5be6aff3412906f04b442e41e823d9b4c92e82ff727a7ffd5e6faa37ca3145f
AUX valgrind-3.7.0-fno-stack-protector.patch 554 SHA256 83ed90a0e8a8b06dca8aad4e7f1a12e3c84621d502427c0913b72740b310f479 SHA512 4f9573fd68a0e1e209518fb4100c27b697ccd28e7a39abaa921f1949cd87ffb79a6784d2d1f6e006d68a08c7217cee77cba378c18aab48b87a3824eedb53ed5e WHIRLPOOL 097a9658c0b83cec2b49fc0011bc63512d1a1b2e12048203ac963ad1fd526f932d8fee4052e6b8daacec3fa0bc9a0ea25e69f88bbb5df588e9b668252c0dc517
AUX valgrind-3.7.0-glibc-2.15.patch 1003 SHA256 84606d7cdb475ba3ad46da4d26094e2082698144fdbac7c7e87ee0f97859d387 SHA512 6363ff76da270485540de5475baf7cb26d4661ed38ec19007bea845e7cd149bd1147b4e73b04f91a78c116475e3947140933408ab8a8b6b6c875c185671a1e85 WHIRLPOOL 4576be6c1a79ec75df347bbc6f80f67c16dda41464e22fd7778d2b37efe707bd63d8f350f9e8f0f6fa87581bb8057ffba8ac59c30c2333dd7e42bf433c05c13d
AUX valgrind-3.7.0-non-exec-stack-v2.patch 5831 SHA256 fa9962c02a5b1396c30631b053920606f6628916569ac696bdf8c1f9bef78deb SHA512 b0e7f6a97403eed5cf5206b562ddd31a898558d2011618cedcfd8c5c9171f479ce44ea389caa0e94d707fbba1078f53d53259fcb6c080ea226677892223e2afc WHIRLPOOL 95e1f55770a05671ab452203f02315f792affcddc797c65562b302b90bb7e3168df62dc7748769158eff655e32a958b7964eeed15c44e5626f98ae98ed74c590
AUX valgrind-3.7.0-non-exec-stack.patch 5644 SHA256 4de10480b6e27379083203df3cfedccdace68d0aad611440478ca2f1b2f89751 SHA512 6c910a6816f35d72100ab5913750cc14a02013c29d4a5f7c90040329510622697fbf5e99f311aad7269745ac0713da0c29cc6e4b840a729c86d1d7bd80e49216 WHIRLPOOL edbf395de5505ca1cb364a595975ab642f59ffd52ae7a5fa0652b52e74176e7578ddf53e20c84f78433af792f7be7247d9bdd82694eb7bf0f06328614d1f2d61
AUX valgrind-3.7.0-respect-flags.patch 360 SHA256 6b1e5938ecafc29428a698296423c71924848b1e746d6ee8a0f1dd91141f1019 SHA512 efdb017283b6a5829d1a5acc31b42ddd177a3ab468eb062b8c4fd90b2dbd06679e8d8bc2d6f813e3001efdda831d4410cc8da3a3e42ee2e49efea0423e4b3ca3 WHIRLPOOL 5bff165cf8f6042905a4d682b0114ee41301de173d43412b16208a08a351fe8ca74a527e4d09f9649dca28cbb61dd8ea2392e10e2b8d7b8ea0e51318915f9565
AUX valgrind-3.8.0-non-exec-stack.patch 5777 SHA256 05e91425416ca9faaf322bb11fd5ed3ff5e57410db17d0da01aa1c922161d670 SHA512 b9dee7a6fa38ac7f9d21489b2ff46b6d3602ac8b2e1f0504ee4adc5ae3184933098deb039725c891471ea33a44659814266f2e840dc948106a9deee79a403927 WHIRLPOOL 64a62ea23a7017d358c73625f276cc59c5eb51cb96367254f64dcdc65a351551f8bd8f8f1c75bb4896b47e401d7163df5fc3af7e6b75b8cdd450795b99b9a3ae
AUX valgrind-3.8.1-gcc-4.8-memmove.patch 1004 SHA256 38a2a3954dba93748d3e5877e902e891d68587604eb7c9979f8feab16d902b9d SHA512 ac225c3020d9c96a5d4f84b67491b094323a93de1ebb102cc74c1fc20bdccc7a9503039ff8a9366429495e76efd3c2d6840f77259e984cebd70a6b5c72dad088 WHIRLPOOL 249e356b43b2fda068362210a758960ccf52a38b9f7a94bc9d3771a8f12f250f70d973d64eb87dba89dc293324bffb0dbc92c4ce67f5713ff8fbc94c2f8ea6a5
AUX valgrind-3.8.1-glibc-2.17.patch 1001 SHA256 7d7c770691de9a732bfa62bb64a348bd2429464e7ca22e8726bac6746ffd8dc3 SHA512 d5486fff61846744ea4986bcda409ffca66a3514c1e62eac8e32080990bf19694129c3e6005028dfdcd6c966b6732e861dd859974d3a73c1f04e375b68124f84 WHIRLPOOL 72e48daaae834bd0c78451ec857b51c13385db952dc9a356e5af4c7c3b0a9de5ebf1967b032aa918c73a2bb74799b788fda8a78173e9104f1533d4559812d676
AUX valgrind-3.9.0-glibc-2.19.patch 1530 SHA256 5cb0b62569d6acf3bc30e168570effecfcccd8cd6d9d9f1ee201c99d74a960f6 SHA512 8f059c9cf61cab427538164fd11bc14d3be17d5f93a77b8ca33426c0bf2fee3b2d0797cd246ec50266cc5f6ebb602d877ab7eded0618836752fd14408a2d5a63 WHIRLPOOL 8556c35adb05b20f466ec6acc1ce4b8a4940cf29b576dc72623278a5eb35f269aa84edb1202bcf059daee1e0c2ff9f7a0828b8f1a0e31b12f6d30d24bf07da37
AUX valgrind-3.9.0-non-exec-stack.patch 5843 SHA256 a47fb06d20270670e88c562662e16f0b1824c18fc3baa34aa739351044d294ce SHA512 1c052362bb35f66f904bffb851f342ef9313125fc0b43949b14baedeea41cc33bd96595508de7cb0ea6960abeb699233d7780e27753c80757f27f2ca979bf127 WHIRLPOOL fa0849ccc0a82c79b7ca50dc78dbba21d84873d5c29b895ecf0b8ab5afd93a4bb674e9416af98361af9185d869e79b31d9dfbcd3b41f3ea72d2bea367670dbbe
DIST valgrind-3.10.1.tar.bz2 10967905 SHA256 fa253dc26ddb661b6269df58144eff607ea3f76a9bcfe574b0c7726e1dfcb997 SHA512 8f3d27637c13b06381b3dd44088244e0cf2f7008f40e46f34322f2a5bfa6373d29ce68ff49f19c48f1a5f139d8be5838b9606206e0ce2599c5f74c0db8ce2642 WHIRLPOOL 3d55f35b02195d9859d9192726ea708277f1d3339005d959baa224822c5b71f5347cdd28c7fd8153c10d1e3282855e853caf9c7192751bebdbbc3444c33d885a
DIST valgrind-3.7.0.tar.bz2 6624216 SHA256 5d62c0330f1481fe2c593249192fa68ff454c19c34343978cc9ce91aa324cbf6 SHA512 0ccf6607fe6d26f0dc0f3d6e45f84645925d0a90ce4ecf6acfc6b4d374d3e909b2a628b03c0a964a45d2462cca6877f818a5f72b3e4a5bbf3a2d9b8a9a343d5f WHIRLPOOL 44bf8c423d6f3222f5e777333acc21e94dfa680509b2152289129961296d8afc090466b6407248b6e172b3c42da5448206f257bd63f8e44aba01007f92a6fde1
DIST valgrind-3.8.1.tar.bz2 7962963 SHA256 473be00576bed311a662b277a2bfbe97d9cca4058e68619a0e420c9fc19958db SHA512 ba31f5d43bd2d9533846bed6456a0eae40ac071ff8732201dd75c9e2cd7e9ce3224cb5928b9c8fc859a75ce6867a9b6a1fb2ba8ab62cd3944893d6d4156ab25c WHIRLPOOL 81e63bb649455ed29fcd60fc7f3cebde456a610118b9b24530d3b2e8aa4a7561369e992af86ffb158e1f7fc0db7b91738564402931a947a79bb789bd26a8e065
DIST valgrind-3.9.0.tar.bz2 10003156 SHA256 e6af71a06bc2534541b07743e1d58dc3caf744f38205ca3e5b5a0bdf372ed6f0 SHA512 4b748f9f9a647df50db75fb56f83ee2f25bad9f1f4e4f05c4ac1d1e919e6cd954975c1f325dbedb509c44be1a8516ac2a5f269090946a0d728166ab183016c7b WHIRLPOOL e73c4dcdff829a34889f5654c5ec314f32d2c33f9e64bde3f811359a252749a6c677db80bf2aa2647f935cd38a0ccc19c0358a7b13198032c5d636f97e9e71de
EBUILD valgrind-3.10.1.ebuild 3549 SHA256 4d2df825b423772868044be7128a9e12b5c4867599c1ea642662e22d9cdbe484 SHA512 c1fc3cf8a8a6a07f616410027024dbbce4e5b2976791ce518deb8cc052eb5816c6e5dbcd26a12cc72e143850a56e1b0eaea6287da0a06be6caa6d2b88f9dc1a3 WHIRLPOOL f1df7da64a1e75b2cd5fb7b694fa02607d691a15f699a9b1308c8ccb858dd8d9cdb72151b4daeaa39a2d39a540869723a1cfeb92f7df8a4d73b1c42e56d01be7
EBUILD valgrind-3.7.0-r4.ebuild 3577 SHA256 f95fa83714c79d8c05f5c6f43b93ab91eb47c0a50e37faed055eab2cf5fd30ed SHA512 a4e2586606ab100d16cf3bad564aae5012796826a016c18fb85def0d8b72177ad8a4fa11bde322a8f8e9543f16ae874dc237d83c7efbb88db4a5676fb00d1364 WHIRLPOOL 16885e75e7383ee040ec825fa22bd68bf99fe8062d81e5ea008f84e573b0552d3514182c3c570b75cfa19313147de49e7557ba8d78687d875756b1c9c1251777
EBUILD valgrind-3.8.1.ebuild 3418 SHA256 9244f56a4e98ab7cc6738f98012aa30192535e4a0011e8b75eeadb6515da94e9 SHA512 5edfb5cd3fc18b6afe2476b753762ac806cb1968cac8ceb4d1a3552e046bd078aa9974f38bad61c24104b1997fb69197244d4404982f1cfbd815a284a82cf085 WHIRLPOOL d66919af12d551d1102a43ac1c9d5643304791a876e1f1bdb81bf4784640b0c7dffa2b6867e59aa6873a0736581ccc96bf7a962348cdd9358c23a615338a641b
EBUILD valgrind-3.9.0.ebuild 3402 SHA256 27e1d9fbdfe4e1c29665f314fc370e55aec9973d8961bf7ac46b11c8ed7b4b36 SHA512 8dec3dcbaf96f48d1ab9720637de33ebaad944e6424e94c1215cb4470beacb7f62c909a6debc1f5c245d359a701a5e7597e5c1eb7b6e9a2dd38ba255a4d58b84 WHIRLPOOL 1414c2e457ceb831e6146c0477e70930ab5621564f79803a2a1236e8f7c19e0d8a358d3ddfc8d05eedd15f462c4fcbd78cb109d94183e57084e15eaec93f62f0
MISC ChangeLog 30994 SHA256 e0877a3421bc3342b4cb5f8108a7171acb1ae65a2f6914d474594b8a017bff83 SHA512 54a32fd1aad58dec6ff2629435e3784052d35e69ac29ddacde5c19f0e055f3b7dbd737ad3577d997cd271cc76036b172bdef165a73e94eb25949bdeb84410222 WHIRLPOOL b8971ff0ef4a898ea0fb83cc86d4340e3329a97290bc611d761ad8d61997f340226c64d29c579c366af76c4feb63312596c0f727cfec6c5b465f92cfc9c120da
MISC metadata.xml 1013 SHA256 69a104cb454bfa145365c6eb7740c8331851c1b1cf9c507a3a787995e5a47aa6 SHA512 8ed29082b4adbdde40d277f465d7e2faa404b537c5bd7d7812ef9632648750763f66506596d392d090286f5681047a60541c483195e3756d8ec7725f66de3457 WHIRLPOOL 93c2f17dfeb55910707e3789e028dc75b5efe7786dd8c785432c8cf50044d4b3b97975ed57f6cc26e8a6a259b462a0ad2784707e0969f02ff9b3614b78fc0536
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJVErrYAAoJELp701BxlEWfI0IQAKFH71RS9hB8zZIQW6IKQ6vh
8b5sQjr0Ok88gbdt6qeJWMVAfs5Bgp6RaavYmKDoBUG5xK/VZI9SPKoMfsWQEaGy
RofbBUbWHnrELJB9uVq+m9zsKQW02XRB0Ff+4IBezK0GaQ8L+ByY9e8uqvhGFRXX
AEuK/AKA6DqC/WiZixE6o9vi34dZyRv+uUJj3VQeOU1tvWYoKjqYQhkFPzQUd/U+
36r/h8KDXRD5ISPZebsQ9ncfqie0/frntmr+/VZnf0sbW05nYX0jZEE/9qErQrMi
is35279fedWW+XlqAt7DJ4vv4cIvDLJ0T4UBLu1PNdhowbroAHab3VASQrxissOp
xNgmGoDhnTGvQ7qTMrEra7VCMLkECir7iAR6hvj42vUog6Q1X77f6kcSqzol5yRX
Ja1Dvwc+aSbTwiEqIMrxhhEyuBofht/lVUw3LCaHMRbunHagQxlghto8lTcWeWeH
9tnOAm32m/7px3ThW5iOasLi7vdpcmMkQ4Nw1js69YsDepDns6aouytzPaFFq5eY
BOXuxn4IypeKR+8nUmbj+OgrwVZnDY5Kox5SAPcjI2GmJCsIvbn5qS5qs6oW7vhm
/aRWz4UADDecZHhGLgDIhmdiCWeWjp7al6YLsjmfqprrsIhmzoMUjOc481rWsjpa
2cDpRGKtNCk3SAT3SV1k
=Nu48
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,148 @@
diff -Naur valgrind-3.10.0.orig/coregrind/Makefile.am valgrind-3.10.0/coregrind/Makefile.am
--- valgrind-3.10.0.orig/coregrind/Makefile.am 2014-09-08 08:28:30.000000000 -0400
+++ valgrind-3.10.0/coregrind/Makefile.am 2014-09-12 20:54:25.720389938 -0400
@@ -333,18 +333,6 @@
m_demangle/demangle.c \
m_demangle/dyn-string.c \
m_demangle/safe-ctype.c \
- m_dispatch/dispatch-x86-linux.S \
- m_dispatch/dispatch-amd64-linux.S \
- m_dispatch/dispatch-ppc32-linux.S \
- m_dispatch/dispatch-ppc64be-linux.S \
- m_dispatch/dispatch-ppc64le-linux.S \
- m_dispatch/dispatch-arm-linux.S \
- m_dispatch/dispatch-arm64-linux.S \
- m_dispatch/dispatch-s390x-linux.S \
- m_dispatch/dispatch-mips32-linux.S \
- m_dispatch/dispatch-mips64-linux.S \
- m_dispatch/dispatch-x86-darwin.S \
- m_dispatch/dispatch-amd64-darwin.S \
m_gdbserver/inferiors.c \
m_gdbserver/m_gdbserver.c \
m_gdbserver/regcache.c \
@@ -368,8 +356,6 @@
m_initimg/initimg-pathscan.c \
m_mach/mach_basics.c \
m_mach/mach_msg.c \
- m_mach/mach_traps-x86-darwin.S \
- m_mach/mach_traps-amd64-darwin.S \
m_replacemalloc/replacemalloc_core.c \
m_scheduler/scheduler.c \
m_scheduler/sema.c \
@@ -386,18 +372,6 @@
m_sigframe/sigframe-mips64-linux.c \
m_sigframe/sigframe-x86-darwin.c \
m_sigframe/sigframe-amd64-darwin.c \
- m_syswrap/syscall-x86-linux.S \
- m_syswrap/syscall-amd64-linux.S \
- m_syswrap/syscall-ppc32-linux.S \
- m_syswrap/syscall-ppc64be-linux.S \
- m_syswrap/syscall-ppc64le-linux.S \
- m_syswrap/syscall-arm-linux.S \
- m_syswrap/syscall-arm64-linux.S \
- m_syswrap/syscall-s390x-linux.S \
- m_syswrap/syscall-mips32-linux.S \
- m_syswrap/syscall-mips64-linux.S \
- m_syswrap/syscall-x86-darwin.S \
- m_syswrap/syscall-amd64-darwin.S \
m_syswrap/syswrap-main.c \
m_syswrap/syswrap-generic.c \
m_syswrap/syswrap-linux.c \
@@ -420,6 +394,29 @@
m_ume/main.c \
m_ume/script.c
+COREGRIND_SOURCES_COMMON += \
+ m_dispatch/dispatch-@VGCONF_ARCH_PRI@-@VGCONF_OS@.S \
+ m_syswrap/syscall-@VGCONF_ARCH_PRI@-@VGCONF_OS@.S
+
+if VGCONF_HAVE_PLATFORM_SEC
+COREGRIND_SOURCES_COMMON += \
+ m_dispatch/dispatch-@VGCONF_ARCH_SEC@-@VGCONF_OS@.S \
+ m_syswrap/syscall-@VGCONF_ARCH_SEC@-@VGCONF_OS@.S
+endif
+
+if VGCONF_OS_IS_DARWIN
+COREGRIND_SOURCES_COMMON += \
+ m_dispatch/dispatch-@VGCONF_ARCH_PRI@-darwin.S \
+ m_syswrap/syscall-@VGCONF_ARCH_PRI@-darwin.S \
+ m_mach/mach_traps-@VGCONF_ARCH_PRI@-darwin.S
+if VGCONF_HAVE_PLATFORM_SEC
+COREGRIND_SOURCES_COMMON += \
+ m_dispatch/dispatch-@VGCONF_ARCH_SEC@-darwin.S \
+ m_syswrap/syscall-@VGCONF_ARCH_SEC@-darwin.S \
+ m_mach/mach_traps-@VGCONF_ARCH_SEC@-darwin.S
+endif
+endif
+
libcoregrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_a_SOURCES = \
$(COREGRIND_SOURCES_COMMON)
nodist_libcoregrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_a_SOURCES = \
diff -Naur valgrind-3.10.0.orig/coregrind/m_dispatch/dispatch-amd64-linux.S valgrind-3.10.0/coregrind/m_dispatch/dispatch-amd64-linux.S
--- valgrind-3.10.0.orig/coregrind/m_dispatch/dispatch-amd64-linux.S 2014-09-08 08:28:46.000000000 -0400
+++ valgrind-3.10.0/coregrind/m_dispatch/dispatch-amd64-linux.S 2014-09-12 20:49:14.681385751 -0400
@@ -249,11 +249,11 @@
.size VG_(disp_run_translations), .-VG_(disp_run_translations)
+#endif // defined(VGP_amd64_linux)
+
/* Let the linker know we don't need an executable stack */
.section .note.GNU-stack,"",@progbits
-#endif // defined(VGP_amd64_linux)
-
/*--------------------------------------------------------------------*/
/*--- end ---*/
/*--------------------------------------------------------------------*/
diff -Naur valgrind-3.10.0.orig/coregrind/m_dispatch/dispatch-x86-linux.S valgrind-3.10.0/coregrind/m_dispatch/dispatch-x86-linux.S
--- valgrind-3.10.0.orig/coregrind/m_dispatch/dispatch-x86-linux.S 2014-09-08 08:28:46.000000000 -0400
+++ valgrind-3.10.0/coregrind/m_dispatch/dispatch-x86-linux.S 2014-09-12 20:49:14.681385751 -0400
@@ -240,11 +240,11 @@
.size VG_(disp_run_translations), .-VG_(disp_run_translations)
+#endif // defined(VGP_x86_linux)
+
/* Let the linker know we don't need an executable stack */
.section .note.GNU-stack,"",@progbits
-#endif // defined(VGP_x86_linux)
-
/*--------------------------------------------------------------------*/
/*--- end ---*/
/*--------------------------------------------------------------------*/
diff -Naur valgrind-3.10.0.orig/coregrind/m_syswrap/syscall-amd64-linux.S valgrind-3.10.0/coregrind/m_syswrap/syscall-amd64-linux.S
--- valgrind-3.10.0.orig/coregrind/m_syswrap/syscall-amd64-linux.S 2014-09-08 08:28:45.000000000 -0400
+++ valgrind-3.10.0/coregrind/m_syswrap/syscall-amd64-linux.S 2014-09-12 20:49:14.681385751 -0400
@@ -205,11 +205,11 @@
ML_(blksys_finished): .quad 5b
.previous
+#endif // defined(VGP_amd64_linux)
+
/* Let the linker know we don't need an executable stack */
.section .note.GNU-stack,"",@progbits
-#endif // defined(VGP_amd64_linux)
-
/*--------------------------------------------------------------------*/
/*--- end ---*/
/*--------------------------------------------------------------------*/
diff -Naur valgrind-3.10.0.orig/coregrind/m_syswrap/syscall-x86-linux.S valgrind-3.10.0/coregrind/m_syswrap/syscall-x86-linux.S
--- valgrind-3.10.0.orig/coregrind/m_syswrap/syscall-x86-linux.S 2014-09-08 08:28:45.000000000 -0400
+++ valgrind-3.10.0/coregrind/m_syswrap/syscall-x86-linux.S 2014-09-12 20:49:14.681385751 -0400
@@ -165,11 +165,11 @@
ML_(blksys_finished): .long 5b
.previous
+#endif // defined(VGP_x86_linux)
+
/* Let the linker know we don't need an executable stack */
.section .note.GNU-stack,"",@progbits
-#endif // defined(VGP_x86_linux)
-
/*--------------------------------------------------------------------*/
/*--- end ---*/
/*--------------------------------------------------------------------*/

View File

@ -0,0 +1,29 @@
From ecb3746d69820905c076b89e1be7042f52ceaa5f Mon Sep 17 00:00:00 2001
From: Janne Grunau <j@jannau.net>
Date: Thu, 19 Mar 2015 22:44:51 +0100
Subject: [PATCH 1/1] configure: support linux 4.*
There is nothing special in linux 4.0. Handle it as another 3.* (or
another 2.6.*) release. Compare changeset 14955 in valgrind's
subversion repository. Valgrind trunk also drops support for linux 2.4
but there is no need to do that for realeased software.
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 0fd2a41..33c7954 100644
--- a/configure.ac
+++ b/configure.ac
@@ -303,7 +303,7 @@ case "${host_os}" in
kernel=`uname -r`
case "${kernel}" in
- 2.6.*|3.*)
+ 2.6.*|3.*|4.*)
AC_MSG_RESULT([2.6.x/3.x family (${kernel})])
AC_DEFINE([KERNEL_2_6], 1, [Define to 1 if you're using Linux 2.6.x or Linux 3.x])
;;
--
2.3.3

View File

@ -0,0 +1,148 @@
diff -Naur valgrind-3.10.1.orig/coregrind/Makefile.am valgrind-3.10.1/coregrind/Makefile.am
--- valgrind-3.10.1.orig/coregrind/Makefile.am 2014-11-25 14:41:19.000000000 -0500
+++ valgrind-3.10.1/coregrind/Makefile.am 2014-11-26 13:36:44.113678744 -0500
@@ -333,18 +333,6 @@
m_demangle/demangle.c \
m_demangle/dyn-string.c \
m_demangle/safe-ctype.c \
- m_dispatch/dispatch-x86-linux.S \
- m_dispatch/dispatch-amd64-linux.S \
- m_dispatch/dispatch-ppc32-linux.S \
- m_dispatch/dispatch-ppc64be-linux.S \
- m_dispatch/dispatch-ppc64le-linux.S \
- m_dispatch/dispatch-arm-linux.S \
- m_dispatch/dispatch-arm64-linux.S \
- m_dispatch/dispatch-s390x-linux.S \
- m_dispatch/dispatch-mips32-linux.S \
- m_dispatch/dispatch-mips64-linux.S \
- m_dispatch/dispatch-x86-darwin.S \
- m_dispatch/dispatch-amd64-darwin.S \
m_gdbserver/inferiors.c \
m_gdbserver/m_gdbserver.c \
m_gdbserver/regcache.c \
@@ -368,8 +356,6 @@
m_initimg/initimg-pathscan.c \
m_mach/mach_basics.c \
m_mach/mach_msg.c \
- m_mach/mach_traps-x86-darwin.S \
- m_mach/mach_traps-amd64-darwin.S \
m_replacemalloc/replacemalloc_core.c \
m_scheduler/scheduler.c \
m_scheduler/sema.c \
@@ -386,18 +372,6 @@
m_sigframe/sigframe-mips64-linux.c \
m_sigframe/sigframe-x86-darwin.c \
m_sigframe/sigframe-amd64-darwin.c \
- m_syswrap/syscall-x86-linux.S \
- m_syswrap/syscall-amd64-linux.S \
- m_syswrap/syscall-ppc32-linux.S \
- m_syswrap/syscall-ppc64be-linux.S \
- m_syswrap/syscall-ppc64le-linux.S \
- m_syswrap/syscall-arm-linux.S \
- m_syswrap/syscall-arm64-linux.S \
- m_syswrap/syscall-s390x-linux.S \
- m_syswrap/syscall-mips32-linux.S \
- m_syswrap/syscall-mips64-linux.S \
- m_syswrap/syscall-x86-darwin.S \
- m_syswrap/syscall-amd64-darwin.S \
m_syswrap/syswrap-main.c \
m_syswrap/syswrap-generic.c \
m_syswrap/syswrap-linux.c \
@@ -420,6 +394,29 @@
m_ume/main.c \
m_ume/script.c
+COREGRIND_SOURCES_COMMON += \
+ m_dispatch/dispatch-@VGCONF_ARCH_PRI@-@VGCONF_OS@.S \
+ m_syswrap/syscall-@VGCONF_ARCH_PRI@-@VGCONF_OS@.S
+
+if VGCONF_HAVE_PLATFORM_SEC
+COREGRIND_SOURCES_COMMON += \
+ m_dispatch/dispatch-@VGCONF_ARCH_SEC@-@VGCONF_OS@.S \
+ m_syswrap/syscall-@VGCONF_ARCH_SEC@-@VGCONF_OS@.S
+endif
+
+if VGCONF_OS_IS_DARWIN
+COREGRIND_SOURCES_COMMON += \
+ m_dispatch/dispatch-@VGCONF_ARCH_PRI@-darwin.S \
+ m_syswrap/syscall-@VGCONF_ARCH_PRI@-darwin.S \
+ m_mach/mach_traps-@VGCONF_ARCH_PRI@-darwin.S
+if VGCONF_HAVE_PLATFORM_SEC
+COREGRIND_SOURCES_COMMON += \
+ m_dispatch/dispatch-@VGCONF_ARCH_SEC@-darwin.S \
+ m_syswrap/syscall-@VGCONF_ARCH_SEC@-darwin.S \
+ m_mach/mach_traps-@VGCONF_ARCH_SEC@-darwin.S
+endif
+endif
+
libcoregrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_a_SOURCES = \
$(COREGRIND_SOURCES_COMMON)
nodist_libcoregrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_a_SOURCES = \
diff -Naur valgrind-3.10.1.orig/coregrind/m_dispatch/dispatch-amd64-linux.S valgrind-3.10.1/coregrind/m_dispatch/dispatch-amd64-linux.S
--- valgrind-3.10.1.orig/coregrind/m_dispatch/dispatch-amd64-linux.S 2014-11-25 14:41:20.000000000 -0500
+++ valgrind-3.10.1/coregrind/m_dispatch/dispatch-amd64-linux.S 2014-11-26 13:30:11.840660890 -0500
@@ -249,11 +249,11 @@
.size VG_(disp_run_translations), .-VG_(disp_run_translations)
+#endif // defined(VGP_amd64_linux)
+
/* Let the linker know we don't need an executable stack */
.section .note.GNU-stack,"",@progbits
-#endif // defined(VGP_amd64_linux)
-
/*--------------------------------------------------------------------*/
/*--- end ---*/
/*--------------------------------------------------------------------*/
diff -Naur valgrind-3.10.1.orig/coregrind/m_dispatch/dispatch-x86-linux.S valgrind-3.10.1/coregrind/m_dispatch/dispatch-x86-linux.S
--- valgrind-3.10.1.orig/coregrind/m_dispatch/dispatch-x86-linux.S 2014-11-25 14:41:20.000000000 -0500
+++ valgrind-3.10.1/coregrind/m_dispatch/dispatch-x86-linux.S 2014-11-26 13:30:11.840660890 -0500
@@ -240,11 +240,11 @@
.size VG_(disp_run_translations), .-VG_(disp_run_translations)
+#endif // defined(VGP_x86_linux)
+
/* Let the linker know we don't need an executable stack */
.section .note.GNU-stack,"",@progbits
-#endif // defined(VGP_x86_linux)
-
/*--------------------------------------------------------------------*/
/*--- end ---*/
/*--------------------------------------------------------------------*/
diff -Naur valgrind-3.10.1.orig/coregrind/m_syswrap/syscall-amd64-linux.S valgrind-3.10.1/coregrind/m_syswrap/syscall-amd64-linux.S
--- valgrind-3.10.1.orig/coregrind/m_syswrap/syscall-amd64-linux.S 2014-11-25 14:41:20.000000000 -0500
+++ valgrind-3.10.1/coregrind/m_syswrap/syscall-amd64-linux.S 2014-11-26 13:30:11.840660890 -0500
@@ -205,11 +205,11 @@
ML_(blksys_finished): .quad 5b
.previous
+#endif // defined(VGP_amd64_linux)
+
/* Let the linker know we don't need an executable stack */
.section .note.GNU-stack,"",@progbits
-#endif // defined(VGP_amd64_linux)
-
/*--------------------------------------------------------------------*/
/*--- end ---*/
/*--------------------------------------------------------------------*/
diff -Naur valgrind-3.10.1.orig/coregrind/m_syswrap/syscall-x86-linux.S valgrind-3.10.1/coregrind/m_syswrap/syscall-x86-linux.S
--- valgrind-3.10.1.orig/coregrind/m_syswrap/syscall-x86-linux.S 2014-11-25 14:41:20.000000000 -0500
+++ valgrind-3.10.1/coregrind/m_syswrap/syscall-x86-linux.S 2014-11-26 13:30:11.840660890 -0500
@@ -165,11 +165,11 @@
ML_(blksys_finished): .long 5b
.previous
+#endif // defined(VGP_x86_linux)
+
/* Let the linker know we don't need an executable stack */
.section .note.GNU-stack,"",@progbits
-#endif // defined(VGP_x86_linux)
-
/*--------------------------------------------------------------------*/
/*--- end ---*/
/*--------------------------------------------------------------------*/

View File

@ -0,0 +1,37 @@
From: Gregorio Guidi <gregorio.guidi@gmail.com>
Retain the old behavior of the build system even with automake 1.11.2.
Reported-by: Oleg Bulatov <dmage@bk.ru>
X-Gentoo-Bug: 397429
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=397429
X-KDE-Bug: 290719
X-KDE-Bug-URL: https://bugs.kde.org/show_bug.cgi?id=290719
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
diff -Nur valgrind-3.7.0.orig/coregrind/Makefile.am valgrind-3.7.0/coregrind/Makefile.am
--- valgrind-3.7.0.orig/coregrind/Makefile.am 2011-10-27 12:55:06.000000000 +0200
+++ valgrind-3.7.0/coregrind/Makefile.am 2012-01-06 17:23:48.717115986 +0100
@@ -495,7 +495,8 @@
m_gdbserver/powerpc-altivec64l.xml
# so as to make sure these get copied into the install tree
-pkglib_DATA = $(GDBSERVER_XML_FILES)
+vgdatadir = $(pkglibdir)
+vgdata_DATA = $(GDBSERVER_XML_FILES)
# so as to make sure these get copied into the tarball
EXTRA_DIST += $(GDBSERVER_XML_FILES)
diff -Nur valgrind-3.7.0.orig/Makefile.am valgrind-3.7.0/Makefile.am
--- valgrind-3.7.0.orig/Makefile.am 2011-10-26 23:24:45.000000000 +0200
+++ valgrind-3.7.0/Makefile.am 2012-01-06 17:23:17.445114847 +0100
@@ -61,7 +61,8 @@
# default.supp, as it is built from the base .supp files at compile-time.
dist_noinst_DATA = $(SUPP_FILES)
-pkglib_DATA = default.supp
+vgdatadir = $(pkglibdir)
+vgdata_DATA = default.supp
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = valgrind.pc

View File

@ -0,0 +1,35 @@
Index: configure.in
===================================================================
--- configure.in (revision 12273)
+++ configure.in (revision 12274)
@@ -98,18 +98,21 @@
# We don't want gcc < 3.0
AC_MSG_CHECKING([for a supported version of gcc])
-# Try to get the gcc version, sed-ing out some unexpected stuff
-# that appears with the default gcc on OSX 10.6 and 10.7 respectively.
-# Without this, the version number comes out as 686, 10 or 11 :-(
+# Obtain the compiler version.
#
-# i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
-# i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
+# A few examples of how the ${CC} --version output looks like:
#
+# Arch Linux: i686-pc-linux-gnu-gcc (GCC) 4.6.2
+# Debian Linux: gcc (Debian 4.3.2-1.1) 4.3.2
+# openSUSE: gcc (SUSE Linux) 4.5.1 20101208 [gcc-4_5-branch revision 167585]
+# Exherbo Linux: x86_64-pc-linux-gnu-gcc (Exherbo gcc-4.6.2) 4.6.2
+# OS/X 10.6: i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
+# OS/X 10.7: i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
+# Clang: clang version 2.9 (tags/RELEASE_29/final)
+#
[gcc_version=`${CC} --version \
- | head -n 1 \
- | $SED 's/i686-apple-darwin10//' \
- | $SED 's/i686-apple-darwin11//' \
- | $SED 's/^[^0-9]*\([0-9.]*\).*$/\1/'`]
+ | $SED -n -e 's/[^ ]*gcc[^ ]* ([^)]*) \([0-9.]*\).*$/\1/p' \
+ -e 's/[^ ]*clang version \([0-9.]*\).*$/\1/p'`]
is_clang="notclang"
if test "x`${CC} --version | head -n 1 | $SED 's/\(clang\) version.*/\1/'`" = "xclang" ; then

View File

@ -0,0 +1,26 @@
diff -Naur valgrind-3.7.0.orig//configure.in valgrind-3.7.0/configure.in
--- valgrind-3.7.0.orig//configure.in 2012-01-14 17:49:13.000000000 -0500
+++ valgrind-3.7.0/configure.in 2012-01-14 18:13:45.000000000 -0500
@@ -778,6 +778,13 @@
DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
;;
+ 2.15)
+ AC_MSG_RESULT(2.15 family)
+ AC_DEFINE([GLIBC_2_15], 1, [Define to 1 if you're using glibc 2.15.x])
+ DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}"
+ DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
+ DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
+ ;;
darwin)
AC_MSG_RESULT(Darwin)
AC_DEFINE([DARWIN_LIBC], 1, [Define to 1 if you're using Darwin])
@@ -791,7 +798,7 @@
*)
AC_MSG_RESULT([unsupported version ${GLIBC_VERSION}])
- AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.14])
+ AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.15])
AC_MSG_ERROR([or Darwin libc])
;;
esac

View File

@ -0,0 +1,143 @@
diff -Naur valgrind-3.7.0.orig//coregrind/Makefile.am valgrind-3.7.0/coregrind/Makefile.am
--- valgrind-3.7.0.orig//coregrind/Makefile.am 2011-11-10 20:02:47.000000000 -0500
+++ valgrind-3.7.0/coregrind/Makefile.am 2011-11-10 20:03:00.000000000 -0500
@@ -292,14 +292,6 @@
m_demangle/demangle.c \
m_demangle/dyn-string.c \
m_demangle/safe-ctype.c \
- m_dispatch/dispatch-x86-linux.S \
- m_dispatch/dispatch-amd64-linux.S \
- m_dispatch/dispatch-ppc32-linux.S \
- m_dispatch/dispatch-ppc64-linux.S \
- m_dispatch/dispatch-arm-linux.S \
- m_dispatch/dispatch-s390x-linux.S \
- m_dispatch/dispatch-x86-darwin.S \
- m_dispatch/dispatch-amd64-darwin.S \
m_gdbserver/m_gdbserver.c \
m_gdbserver/inferiors.c \
m_gdbserver/m_gdbserver.c \
@@ -322,8 +314,6 @@
m_initimg/initimg-pathscan.c \
m_mach/mach_basics.c \
m_mach/mach_msg.c \
- m_mach/mach_traps-x86-darwin.S \
- m_mach/mach_traps-amd64-darwin.S \
m_replacemalloc/replacemalloc_core.c \
m_scheduler/scheduler.c \
m_scheduler/sema.c \
@@ -335,14 +325,6 @@
m_sigframe/sigframe-s390x-linux.c \
m_sigframe/sigframe-x86-darwin.c \
m_sigframe/sigframe-amd64-darwin.c \
- m_syswrap/syscall-x86-linux.S \
- m_syswrap/syscall-amd64-linux.S \
- m_syswrap/syscall-ppc32-linux.S \
- m_syswrap/syscall-ppc64-linux.S \
- m_syswrap/syscall-arm-linux.S \
- m_syswrap/syscall-s390x-linux.S \
- m_syswrap/syscall-x86-darwin.S \
- m_syswrap/syscall-amd64-darwin.S \
m_syswrap/syswrap-main.c \
m_syswrap/syswrap-generic.c \
m_syswrap/syswrap-linux.c \
@@ -361,6 +343,29 @@
m_ume/main.c \
m_ume/script.c
+COREGRIND_SOURCES_COMMON += \
+ m_dispatch/dispatch-@VGCONF_ARCH_PRI@-@VGCONF_OS@.S \
+ m_syswrap/syscall-@VGCONF_ARCH_PRI@-@VGCONF_OS@.S
+
+if VGCONF_HAVE_PLATFORM_SEC
+COREGRIND_SOURCES_COMMON += \
+ m_dispatch/dispatch-@VGCONF_ARCH_SEC@-@VGCONF_OS@.S \
+ m_syswrap/syscall-@VGCONF_ARCH_SEC@-@VGCONF_OS@.S
+endif
+
+if VGCONF_OS_IS_DARWIN
+COREGRIND_SOURCES_COMMON += \
+ m_dispatch/dispatch-@VGCONF_ARCH_PRI@-darwin.S \
+ m_syswrap/syscall-@VGCONF_ARCH_PRI@-darwin.S \
+ m_mach/mach_traps-@VGCONF_ARCH_PRI@-darwin.S
+if VGCONF_HAVE_PLATFORM_SEC
+COREGRIND_SOURCES_COMMON += \
+ m_dispatch/dispatch-@VGCONF_ARCH_SEC@-darwin.S \
+ m_syswrap/syscall-@VGCONF_ARCH_SEC@-darwin.S \
+ m_mach/mach_traps-@VGCONF_ARCH_SEC@-darwin.S
+endif
+endif
+
libcoregrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_a_SOURCES = \
$(COREGRIND_SOURCES_COMMON)
nodist_libcoregrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_a_SOURCES = \
diff -Naur valgrind-3.7.0.orig//coregrind/m_dispatch/dispatch-amd64-linux.S valgrind-3.7.0/coregrind/m_dispatch/dispatch-amd64-linux.S
--- valgrind-3.7.0.orig//coregrind/m_dispatch/dispatch-amd64-linux.S 2011-10-26 17:24:42.000000000 -0400
+++ valgrind-3.7.0/coregrind/m_dispatch/dispatch-amd64-linux.S 2011-11-10 20:07:40.000000000 -0500
@@ -349,11 +349,11 @@
ret
.size VG_(run_a_noredir_translation), .-VG_(run_a_noredir_translation)
+#endif // defined(VGP_amd64_linux)
+
/* Let the linker know we don't need an executable stack */
.section .note.GNU-stack,"",@progbits
-#endif // defined(VGP_amd64_linux)
-
/*--------------------------------------------------------------------*/
/*--- end ---*/
/*--------------------------------------------------------------------*/
diff -Naur valgrind-3.7.0.orig//coregrind/m_dispatch/dispatch-x86-linux.S valgrind-3.7.0/coregrind/m_dispatch/dispatch-x86-linux.S
--- valgrind-3.7.0.orig//coregrind/m_dispatch/dispatch-x86-linux.S 2011-10-26 17:24:42.000000000 -0400
+++ valgrind-3.7.0/coregrind/m_dispatch/dispatch-x86-linux.S 2011-11-10 20:04:07.000000000 -0500
@@ -320,12 +320,11 @@
ret
.size VG_(run_a_noredir_translation), .-VG_(run_a_noredir_translation)
-
+#endif // defined(VGP_x86_linux)
+
/* Let the linker know we don't need an executable stack */
.section .note.GNU-stack,"",@progbits
-#endif // defined(VGP_x86_linux)
-
/*--------------------------------------------------------------------*/
/*--- end ---*/
/*--------------------------------------------------------------------*/
diff -Naur valgrind-3.7.0.orig//coregrind/m_syswrap/syscall-amd64-linux.S valgrind-3.7.0/coregrind/m_syswrap/syscall-amd64-linux.S
--- valgrind-3.7.0.orig//coregrind/m_syswrap/syscall-amd64-linux.S 2011-11-10 20:02:47.000000000 -0500
+++ valgrind-3.7.0/coregrind/m_syswrap/syscall-amd64-linux.S 2011-11-10 20:03:00.000000000 -0500
@@ -205,11 +205,11 @@
ML_(blksys_finished): .quad 5b
.previous
+#endif // defined(VGP_amd64_linux)
+
/* Let the linker know we don't need an executable stack */
.section .note.GNU-stack,"",@progbits
-#endif // defined(VGP_amd64_linux)
-
/*--------------------------------------------------------------------*/
/*--- end ---*/
/*--------------------------------------------------------------------*/
diff -Naur valgrind-3.7.0.orig//coregrind/m_syswrap/syscall-x86-linux.S valgrind-3.7.0/coregrind/m_syswrap/syscall-x86-linux.S
--- valgrind-3.7.0.orig//coregrind/m_syswrap/syscall-x86-linux.S 2011-11-10 20:02:47.000000000 -0500
+++ valgrind-3.7.0/coregrind/m_syswrap/syscall-x86-linux.S 2011-11-10 20:03:00.000000000 -0500
@@ -164,12 +164,12 @@
ML_(blksys_committed): .long 4b
ML_(blksys_finished): .long 5b
.previous
-
-/* Let the linker know we don't need an executable stack */
-.section .note.GNU-stack,"",@progbits
#endif // defined(VGP_x86_linux)
+/* Let the linker know we don't need an executable stack */
+.section .note.GNU-stack,"",@progbits
+
/*--------------------------------------------------------------------*/
/*--- end ---*/
/*--------------------------------------------------------------------*/

View File

@ -0,0 +1,138 @@
diff -Naur valgrind-3.7.0.orig//coregrind/Makefile.am valgrind-3.7.0/coregrind/Makefile.am
--- valgrind-3.7.0.orig//coregrind/Makefile.am 2011-11-10 20:02:47.000000000 -0500
+++ valgrind-3.7.0/coregrind/Makefile.am 2011-11-10 20:03:00.000000000 -0500
@@ -292,14 +292,6 @@
m_demangle/demangle.c \
m_demangle/dyn-string.c \
m_demangle/safe-ctype.c \
- m_dispatch/dispatch-x86-linux.S \
- m_dispatch/dispatch-amd64-linux.S \
- m_dispatch/dispatch-ppc32-linux.S \
- m_dispatch/dispatch-ppc64-linux.S \
- m_dispatch/dispatch-arm-linux.S \
- m_dispatch/dispatch-s390x-linux.S \
- m_dispatch/dispatch-x86-darwin.S \
- m_dispatch/dispatch-amd64-darwin.S \
m_gdbserver/m_gdbserver.c \
m_gdbserver/inferiors.c \
m_gdbserver/m_gdbserver.c \
@@ -322,8 +314,6 @@
m_initimg/initimg-pathscan.c \
m_mach/mach_basics.c \
m_mach/mach_msg.c \
- m_mach/mach_traps-x86-darwin.S \
- m_mach/mach_traps-amd64-darwin.S \
m_replacemalloc/replacemalloc_core.c \
m_scheduler/scheduler.c \
m_scheduler/sema.c \
@@ -335,14 +325,6 @@
m_sigframe/sigframe-s390x-linux.c \
m_sigframe/sigframe-x86-darwin.c \
m_sigframe/sigframe-amd64-darwin.c \
- m_syswrap/syscall-x86-linux.S \
- m_syswrap/syscall-amd64-linux.S \
- m_syswrap/syscall-ppc32-linux.S \
- m_syswrap/syscall-ppc64-linux.S \
- m_syswrap/syscall-arm-linux.S \
- m_syswrap/syscall-s390x-linux.S \
- m_syswrap/syscall-x86-darwin.S \
- m_syswrap/syscall-amd64-darwin.S \
m_syswrap/syswrap-main.c \
m_syswrap/syswrap-generic.c \
m_syswrap/syswrap-linux.c \
@@ -361,6 +343,24 @@
m_ume/main.c \
m_ume/script.c
+COREGRIND_SOURCES_COMMON += \
+ m_dispatch/dispatch-@VGCONF_ARCH_PRI@-@VGCONF_OS@.S \
+ m_syswrap/syscall-@VGCONF_ARCH_PRI@-@VGCONF_OS@.S
+
+if VGCONF_HAVE_PLATFORM_SEC
+COREGRIND_SOURCES_COMMON += \
+ m_dispatch/dispatch-@VGCONF_ARCH_SEC@-@VGCONF_OS@.S \
+ m_syswrap/syscall-@VGCONF_ARCH_SEC@-@VGCONF_OS@.S
+endif
+
+if VGCONF_OS_IS_DARWIN
+COREGRIND_SOURCES_COMMON += \
+ m_start-@VGCONF_ARCH_PRI@-darwin.S \
+ m_start-@VGCONF_ARCH_SEC@-darwin.S \
+ m_mach/mach_traps-@VGCONF_ARCH_PRI@-darwin.S \
+ m_mach/mach_traps-@VGCONF_ARCH_SEC@-darwin.S
+endif
+
libcoregrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_a_SOURCES = \
$(COREGRIND_SOURCES_COMMON)
nodist_libcoregrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_a_SOURCES = \
diff -Naur valgrind-3.7.0.orig//coregrind/m_dispatch/dispatch-amd64-linux.S valgrind-3.7.0/coregrind/m_dispatch/dispatch-amd64-linux.S
--- valgrind-3.7.0.orig//coregrind/m_dispatch/dispatch-amd64-linux.S 2011-10-26 17:24:42.000000000 -0400
+++ valgrind-3.7.0/coregrind/m_dispatch/dispatch-amd64-linux.S 2011-11-10 20:07:40.000000000 -0500
@@ -349,11 +349,11 @@
ret
.size VG_(run_a_noredir_translation), .-VG_(run_a_noredir_translation)
+#endif // defined(VGP_amd64_linux)
+
/* Let the linker know we don't need an executable stack */
.section .note.GNU-stack,"",@progbits
-#endif // defined(VGP_amd64_linux)
-
/*--------------------------------------------------------------------*/
/*--- end ---*/
/*--------------------------------------------------------------------*/
diff -Naur valgrind-3.7.0.orig//coregrind/m_dispatch/dispatch-x86-linux.S valgrind-3.7.0/coregrind/m_dispatch/dispatch-x86-linux.S
--- valgrind-3.7.0.orig//coregrind/m_dispatch/dispatch-x86-linux.S 2011-10-26 17:24:42.000000000 -0400
+++ valgrind-3.7.0/coregrind/m_dispatch/dispatch-x86-linux.S 2011-11-10 20:04:07.000000000 -0500
@@ -320,12 +320,11 @@
ret
.size VG_(run_a_noredir_translation), .-VG_(run_a_noredir_translation)
-
+#endif // defined(VGP_x86_linux)
+
/* Let the linker know we don't need an executable stack */
.section .note.GNU-stack,"",@progbits
-#endif // defined(VGP_x86_linux)
-
/*--------------------------------------------------------------------*/
/*--- end ---*/
/*--------------------------------------------------------------------*/
diff -Naur valgrind-3.7.0.orig//coregrind/m_syswrap/syscall-amd64-linux.S valgrind-3.7.0/coregrind/m_syswrap/syscall-amd64-linux.S
--- valgrind-3.7.0.orig//coregrind/m_syswrap/syscall-amd64-linux.S 2011-11-10 20:02:47.000000000 -0500
+++ valgrind-3.7.0/coregrind/m_syswrap/syscall-amd64-linux.S 2011-11-10 20:03:00.000000000 -0500
@@ -205,11 +205,11 @@
ML_(blksys_finished): .quad 5b
.previous
+#endif // defined(VGP_amd64_linux)
+
/* Let the linker know we don't need an executable stack */
.section .note.GNU-stack,"",@progbits
-#endif // defined(VGP_amd64_linux)
-
/*--------------------------------------------------------------------*/
/*--- end ---*/
/*--------------------------------------------------------------------*/
diff -Naur valgrind-3.7.0.orig//coregrind/m_syswrap/syscall-x86-linux.S valgrind-3.7.0/coregrind/m_syswrap/syscall-x86-linux.S
--- valgrind-3.7.0.orig//coregrind/m_syswrap/syscall-x86-linux.S 2011-11-10 20:02:47.000000000 -0500
+++ valgrind-3.7.0/coregrind/m_syswrap/syscall-x86-linux.S 2011-11-10 20:03:00.000000000 -0500
@@ -164,12 +164,12 @@
ML_(blksys_committed): .long 4b
ML_(blksys_finished): .long 5b
.previous
-
-/* Let the linker know we don't need an executable stack */
-.section .note.GNU-stack,"",@progbits
#endif // defined(VGP_x86_linux)
+/* Let the linker know we don't need an executable stack */
+.section .note.GNU-stack,"",@progbits
+
/*--------------------------------------------------------------------*/
/*--- end ---*/
/*--------------------------------------------------------------------*/

View File

@ -0,0 +1,26 @@
Index: coregrind/m_main.c
===================================================================
--- coregrind/m_main.c (revision 13287)
+++ coregrind/m_main.c (revision 13288)
@@ -2636,8 +2636,8 @@
From this derive two requirements:
- 1. gcc may emit calls to memcpy and memset to deal with structure
- assignments etc. Since we have chosen to ignore all the
+ 1. gcc may emit calls to memcpy, memmove and memset to deal with
+ structure assignments etc. Since we have chosen to ignore all the
"normal" supporting libraries, we have to provide our own
implementations of them. No problem.
@@ -2651,6 +2651,10 @@
void* memcpy(void *dest, const void *src, SizeT n) {
return VG_(memcpy)(dest,src,n);
}
+void* memmove(void *dest, const void *src, SizeT n);
+void* memmove(void *dest, const void *src, SizeT n) {
+ return VG_(memmove)(dest,src,n);
+}
void* memset(void *s, int c, SizeT n);
void* memset(void *s, int c, SizeT n) {
return VG_(memset)(s,c,n);

View File

@ -0,0 +1,26 @@
diff -Nuar valgrind-3.8.1.orig/configure.in valgrind-3.8.1/configure.in
--- valgrind-3.8.1.orig/configure.in 2012-09-18 15:17:32.000000000 -0400
+++ valgrind-3.8.1/configure.in 2013-02-19 13:00:26.000000000 -0500
@@ -906,6 +906,13 @@
DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
;;
+ 2.17)
+ AC_MSG_RESULT(2.17 family)
+ AC_DEFINE([GLIBC_2_17], 1, [Define to 1 if you're using glibc 2.17.x])
+ DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}"
+ DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
+ DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
+ ;;
darwin)
AC_MSG_RESULT(Darwin)
AC_DEFINE([DARWIN_LIBC], 1, [Define to 1 if you're using Darwin])
@@ -919,7 +926,7 @@
*)
AC_MSG_RESULT([unsupported version ${GLIBC_VERSION}])
- AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.16])
+ AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.17])
AC_MSG_ERROR([or Darwin libc])
;;
esac

View File

@ -0,0 +1,37 @@
diff -Naur valgrind-3.9.0-orig/configure valgrind-3.9.0/configure
--- valgrind-3.9.0-orig/configure 2013-11-01 09:33:32.000000000 +1000
+++ valgrind-3.9.0/configure 2014-02-08 09:28:06.063248544 +1000
@@ -6689,6 +6689,16 @@
DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
;;
+ 2.19)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.19 family" >&5
+$as_echo "2.19 family" >&6; }
+
+$as_echo "#define GLIBC_2_19 1" >>confdefs.h
+
+ DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}"
+ DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
+ DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
+ ;;
darwin)
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Darwin" >&5
$as_echo "Darwin" >&6; }
diff -Naur valgrind-3.9.0-orig/configure.ac valgrind-3.9.0/configure.ac
--- valgrind-3.9.0-orig/configure.ac 2013-11-01 09:28:16.000000000 +1000
+++ valgrind-3.9.0/configure.ac 2014-02-08 09:27:38.870385366 +1000
@@ -918,6 +918,13 @@
DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
;;
+ 2.19)
+ AC_MSG_RESULT(2.19 family)
+ AC_DEFINE([GLIBC_2_19], 1, [Define to 1 if you're using glibc 2.19.x])
+ DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}"
+ DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
+ DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
+ ;;
darwin)
AC_MSG_RESULT(Darwin)
AC_DEFINE([DARWIN_LIBC], 1, [Define to 1 if you're using Darwin])

View File

@ -0,0 +1,144 @@
diff -Naur valgrind-3.9.0.orig/coregrind/Makefile.am valgrind-3.9.0/coregrind/Makefile.am
--- valgrind-3.9.0.orig/coregrind/Makefile.am 2013-10-23 06:50:13.000000000 -0400
+++ valgrind-3.9.0/coregrind/Makefile.am 2013-11-02 19:41:26.984017770 -0400
@@ -309,16 +309,6 @@
m_demangle/demangle.c \
m_demangle/dyn-string.c \
m_demangle/safe-ctype.c \
- m_dispatch/dispatch-x86-linux.S \
- m_dispatch/dispatch-amd64-linux.S \
- m_dispatch/dispatch-ppc32-linux.S \
- m_dispatch/dispatch-ppc64-linux.S \
- m_dispatch/dispatch-arm-linux.S \
- m_dispatch/dispatch-s390x-linux.S \
- m_dispatch/dispatch-mips32-linux.S \
- m_dispatch/dispatch-mips64-linux.S \
- m_dispatch/dispatch-x86-darwin.S \
- m_dispatch/dispatch-amd64-darwin.S \
m_gdbserver/inferiors.c \
m_gdbserver/m_gdbserver.c \
m_gdbserver/regcache.c \
@@ -341,8 +331,6 @@
m_initimg/initimg-pathscan.c \
m_mach/mach_basics.c \
m_mach/mach_msg.c \
- m_mach/mach_traps-x86-darwin.S \
- m_mach/mach_traps-amd64-darwin.S \
m_replacemalloc/replacemalloc_core.c \
m_scheduler/scheduler.c \
m_scheduler/sema.c \
@@ -358,16 +346,6 @@
m_sigframe/sigframe-mips64-linux.c \
m_sigframe/sigframe-x86-darwin.c \
m_sigframe/sigframe-amd64-darwin.c \
- m_syswrap/syscall-x86-linux.S \
- m_syswrap/syscall-amd64-linux.S \
- m_syswrap/syscall-ppc32-linux.S \
- m_syswrap/syscall-ppc64-linux.S \
- m_syswrap/syscall-arm-linux.S \
- m_syswrap/syscall-s390x-linux.S \
- m_syswrap/syscall-mips32-linux.S \
- m_syswrap/syscall-mips64-linux.S \
- m_syswrap/syscall-x86-darwin.S \
- m_syswrap/syscall-amd64-darwin.S \
m_syswrap/syswrap-main.c \
m_syswrap/syswrap-generic.c \
m_syswrap/syswrap-linux.c \
@@ -389,6 +367,29 @@
m_ume/main.c \
m_ume/script.c
+COREGRIND_SOURCES_COMMON += \
+ m_dispatch/dispatch-@VGCONF_ARCH_PRI@-@VGCONF_OS@.S \
+ m_syswrap/syscall-@VGCONF_ARCH_PRI@-@VGCONF_OS@.S
+
+if VGCONF_HAVE_PLATFORM_SEC
+COREGRIND_SOURCES_COMMON += \
+ m_dispatch/dispatch-@VGCONF_ARCH_SEC@-@VGCONF_OS@.S \
+ m_syswrap/syscall-@VGCONF_ARCH_SEC@-@VGCONF_OS@.S
+endif
+
+if VGCONF_OS_IS_DARWIN
+COREGRIND_SOURCES_COMMON += \
+ m_dispatch/dispatch-@VGCONF_ARCH_PRI@-darwin.S \
+ m_syswrap/syscall-@VGCONF_ARCH_PRI@-darwin.S \
+ m_mach/mach_traps-@VGCONF_ARCH_PRI@-darwin.S
+if VGCONF_HAVE_PLATFORM_SEC
+COREGRIND_SOURCES_COMMON += \
+ m_dispatch/dispatch-@VGCONF_ARCH_SEC@-darwin.S \
+ m_syswrap/syscall-@VGCONF_ARCH_SEC@-darwin.S \
+ m_mach/mach_traps-@VGCONF_ARCH_SEC@-darwin.S
+endif
+endif
+
libcoregrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_a_SOURCES = \
$(COREGRIND_SOURCES_COMMON)
nodist_libcoregrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_a_SOURCES = \
diff -Naur valgrind-3.9.0.orig/coregrind/m_dispatch/dispatch-amd64-linux.S valgrind-3.9.0/coregrind/m_dispatch/dispatch-amd64-linux.S
--- valgrind-3.9.0.orig/coregrind/m_dispatch/dispatch-amd64-linux.S 2013-10-23 06:50:09.000000000 -0400
+++ valgrind-3.9.0/coregrind/m_dispatch/dispatch-amd64-linux.S 2013-11-02 19:31:54.688991721 -0400
@@ -249,11 +249,11 @@
.size VG_(disp_run_translations), .-VG_(disp_run_translations)
+#endif // defined(VGP_amd64_linux)
+
/* Let the linker know we don't need an executable stack */
.section .note.GNU-stack,"",@progbits
-#endif // defined(VGP_amd64_linux)
-
/*--------------------------------------------------------------------*/
/*--- end ---*/
/*--------------------------------------------------------------------*/
diff -Naur valgrind-3.9.0.orig/coregrind/m_dispatch/dispatch-x86-linux.S valgrind-3.9.0/coregrind/m_dispatch/dispatch-x86-linux.S
--- valgrind-3.9.0.orig/coregrind/m_dispatch/dispatch-x86-linux.S 2013-10-23 06:50:09.000000000 -0400
+++ valgrind-3.9.0/coregrind/m_dispatch/dispatch-x86-linux.S 2013-11-02 19:31:54.688991721 -0400
@@ -240,11 +240,11 @@
.size VG_(disp_run_translations), .-VG_(disp_run_translations)
+#endif // defined(VGP_x86_linux)
+
/* Let the linker know we don't need an executable stack */
.section .note.GNU-stack,"",@progbits
-#endif // defined(VGP_x86_linux)
-
/*--------------------------------------------------------------------*/
/*--- end ---*/
/*--------------------------------------------------------------------*/
diff -Naur valgrind-3.9.0.orig/coregrind/m_syswrap/syscall-amd64-linux.S valgrind-3.9.0/coregrind/m_syswrap/syscall-amd64-linux.S
--- valgrind-3.9.0.orig/coregrind/m_syswrap/syscall-amd64-linux.S 2013-10-23 06:50:12.000000000 -0400
+++ valgrind-3.9.0/coregrind/m_syswrap/syscall-amd64-linux.S 2013-11-02 19:31:54.689991721 -0400
@@ -205,11 +205,11 @@
ML_(blksys_finished): .quad 5b
.previous
+#endif // defined(VGP_amd64_linux)
+
/* Let the linker know we don't need an executable stack */
.section .note.GNU-stack,"",@progbits
-#endif // defined(VGP_amd64_linux)
-
/*--------------------------------------------------------------------*/
/*--- end ---*/
/*--------------------------------------------------------------------*/
diff -Naur valgrind-3.9.0.orig/coregrind/m_syswrap/syscall-x86-linux.S valgrind-3.9.0/coregrind/m_syswrap/syscall-x86-linux.S
--- valgrind-3.9.0.orig/coregrind/m_syswrap/syscall-x86-linux.S 2013-10-23 06:50:12.000000000 -0400
+++ valgrind-3.9.0/coregrind/m_syswrap/syscall-x86-linux.S 2013-11-02 19:31:54.689991721 -0400
@@ -165,11 +165,11 @@
ML_(blksys_finished): .long 5b
.previous
+#endif // defined(VGP_x86_linux)
+
/* Let the linker know we don't need an executable stack */
.section .note.GNU-stack,"",@progbits
-#endif // defined(VGP_x86_linux)
-
/*--------------------------------------------------------------------*/
/*--- end ---*/
/*--------------------------------------------------------------------*/

View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>blueness@gentoo.org</email>
<name>Anthony G. Basile</name>
</maintainer>
<longdescription>
Valgrind is a GPL'd tool to help you find memory-management problems
in your programs. When a program is run under Valgrind's supervision,
all reads and writes of memory are checked, and calls to
malloc/new/free/delete are intercepted. As a result, Valgrind can
detect problems such as
- Use of uninitialised memory
- Reading/writing memory after it has been free'd
- Reading/writing off the end of malloc'd blocks
- Reading/writing inappropriate areas on the stack
- Memory leaks -- where pointers to malloc'd blocks are lost forever
- Passing of uninitialised and/or unaddressible memory to system calls
- Mismatched use of malloc/new/new [] vs free/delete/delete []
- Some abuses of the POSIX Pthreads API
</longdescription>
</pkgmetadata>

View File

@ -0,0 +1,112 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-3.10.1.ebuild,v 1.7 2015/03/25 13:40:39 ago Exp $
EAPI="4"
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 arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE="mpi"
DEPEND="mpi? ( virtual/mpi )"
RDEPEND="${DEPEND}"
src_prepare() {
# Correct hard coded doc location
sed -i -e "s:doc/valgrind:doc/${PF}:" docs/Makefile.am || die
# Don't force multiarch stuff on OSX, bug #306467
sed -i -e 's:-arch \(i386\|x86_64\)::g' Makefile.all.am || die
# Respect CFLAGS, LDFLAGS
epatch "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch
# Changing Makefile.all.am to disable SSP
epatch "${FILESDIR}"/${PN}-3.7.0-fno-stack-protector.patch
# Yet more local labels, this time for ppc32 & ppc64
epatch "${FILESDIR}"/${PN}-3.6.0-local-labels.patch
# Don't build in empty assembly files for other platforms or we'll get a QA
# warning about executable stacks.
epatch "${FILESDIR}"/${PN}-3.10.1-non-exec-stack.patch
# glibc 2.19 fix
epatch "${FILESDIR}"/${PN}-3.9.0-glibc-2.19.patch
# valgrind works fine on linux-4, bug #543648
epatch "${FILESDIR}"/${PN}-3.10.1-linux-4.patch
# Allow users to test their own patches
epatch_user
# Regenerate autotools files
eautoreconf
}
src_configure() {
local myconf
# Respect ar, bug #468114
tc-export AR
# -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)
# -m64 -mx32 for multilib-portage, bug #398825
# -ggdb3 segmentation fault on startup
filter-flags -fomit-frame-pointer
filter-flags -fpie
filter-flags -fstack-protector
filter-flags -m64 -mx32
replace-flags -ggdb3 -ggdb2
if use amd64 || use ppc64; then
! has_multilib_profile && myconf="${myconf} --enable-only64bit"
fi
# Force bitness on darwin, bug #306467
use x86-macos && myconf="${myconf} --enable-only32bit"
use x64-macos && myconf="${myconf} --enable-only64bit"
# Don't use mpicc unless the user asked for it (bug #258832)
if ! use mpi; then
myconf="${myconf} --without-mpicc"
fi
econf ${myconf}
}
src_install() {
emake DESTDIR="${D}" install
dodoc AUTHORS FAQ.txt NEWS README*
pax-mark m "${ED}"/usr/$(get_libdir)/valgrind/*-*-linux
if [[ ${CHOST} == *-darwin* ]] ; then
# fix install_names on shared libraries, can't turn them into bundles,
# as dyld won't load them any more then, bug #306467
local l
for l in "${ED}"/usr/lib/valgrind/*.so ; do
install_name_tool -id "${EPREFIX}"/usr/lib/valgrind/${l##*/} "${l}"
done
fi
}
pkg_postinst() {
elog "Valgrind will not work if glibc does not have debug symbols."
elog "To fix this you can add splitdebug to FEATURES in make.conf"
elog "and remerge glibc. See:"
elog "https://bugs.gentoo.org/show_bug.cgi?id=214065"
elog "https://bugs.gentoo.org/show_bug.cgi?id=274771"
elog "https://bugs.gentoo.org/show_bug.cgi?id=388703"
}

View File

@ -0,0 +1,109 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-3.7.0-r4.ebuild,v 1.7 2013/04/19 12:11:00 blueness Exp $
EAPI="4"
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 ~x64-macos ~x86-macos"
IUSE="mpi"
DEPEND="mpi? ( virtual/mpi )"
RDEPEND="${DEPEND}"
src_prepare() {
# Correct hard coded doc location
sed -i -e "s:doc/valgrind:doc/${PF}:" docs/Makefile.am || die
# Don't force multiarch stuff on OSX, bug #306467
sed -i -e 's:-arch \(i386\|x86_64\)::g' Makefile.all.am || die
# Respect CFLAGS, LDFLAGS
epatch "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch
# Changing Makefile.all.am to disable SSP
epatch "${FILESDIR}"/${PN}-3.7.0-fno-stack-protector.patch
# Yet more local labels, this time for ppc32 & ppc64
epatch "${FILESDIR}"/${PN}-3.6.0-local-labels.patch
# Don't build in empty assembly files for other platforms or we'll get a QA
# warning about executable stacks.
epatch "${FILESDIR}"/${PN}-3.7.0-non-exec-stack-v2.patch
# Fix the regex to get gcc's version
epatch "${FILESDIR}"/${PN}-3.7.0-fix-gcc-regex.patch
# Fix stricter use of dir variables, bug #397429
epatch "${FILESDIR}"/${PN}-3.7.0-automake-1.11.2.patch
# Fix for glibc 2.15, bug #398921
epatch "${FILESDIR}"/${PN}-3.7.0-glibc-2.15.patch
# Regenerate autotools files
eautoreconf
}
src_configure() {
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)
# -m64 -mx32 for multilib-portage, bug #398825
# -ggdb3 segmentation fault on startup
filter-flags -fomit-frame-pointer
filter-flags -fpie
filter-flags -fstack-protector
filter-flags -m64 -mx32
replace-flags -ggdb3 -ggdb2
if use amd64 || use ppc64; then
! has_multilib_profile && myconf="${myconf} --enable-only64bit"
fi
# Force bitness on darwin, bug #306467
use x86-macos && myconf="${myconf} --enable-only32bit"
use x64-macos && myconf="${myconf} --enable-only64bit"
# Don't use mpicc unless the user asked for it (bug #258832)
if ! use mpi; then
myconf="${myconf} --without-mpicc"
fi
econf ${myconf}
}
src_install() {
emake DESTDIR="${D}" install
dodoc AUTHORS FAQ.txt NEWS README*
pax-mark m "${ED}"/usr/$(get_libdir)/valgrind/*-*-linux
if [[ ${CHOST} == *-darwin* ]] ; then
# fix install_names on shared libraries, can't turn them into bundles,
# as dyld won't load them any more then, bug #306467
local l
for l in "${ED}"/usr/lib/valgrind/*.so ; do
install_name_tool -id "${EPREFIX}"/usr/lib/valgrind/${l##*/} "${l}"
done
fi
}
pkg_postinst() {
elog "Valgrind will not work if glibc does not have debug symbols."
elog "To fix this you can add splitdebug to FEATURES in make.conf"
elog "and remerge glibc. See:"
elog "https://bugs.gentoo.org/show_bug.cgi?id=214065"
elog "https://bugs.gentoo.org/show_bug.cgi?id=274771"
elog "https://bugs.gentoo.org/show_bug.cgi?id=388703"
}

View File

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-3.8.1.ebuild,v 1.1 2012/09/20 20:49:50 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-3.8.1.ebuild,v 1.8 2013/05/26 12:17:05 blueness Exp $
EAPI="4"
inherit autotools eutils flag-o-matic toolchain-funcs multilib pax-utils
@ -11,7 +11,7 @@ SRC_URI="http://www.valgrind.org/downloads/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* amd64 arm ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~x86-macos ~x64-macos"
KEYWORDS="-* amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE="mpi"
DEPEND="mpi? ( virtual/mpi )"
@ -37,6 +37,9 @@ src_prepare() {
# warning about executable stacks.
epatch "${FILESDIR}"/${PN}-3.8.0-non-exec-stack.patch
# Fix for glibc 2.18, bug #458326
epatch "${FILESDIR}"/${PN}-3.8.1-glibc-2.17.patch
# Regenerate autotools files
eautoreconf
}
@ -44,6 +47,9 @@ src_prepare() {
src_configure() {
local myconf
# Respect ar, bug #468114
tc-export AR
# -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
@ -91,10 +97,10 @@ src_install() {
}
pkg_postinst() {
ewarn "Valgrind will not work if glibc does not have debug symbols."
ewarn "To fix this you can add splitdebug to FEATURES in make.conf"
ewarn "and remerge glibc. See:"
ewarn "https://bugs.gentoo.org/show_bug.cgi?id=214065"
ewarn "https://bugs.gentoo.org/show_bug.cgi?id=274771"
ewarn "https://bugs.gentoo.org/show_bug.cgi?id=388703"
elog "Valgrind will not work if glibc does not have debug symbols."
elog "To fix this you can add splitdebug to FEATURES in make.conf"
elog "and remerge glibc. See:"
elog "https://bugs.gentoo.org/show_bug.cgi?id=214065"
elog "https://bugs.gentoo.org/show_bug.cgi?id=274771"
elog "https://bugs.gentoo.org/show_bug.cgi?id=388703"
}

View File

@ -0,0 +1,106 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-3.9.0.ebuild,v 1.5 2014/09/10 11:56:23 blueness Exp $
EAPI="4"
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 arm ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE="mpi"
DEPEND="mpi? ( virtual/mpi )"
RDEPEND="${DEPEND}"
src_prepare() {
# Correct hard coded doc location
sed -i -e "s:doc/valgrind:doc/${PF}:" docs/Makefile.am || die
# Don't force multiarch stuff on OSX, bug #306467
sed -i -e 's:-arch \(i386\|x86_64\)::g' Makefile.all.am || die
# Respect CFLAGS, LDFLAGS
epatch "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch
# Changing Makefile.all.am to disable SSP
epatch "${FILESDIR}"/${PN}-3.7.0-fno-stack-protector.patch
# Yet more local labels, this time for ppc32 & ppc64
epatch "${FILESDIR}"/${PN}-3.6.0-local-labels.patch
# Don't build in empty assembly files for other platforms or we'll get a QA
# warning about executable stacks.
epatch "${FILESDIR}"/${PN}-3.9.0-non-exec-stack.patch
# glibc 2.19 fix
epatch "${FILESDIR}"/${PN}-3.9.0-glibc-2.19.patch
# Regenerate autotools files
eautoreconf
}
src_configure() {
local myconf
# Respect ar, bug #468114
tc-export AR
# -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)
# -m64 -mx32 for multilib-portage, bug #398825
# -ggdb3 segmentation fault on startup
filter-flags -fomit-frame-pointer
filter-flags -fpie
filter-flags -fstack-protector
filter-flags -m64 -mx32
replace-flags -ggdb3 -ggdb2
if use amd64 || use ppc64; then
! has_multilib_profile && myconf="${myconf} --enable-only64bit"
fi
# Force bitness on darwin, bug #306467
use x86-macos && myconf="${myconf} --enable-only32bit"
use x64-macos && myconf="${myconf} --enable-only64bit"
# Don't use mpicc unless the user asked for it (bug #258832)
if ! use mpi; then
myconf="${myconf} --without-mpicc"
fi
econf ${myconf}
}
src_install() {
emake DESTDIR="${D}" install
dodoc AUTHORS FAQ.txt NEWS README*
pax-mark m "${ED}"/usr/$(get_libdir)/valgrind/*-*-linux
if [[ ${CHOST} == *-darwin* ]] ; then
# fix install_names on shared libraries, can't turn them into bundles,
# as dyld won't load them any more then, bug #306467
local l
for l in "${ED}"/usr/lib/valgrind/*.so ; do
install_name_tool -id "${EPREFIX}"/usr/lib/valgrind/${l##*/} "${l}"
done
fi
}
pkg_postinst() {
elog "Valgrind will not work if glibc does not have debug symbols."
elog "To fix this you can add splitdebug to FEATURES in make.conf"
elog "and remerge glibc. See:"
elog "https://bugs.gentoo.org/show_bug.cgi?id=214065"
elog "https://bugs.gentoo.org/show_bug.cgi?id=274771"
elog "https://bugs.gentoo.org/show_bug.cgi?id=388703"
}

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=configure install postinst prepare
DEPEND=mpi? ( virtual/mpi ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
DESCRIPTION=An open-source memory debugger for GNU/Linux
EAPI=4
HOMEPAGE=http://www.valgrind.org
IUSE=mpi
KEYWORDS=-* amd64 arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos
LICENSE=GPL-2
RDEPEND=mpi? ( virtual/mpi )
SLOT=0
SRC_URI=http://www.valgrind.org/downloads/valgrind-3.10.1.tar.bz2
_eclasses_=autotools 999c8f6cf5d91495cb0779588f20716c eutils 9fb270e417e0e83d64ca52586c4a79de flag-o-matic c263990f1b677b0f0be0a3299f179762 libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf pax-utils dfe060cb70d89757fde5c1ff8405e950 toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
_md5_=de85668e10e90a221177ca2e10873670

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=configure install postinst prepare
DEPEND=mpi? ( virtual/mpi ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
DESCRIPTION=An open-source memory debugger for GNU/Linux
EAPI=4
HOMEPAGE=http://www.valgrind.org
IUSE=mpi
KEYWORDS=-* amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos
LICENSE=GPL-2
RDEPEND=mpi? ( virtual/mpi )
SLOT=0
SRC_URI=http://www.valgrind.org/downloads/valgrind-3.7.0.tar.bz2
_eclasses_=autotools 999c8f6cf5d91495cb0779588f20716c eutils 9fb270e417e0e83d64ca52586c4a79de flag-o-matic c263990f1b677b0f0be0a3299f179762 libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf pax-utils dfe060cb70d89757fde5c1ff8405e950 toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
_md5_=5246a10b114061301783edacbc7a9151

View File

@ -4,10 +4,10 @@ DESCRIPTION=An open-source memory debugger for GNU/Linux
EAPI=4
HOMEPAGE=http://www.valgrind.org
IUSE=mpi
KEYWORDS=-* amd64 arm ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~x86-macos ~x64-macos
KEYWORDS=-* amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos
LICENSE=GPL-2
RDEPEND=mpi? ( virtual/mpi )
SLOT=0
SRC_URI=http://www.valgrind.org/downloads/valgrind-3.8.1.tar.bz2
_eclasses_=autotools 999c8f6cf5d91495cb0779588f20716c eutils 9fb270e417e0e83d64ca52586c4a79de flag-o-matic c263990f1b677b0f0be0a3299f179762 libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf pax-utils dfe060cb70d89757fde5c1ff8405e950 toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
_md5_=08c25cbccc93540c402054693ef164d0
_md5_=a20d5606fb5a8ca2483e6034282be6d2

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=configure install postinst prepare
DEPEND=mpi? ( virtual/mpi ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
DESCRIPTION=An open-source memory debugger for GNU/Linux
EAPI=4
HOMEPAGE=http://www.valgrind.org
IUSE=mpi
KEYWORDS=-* amd64 arm ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos
LICENSE=GPL-2
RDEPEND=mpi? ( virtual/mpi )
SLOT=0
SRC_URI=http://www.valgrind.org/downloads/valgrind-3.9.0.tar.bz2
_eclasses_=autotools 999c8f6cf5d91495cb0779588f20716c eutils 9fb270e417e0e83d64ca52586c4a79de flag-o-matic c263990f1b677b0f0be0a3299f179762 libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf pax-utils dfe060cb70d89757fde5c1ff8405e950 toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
_md5_=f0fdf376cf2a5c8f8a6e49a67fe074fe