1 |
griffon26 07/10/20 17:44:40 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: valgrind-3.2.3-r1.ebuild |
5 |
Log: |
6 |
Copied valgrind-3.2.3 to 3.2.3-r1 to force upgrade to a version with a fix for bug #189396. |
7 |
(Portage version: 2.1.3.12) |
8 |
|
9 |
Revision Changes Path |
10 |
1.80 dev-util/valgrind/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/valgrind/ChangeLog?rev=1.80&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/valgrind/ChangeLog?rev=1.80&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/valgrind/ChangeLog?r1=1.79&r2=1.80 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v |
19 |
retrieving revision 1.79 |
20 |
retrieving revision 1.80 |
21 |
diff -u -r1.79 -r1.80 |
22 |
--- ChangeLog 26 Aug 2007 09:32:34 -0000 1.79 |
23 |
+++ ChangeLog 20 Oct 2007 17:44:40 -0000 1.80 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for dev-util/valgrind |
26 |
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v 1.79 2007/08/26 09:32:34 griffon26 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v 1.80 2007/10/20 17:44:40 griffon26 Exp $ |
29 |
+ |
30 |
+*valgrind-3.2.3-r1 (20 Oct 2007) |
31 |
+ |
32 |
+ 20 Oct 2007; Maurice van der Pot <griffon26@g.o> |
33 |
+ +valgrind-3.2.3-r1.ebuild: |
34 |
+ Copied 3.2.3 ebuild to 3.2.3-r1, because there were still people who hadn't |
35 |
+ remerged 3.2.3 and spent time looking for a solution to bug #189396. |
36 |
|
37 |
26 Aug 2007; Maurice van der Pot <griffon26@g.o> |
38 |
+files/valgrind-3.2.3-unhandled-instr-amd64.patch, valgrind-3.2.3.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-util/valgrind/valgrind-3.2.3-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/valgrind/valgrind-3.2.3-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/valgrind/valgrind-3.2.3-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: valgrind-3.2.3-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2007 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-3.2.3-r1.ebuild,v 1.1 2007/10/20 17:44:40 griffon26 Exp $ |
52 |
|
53 |
inherit autotools eutils flag-o-matic toolchain-funcs |
54 |
|
55 |
DESCRIPTION="An open-source memory debugger for GNU/Linux" |
56 |
HOMEPAGE="http://www.valgrind.org" |
57 |
SRC_URI="http://www.valgrind.org/downloads/${P}.tar.bz2" |
58 |
|
59 |
LICENSE="GPL-2" |
60 |
SLOT="0" |
61 |
KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" |
62 |
IUSE="X" |
63 |
|
64 |
# bug #49147 (bogus stacktrace in gdb with --db-attach=yes) does not seem to be applicable anymore |
65 |
#RESTRICT="strip" |
66 |
|
67 |
RDEPEND="!dev-util/callgrind" |
68 |
|
69 |
src_unpack() { |
70 |
unpack ${A} |
71 |
cd "${S}" |
72 |
|
73 |
# make sure our CFLAGS are respected |
74 |
einfo "Changing configure.in to respect CFLAGS" |
75 |
sed -i -e 's:^CFLAGS="-Wno-long-long":CFLAGS="$CFLAGS -Wno-long-long":' configure.in |
76 |
|
77 |
# undefined references to __guard and __stack_smash_handler in VEX (bug #114347) |
78 |
einfo "Changing Makefile.flags.am to disable SSP" |
79 |
sed -i -e 's:^AM_CFLAGS_BASE = :AM_CFLAGS_BASE = -fno-stack-protector :' Makefile.flags.am |
80 |
|
81 |
# Correct hard coded doc location |
82 |
sed -i -e "s:doc/valgrind:doc/${P}:" docs/Makefile.am |
83 |
|
84 |
# Fix incorrect --libs output in valgrind.pc (bug #147904) |
85 |
epatch "${FILESDIR}/${P}-pkg-config.patch" |
86 |
|
87 |
# Remove defaulting to ppc32-linux on ppc64 without multilib |
88 |
# "valgrind: failed to start tool 'memcheck' for platform 'ppc32-linux': |
89 |
# No such file or directory" |
90 |
if use ppc64 && ! has_multilib_profile; then |
91 |
epatch "${FILESDIR}/valgrind-3.2.1-only64bit.patch" |
92 |
fi |
93 |
|
94 |
epatch "${FILESDIR}/${P}-glibc-2.6.patch" |
95 |
|
96 |
# Prevent "unhandled instruction bytes: 0x66 0x66 0x66 0x66" (bug #189396) |
97 |
epatch "${FILESDIR}/${P}-unhandled-instr-amd64.patch" |
98 |
|
99 |
# Regenerate autotools files |
100 |
eautoreconf |
101 |
} |
102 |
|
103 |
src_compile() { |
104 |
local myconf |
105 |
|
106 |
# -fomit-frame-pointer "Assembler messages: Error: junk `8' after expression" |
107 |
# while compiling insn_sse.c in none/tests/x86 |
108 |
# -fpie valgrind seemingly hangs when built with pie on |
109 |
# amd64 (bug #102157) |
110 |
# -fstack-protector more undefined references to __guard and __stack_smash_handler |
111 |
# because valgrind doesn't link to glibc (bug #114347) |
112 |
# -ggdb3 segmentation fault on startup |
113 |
filter-flags -fomit-frame-pointer |
114 |
filter-flags -fpie |
115 |
filter-flags -fstack-protector |
116 |
replace-flags -ggdb3 -ggdb2 |
117 |
|
118 |
# gcc 3.3.x fails to compile valgrind with -O3 (bug #129776) |
119 |
if [ "$(gcc-version)" == "3.3" ] && is-flagq -O3; then |
120 |
ewarn "GCC 3.3 cannot compile valgrind with -O3 in CFLAGS, using -O2 instead." |
121 |
replace-flags -O3 -O2 |
122 |
fi |
123 |
|
124 |
# Optionally build in X suppression files |
125 |
use X && myconf="--with-x" || myconf="--with-x=no" |
126 |
|
127 |
if use amd64 || use ppc64; then |
128 |
! has_multilib_profile && myconf="${myconf} --enable-only64bit" |
129 |
fi |
130 |
|
131 |
econf ${myconf} || die "Configure failed!" |
132 |
emake || die "Make failed!" |
133 |
} |
134 |
|
135 |
src_install() { |
136 |
make DESTDIR="${D}" install || die "Install failed!" |
137 |
dodoc ACKNOWLEDGEMENTS AUTHORS FAQ.txt NEWS README* |
138 |
} |
139 |
|
140 |
|
141 |
|
142 |
-- |
143 |
gentoo-commits@g.o mailing list |