[curl/f14/master] work around glibc/valgrind problem on x86_64 (#626470)

Kamil Dudka kdudka at fedoraproject.org
Mon Aug 23 19:13:01 UTC 2010


commit b7735ecf63942037990f1cd82c6536dfea36df61
Author: Kamil Dudka <kdudka at redhat.com>
Date:   Mon Aug 23 20:50:25 2010 +0200

    work around glibc/valgrind problem on x86_64 (#626470)

 curl.spec |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/curl.spec b/curl.spec
index c9b3c7b..d0ffd06 100644
--- a/curl.spec
+++ b/curl.spec
@@ -155,6 +155,12 @@ sed -i s/899\\\([0-9]\\\)/%{?__isa_bits}9\\1/ tests/data/test*
 # uncomment to turn off optimizations
 # find -name Makefile | xargs sed -i 's/-O2/-O0/'
 
+# either glibc's implementation of strcasecmp() or its interpretation
+# by valgrind seems to be broken on x86_64 (#626470)
+%ifarch x86_64
+sed -i 's/HAVE_STRCASECMP/HAVE_BROKEN_STRCASECMP/' lib/curl_config.h
+%endif
+
 # Remove bogus rpath
 sed -i \
     -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
@@ -243,6 +249,7 @@ rm -rf $RPM_BUILD_ROOT
 - fix kerberos proxy authentication for https (#625676)
 - fix curl -J to chop filename at next semicolon (upstream commit d76874a)
 - avoid failure of test575 with threaded DNS resolver (upstream commit d63bdba)
+- work around glibc/valgrind problem on x86_64 (#626470)
 
 * Mon Jul 12 2010 Dan Horák <dan[at]danny.cz> 7.21.0-3
 - disable test 575 on s390(x)


More information about the scm-commits mailing list