packages: valgrind/valgrind.spec, valgrind/valgrind-ld_linux_strlen.patch (...
jajcus
jajcus at pld-linux.org
Mon Jan 23 12:37:54 CET 2012
Author: jajcus Date: Mon Jan 23 11:37:54 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- Valgrind insisted on redirecting the 'strlen' symbol in /lib/ld-linux.so.2,
but it seem the symbol is not there on i686 PLD.
valgrind-ld_linux_strlen.patch makes this redirection optional.
---- Files affected:
packages/valgrind:
valgrind.spec (1.85 -> 1.86) , valgrind-ld_linux_strlen.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/valgrind/valgrind.spec
diff -u packages/valgrind/valgrind.spec:1.85 packages/valgrind/valgrind.spec:1.86
--- packages/valgrind/valgrind.spec:1.85 Mon Jan 23 12:07:09 2012
+++ packages/valgrind/valgrind.spec Mon Jan 23 12:37:49 2012
@@ -13,6 +13,7 @@
Patch0: %{name}-debuginfo.patch
Patch1: %{name}-native-cpuid.patch
Patch2: %{name}-automake-1.11.2.patch
+Patch3: %{name}-ld_linux_strlen.patch
URL: http://valgrind.org/
BuildRequires: autoconf
BuildRequires: automake
@@ -53,6 +54,7 @@
%patch0
%patch1 -p1
%patch2 -p0
+%patch3 -p1
sed -i -e 's:^CFLAGS="-Wno-long-long":CFLAGS="$CFLAGS -Wno-long-long":' configure.in
@@ -119,6 +121,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.86 2012/01/23 11:37:49 jajcus
+- Valgrind insisted on redirecting the 'strlen' symbol in /lib/ld-linux.so.2,
+ but it seem the symbol is not there on i686 PLD.
+ valgrind-ld_linux_strlen.patch makes this redirection optional.
+
Revision 1.85 2012/01/23 11:07:09 jajcus
- automake 1.11.2 compatibility patch
- more specific glibc dependency
================================================================
Index: packages/valgrind/valgrind-ld_linux_strlen.patch
diff -u /dev/null packages/valgrind/valgrind-ld_linux_strlen.patch:1.1
--- /dev/null Mon Jan 23 12:37:54 2012
+++ packages/valgrind/valgrind-ld_linux_strlen.patch Mon Jan 23 12:37:49 2012
@@ -0,0 +1,11 @@
+--- valgrind-3.7.0/coregrind/m_redir.c.orig 2012-01-23 12:29:24.000000000 +0100
++++ valgrind-3.7.0/coregrind/m_redir.c 2012-01-23 12:29:47.000000000 +0100
+@@ -1082,7 +1082,7 @@
+ (Addr)&VG_(x86_linux_REDIR_FOR_index), mandatory);
+ add_hardwired_spec(
+ "ld-linux.so.2", "strlen",
+- (Addr)&VG_(x86_linux_REDIR_FOR_strlen), mandatory);
++ (Addr)&VG_(x86_linux_REDIR_FOR_strlen), NULL);
+ }
+
+ # elif defined(VGP_amd64_linux)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/valgrind/valgrind.spec?r1=1.85&r2=1.86&f=u
More information about the pld-cvs-commit
mailing list