1 |
griffon26 09/03/03 18:57:33 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: valgrind-3.4.1.ebuild |
5 |
Log: |
6 |
Added bug-fix release valgrind-3.4.1. |
7 |
(Portage version: 2.1.6.7/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.99 dev-util/valgrind/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/valgrind/ChangeLog?rev=1.99&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/valgrind/ChangeLog?rev=1.99&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/valgrind/ChangeLog?r1=1.98&r2=1.99 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v |
19 |
retrieving revision 1.98 |
20 |
retrieving revision 1.99 |
21 |
diff -u -r1.98 -r1.99 |
22 |
--- ChangeLog 13 Jan 2009 17:24:07 -0000 1.98 |
23 |
+++ ChangeLog 3 Mar 2009 18:57:33 -0000 1.99 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-util/valgrind |
26 |
# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v 1.98 2009/01/13 17:24:07 dertobi123 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v 1.99 2009/03/03 18:57:33 griffon26 Exp $ |
29 |
+ |
30 |
+*valgrind-3.4.1 (03 Mar 2009) |
31 |
+ |
32 |
+ 03 Mar 2009; Maurice van der Pot <griffon26@g.o> |
33 |
+ +valgrind-3.4.1.ebuild: |
34 |
+ Added bug-fix release valgrind-3.4.1. |
35 |
|
36 |
13 Jan 2009; Tobias Scherbaum <dertobi123@g.o> |
37 |
valgrind-3.4.0.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-util/valgrind/valgrind-3.4.1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/valgrind/valgrind-3.4.1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/valgrind/valgrind-3.4.1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: valgrind-3.4.1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-3.4.1.ebuild,v 1.1 2009/03/03 18:57:33 griffon26 Exp $ |
51 |
|
52 |
inherit autotools eutils flag-o-matic toolchain-funcs |
53 |
|
54 |
DESCRIPTION="An open-source memory debugger for GNU/Linux" |
55 |
HOMEPAGE="http://www.valgrind.org" |
56 |
SRC_URI="http://www.valgrind.org/downloads/${P}.tar.bz2" |
57 |
|
58 |
LICENSE="GPL-2" |
59 |
SLOT="0" |
60 |
KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" |
61 |
IUSE="" |
62 |
|
63 |
RDEPEND="!dev-util/callgrind" |
64 |
|
65 |
src_unpack() { |
66 |
unpack ${A} |
67 |
cd "${S}" |
68 |
|
69 |
# make sure our CFLAGS are respected |
70 |
einfo "Changing configure.in to respect CFLAGS" |
71 |
sed -i -e 's:^CFLAGS="-Wno-long-long":CFLAGS="$CFLAGS -Wno-long-long":' configure.in |
72 |
|
73 |
# undefined references to __guard and __stack_smash_handler in VEX (bug #114347) |
74 |
einfo "Changing Makefile.flags.am to disable SSP" |
75 |
sed -i -e 's:^AM_CFLAGS_BASE = :AM_CFLAGS_BASE = -fno-stack-protector :' Makefile.flags.am |
76 |
|
77 |
# Correct hard coded doc location |
78 |
sed -i -e "s:doc/valgrind:doc/${P}:" docs/Makefile.am |
79 |
|
80 |
# Remove defaulting to ppc32-linux on ppc64 without multilib |
81 |
# "valgrind: failed to start tool 'memcheck' for platform 'ppc32-linux': |
82 |
# No such file or directory" |
83 |
if use ppc64 && ! has_multilib_profile; then |
84 |
epatch "${FILESDIR}/valgrind-3.3.0-only64bit.patch" |
85 |
fi |
86 |
|
87 |
# Use local labels in inline asm to prevent 'symbol already defined' errors |
88 |
# when optimisation is on (bug #234644). |
89 |
epatch "${FILESDIR}/valgrind-3.3.1-local-labels.patch" |
90 |
|
91 |
# Regenerate autotools files |
92 |
eautoreconf |
93 |
} |
94 |
|
95 |
src_compile() { |
96 |
local myconf |
97 |
|
98 |
# -fomit-frame-pointer "Assembler messages: Error: junk `8' after expression" |
99 |
# while compiling insn_sse.c in none/tests/x86 |
100 |
# -fpie valgrind seemingly hangs when built with pie on |
101 |
# amd64 (bug #102157) |
102 |
# -fstack-protector more undefined references to __guard and __stack_smash_handler |
103 |
# because valgrind doesn't link to glibc (bug #114347) |
104 |
# -ggdb3 segmentation fault on startup |
105 |
filter-flags -fomit-frame-pointer |
106 |
filter-flags -fpie |
107 |
filter-flags -fstack-protector |
108 |
replace-flags -ggdb3 -ggdb2 |
109 |
|
110 |
# gcc 3.3.x fails to compile valgrind with -O3 (bug #129776) |
111 |
if [ "$(gcc-version)" == "3.3" ] && is-flagq -O3; then |
112 |
ewarn "GCC 3.3 cannot compile valgrind with -O3 in CFLAGS, using -O2 instead." |
113 |
replace-flags -O3 -O2 |
114 |
fi |
115 |
|
116 |
if use amd64 || use ppc64; then |
117 |
! has_multilib_profile && myconf="${myconf} --enable-only64bit" |
118 |
fi |
119 |
|
120 |
econf ${myconf} --without-mpicc || die "Configure failed!" |
121 |
emake || die "Make failed!" |
122 |
} |
123 |
|
124 |
src_install() { |
125 |
make DESTDIR="${D}" install || die "Install failed!" |
126 |
dodoc ACKNOWLEDGEMENTS AUTHORS FAQ.txt NEWS README* |
127 |
} |
128 |
|
129 |
pkg_postinst() { |
130 |
if use ppc || use ppc64 ; then |
131 |
ewarn "Valgrind will not work on ppc or ppc64 if glibc does not have" |
132 |
ewarn "debug symbols (see https://bugs.gentoo.org/show_bug.cgi?id=214065)" |
133 |
ewarn "To fix this you can add splitdebug to FEATURES in make.conf and" |
134 |
ewarn "remerge glibc." |
135 |
fi |
136 |
} |