From: Thibaut Paumard Date: Mon, 21 Sep 2020 20:29:06 +0000 (+0100) Subject: fix test-suite to build on ppc64el X-Git-Tag: archive/raspbian/4.0.5-5+rpi1^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=cb9cf9899e54733a5e8cfddf13e30fbae4988ccc;p=openmpi.git fix test-suite to build on ppc64el Origin: Vendor Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848218 Forwarded: no Last-Update: 2016-12-15 Test suite hangs on ppc64el. This is due to a bug in test/class/opal_fifo.c. thread_test() must end with pthread_exit(NULL), not return NULL. Last-Update: 2016-12-15 Gbp-Pq: Name opal_fifo.patch --- diff --git a/test/class/opal_fifo.c b/test/class/opal_fifo.c index 122524a8..ca9cb7e1 100644 --- a/test/class/opal_fifo.c +++ b/test/class/opal_fifo.c @@ -63,7 +63,7 @@ static void *thread_test (void *arg) { printf ("Atomics thread finished. Time: %d s %d us %d nsec/poppush\n", (int) total.tv_sec, (int)total.tv_usec, (int)(timing / 1e-9)); - return NULL; + pthread_exit(NULL); } static void *thread_test_exhaust (void *arg) {