[mpich] 01/02: Disable LL/SC ABA test, as it fails on armhf. (Closes: #722007)
Anton Gladky
gladk at alioth.debian.org
Tue Oct 1 13:06:05 UTC 2013
This is an automated email from the git hooks/post-receive script.
gladk pushed a commit to branch master
in repository mpich.
commit 418fc263a1314ca9f680112ca28b68eb98e9f96e
Author: Anton Gladky <gladky.anton at gmail.com>
Date: Mon Sep 30 22:42:58 2013 +0200
Disable LL/SC ABA test, as it fails on armhf. (Closes: #722007)
---
debian/patches/diable_LLSC-ABA_test.patch | 44 +++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 45 insertions(+)
diff --git a/debian/patches/diable_LLSC-ABA_test.patch b/debian/patches/diable_LLSC-ABA_test.patch
new file mode 100644
index 0000000..8247164
--- /dev/null
+++ b/debian/patches/diable_LLSC-ABA_test.patch
@@ -0,0 +1,44 @@
+Description: disable LL/SC ABA test, as it fails on armhf
+Bug-Debian: http://bugs.debian.org/722007
+Author: Anton Gladky <gladk at debian.org>
+Last-Update: 2013-09-30
+
+--- mpich-3.0.4.orig/src/openpa/test/test_primitives.c
++++ mpich-3.0.4/src/openpa/test/test_primitives.c
+@@ -3912,6 +3912,7 @@ static void *threaded_llsc_int_aba_helpe
+ */
+ static int test_threaded_llsc_int_aba(void)
+ {
++#if 0
+ #if defined(OPA_HAVE_PTHREAD_H) && defined(OPA_LL_SC_SUPPORTED)
+ pthread_t thread; /* Thread */
+ pthread_attr_t ptattr; /* Thread attributes */
+@@ -3977,6 +3978,7 @@ error:
+ thread_data.nunchanged_val);
+ return 1;
+ #endif /* OPA_HAVE_PTHREAD_H && OPA_LL_SC_SUPPORTED */
++#endif
+ } /* end test_threaded_llsc_int_aba() */
+
+
+@@ -4141,6 +4143,7 @@ static void *threaded_llsc_ptr_aba_helpe
+ */
+ static int test_threaded_llsc_ptr_aba(void)
+ {
++#if 0
+ #if defined(OPA_HAVE_PTHREAD_H) && defined(OPA_LL_SC_SUPPORTED)
+ pthread_t thread; /* Thread */
+ pthread_attr_t ptattr; /* Thread attributes */
+@@ -4206,9 +4209,12 @@ error:
+ thread_data.nunchanged_val);
+ return 1;
+ #endif /* OPA_HAVE_PTHREAD_H && OPA_LL_SC_SUPPORTED */
++#endif
+ } /* end test_threaded_llsc_ptr_aba() */
+
+
++
++
+ #if defined(OPA_HAVE_PTHREAD_H) && defined(OPA_LL_SC_SUPPORTED)
+ /*-------------------------------------------------------------------------
+ * Function: threaded_llsc_int_stack_push
diff --git a/debian/patches/series b/debian/patches/series
index 55ee200..89687f3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
lintian-hyphen-used-as-minus.diff
+diable_LLSC-ABA_test.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mpich.git
More information about the debian-science-commits
mailing list