[arch-commits] Commit in valgrind/repos (3 files)
Allan McRae
allan at archlinux.org
Sat Sep 5 08:51:06 UTC 2009
Date: Saturday, September 5, 2009 @ 04:51:06
Author: allan
Revision: 51122
Merged revisions 51114 via svnmerge from
svn+ssh://gerolde.archlinux.org/srv/svn-packages/valgrind/trunk
........
r51114 | allan | 2009-09-05 18:30:23 +1000 (Sat, 05 Sep 2009) | 2 lines
upgpkg: valgrind 3.5.0-1
upstream update
........
Modified:
valgrind/repos/extra-x86_64/ (properties)
valgrind/repos/extra-x86_64/PKGBUILD
Deleted:
valgrind/repos/extra-x86_64/valgrind-3.4.1-x86_64-ldso-strlen.patch
-----------------------------------------+
PKGBUILD | 16 +----
valgrind-3.4.1-x86_64-ldso-strlen.patch | 82 ------------------------------
2 files changed, 5 insertions(+), 93 deletions(-)
Property changes on: valgrind/repos/extra-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
- /valgrind/trunk:1-39914
+ /valgrind/trunk:1-51121
Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2009-09-05 08:50:04 UTC (rev 51121)
+++ extra-x86_64/PKGBUILD 2009-09-05 08:51:06 UTC (rev 51122)
@@ -2,26 +2,20 @@
# Maintainer: Dan McGee <dan at archlinux.org>
pkgname=valgrind
-pkgver=3.4.1
-pkgrel=3
+pkgver=3.5.0
+pkgrel=1
pkgdesc="A tool to help find memory-management problems in programs"
arch=('i686' 'x86_64')
license=('GPL')
url="http://valgrind.org/"
-depends=('glibc>=2.10' 'glibc<2.11' 'perl')
+depends=('glibc>=2.10.1' 'glibc<2.11' 'perl')
options=(!emptydirs)
-source=(http://valgrind.org/downloads/${pkgname}-${pkgver}.tar.bz2
- valgrind-3.4.1-x86_64-ldso-strlen.patch)
-md5sums=('b5f039dd2271aaf9ae570ab4116f87c7'
- 'd35029d80ee6f10071cab9bc8c799042')
-sha256sums=('669ee7aab8a3a905520159b6d7be35d3911e1a4d7a67d90dc1c12c00693184a9'
- '96786190dcfe60253295aeaea3a3b7ad2688779a538a09e331134ba077fe3072')
+source=(http://valgrind.org/downloads/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('f03522a4687cf76c676c9494fcc0a517')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
- patch -Np1 -i ${srcdir}/valgrind-3.4.1-x86_64-ldso-strlen.patch || return 1
-
# make sure our CFLAGS are respected
sed -i -e 's:^CFLAGS="-Wno-long-long":CFLAGS="$CFLAGS -Wno-long-long":' configure.in
Deleted: extra-x86_64/valgrind-3.4.1-x86_64-ldso-strlen.patch
===================================================================
--- extra-x86_64/valgrind-3.4.1-x86_64-ldso-strlen.patch 2009-09-05 08:50:04 UTC (rev 51121)
+++ extra-x86_64/valgrind-3.4.1-x86_64-ldso-strlen.patch 2009-09-05 08:51:06 UTC (rev 51122)
@@ -1,82 +0,0 @@
---- valgrind/coregrind/pub_core_trampoline.h.jj 2009-04-22 12:10:54.000000000 +0200
-+++ valgrind/coregrind/pub_core_trampoline.h 2009-04-22 14:50:39.000000000 +0200
-@@ -66,6 +66,7 @@ extern Char* VG_(x86_linux_REDIR_FOR_ind
- extern void VG_(amd64_linux_SUBST_FOR_rt_sigreturn);
- extern void VG_(amd64_linux_REDIR_FOR_vgettimeofday);
- extern void VG_(amd64_linux_REDIR_FOR_vtime);
-+extern UInt VG_(amd64_linux_REDIR_FOR_strlen)( void* );
- #endif
-
- #if defined(VGP_ppc32_linux)
---- valgrind/coregrind/m_redir.c.jj 2009-04-22 12:10:54.000000000 +0200
-+++ valgrind/coregrind/m_redir.c 2009-04-22 15:32:19.000000000 +0200
-@@ -879,6 +879,20 @@ void VG_(redir_initialise) ( void )
- (Addr)&VG_(amd64_linux_REDIR_FOR_vtime)
- );
-
-+ /* If we're using memcheck, use these intercepts right from
-+ the start, otherwise ld.so makes a lot of noise. */
-+ if (0==VG_(strcmp)("Memcheck", VG_(details).name)) {
-+
-+ static const HChar croakage[]
-+ = "Possible fix: install glibc's debuginfo package on this machine.";
-+
-+ /* this is mandatory - can't sanely continue without it */
-+ add_hardwired_spec(
-+ "ld-linux-x86-64.so.2", "strlen",
-+ (Addr)&VG_(amd64_linux_REDIR_FOR_strlen),
-+ croakage
-+ );
-+ }
- # elif defined(VGP_ppc32_linux)
- {
- static const HChar croakage[]
---- valgrind/coregrind/m_trampoline.S.jj 2009-04-22 12:10:54.000000000 +0200
-+++ valgrind/coregrind/m_trampoline.S 2009-04-22 15:18:37.000000000 +0200
-@@ -174,7 +174,29 @@ VG_(amd64_linux_REDIR_FOR_vtime):
- .LfnE3:
- .size VG_(amd64_linux_REDIR_FOR_vtime), .-.LfnB3
-
--/* A CIE for the above two functions, followed by their FDEs */
-+/* There's no particular reason that this needs to be handwritten
-+ assembly, but since that's what this file contains, here's a
-+ simple strlen implementation (written in C and compiled by gcc.)
-+*/
-+.global VG_(amd64_linux_REDIR_FOR_strlen)
-+.type VG_(amd64_linux_REDIR_FOR_strlen), @function
-+VG_(amd64_linux_REDIR_FOR_strlen):
-+.LfnB4:
-+ xorl %eax, %eax
-+ cmpb $0, (%rdi)
-+ movq %rdi, %rdx
-+ je .L41
-+.L40: addq $1, %rdx
-+ cmpb $0, (%rdx)
-+ jne .L40
-+ movq %rdx, %rax
-+ subq %rdi, %rax
-+.L41: ret
-+.LfnE4:
-+.size VG_(amd64_linux_REDIR_FOR_strlen), .-VG_(amd64_linux_REDIR_FOR_strlen)
-+
-+
-+/* A CIE for the above three functions, followed by their FDEs */
- .section .eh_frame,"a", at progbits
- .Lframe1:
- .long .LEcie1-.LScie1
-@@ -212,6 +234,15 @@ VG_(amd64_linux_REDIR_FOR_vtime):
- .uleb128 0x0
- .align 8
- .LEfde3:
-+.LSfde4:
-+ .long .LEfde4-.LASfde4
-+.LASfde4:
-+ .long .LASfde4-.Lframe1
-+ .long .LfnB4
-+ .long .LfnE4-.LfnB4
-+ .uleb128 0x0
-+ .align 8
-+.LEfde4:
- .previous
-
- .global VG_(trampoline_stuff_end)
More information about the arch-commits
mailing list