From 38813174b2648597bd3ae86289fd1866edf5c6d4 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 20 Jul 2016 23:28:41 +0200 Subject: valgrind: update to the latest version, fix build issues on ARM Signed-off-by: Felix Fietkau --- package/devel/valgrind/patches/200-musl_fix.patch | 24 +++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'package/devel/valgrind/patches/200-musl_fix.patch') diff --git a/package/devel/valgrind/patches/200-musl_fix.patch b/package/devel/valgrind/patches/200-musl_fix.patch index e61e822b25..23d74e0caf 100644 --- a/package/devel/valgrind/patches/200-musl_fix.patch +++ b/package/devel/valgrind/patches/200-musl_fix.patch @@ -6,21 +6,21 @@ { -# if !defined(__UCLIBC__) \ +# if !defined(__UCLIBC__) && defined(__GLIBC__) \ - && !defined(VGPV_arm_linux_android) && !defined(VGPV_x86_linux_android) \ - && !defined(VGPV_mips32_linux_android) - extern void __libc_freeres(void); + && !defined(VGPV_arm_linux_android) \ + && !defined(VGPV_x86_linux_android) \ + && !defined(VGPV_mips32_linux_android) \ --- a/include/pub_tool_redir.h +++ b/include/pub_tool_redir.h -@@ -241,7 +241,7 @@ +@@ -242,7 +242,7 @@ /* --- Soname of the standard C library. --- */ - #if defined(VGO_linux) + #if defined(VGO_linux) || defined(VGO_solaris) -# define VG_Z_LIBC_SONAME libcZdsoZa // libc.so* +# define VG_Z_LIBC_SONAME libcZdZa // libc.* #elif defined(VGO_darwin) && (DARWIN_VERS <= DARWIN_10_6) # define VG_Z_LIBC_SONAME libSystemZdZaZddylib // libSystem.*.dylib -@@ -273,7 +273,11 @@ +@@ -274,7 +274,11 @@ /* --- Soname of the pthreads library. --- */ #if defined(VGO_linux) @@ -31,15 +31,15 @@ +# endif #elif defined(VGO_darwin) # define VG_Z_LIBPTHREAD_SONAME libSystemZdZaZddylib // libSystem.*.dylib - #else + #elif defined(VGO_solaris) --- a/configure.ac +++ b/configure.ac -@@ -1025,8 +1025,6 @@ case "${GLIBC_VERSION}" in - - *) +@@ -1066,8 +1066,6 @@ case "${GLIBC_VERSION}" in + ;; + 2.0|2.1|*) AC_MSG_RESULT([unsupported version ${GLIBC_VERSION}]) -- AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.19]) -- AC_MSG_ERROR([or Darwin or Bionic libc]) +- AC_MSG_ERROR([Valgrind requires glibc version 2.2 or later,]) +- AC_MSG_ERROR([Darwin libc, Bionic libc or Solaris libc]) ;; esac -- cgit v1.2.3