From: Christian Borntraeger Date: Tue, 20 Sep 2016 12:31:49 +0000 (+0000) Subject: fix for bugzilla 361253 [s390x] ex_clone.c:42: undefined reference to `pthread_create' X-Git-Tag: svn/VALGRIND_3_12_0~55^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcef0a54078a5eb42cba67f4fabb2d2836069480;p=thirdparty%2Fvalgrind.git fix for bugzilla 361253 [s390x] ex_clone.c:42: undefined reference to `pthread_create' Fix provides by Dann Frazier git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15970 --- diff --git a/NEWS b/NEWS index cd66a5192c..42639f371c 100644 --- a/NEWS +++ b/NEWS @@ -169,6 +169,7 @@ where XXXXXX is the bug number as listed below. 368412 False positive result for altivec capability check 368461 mmapunmap test fails on ppc64 369000 AMD64 fma4 instructions unsupported. +361253 [s390x] ex_clone.c:42: undefined reference to `pthread_create' n-i-bz Fix incorrect (or infinite loop) unwind on RHEL7 x86 and amd64 n-i-bz massif --pages-as-heap=yes does not report peak caused by mmap+munmap diff --git a/none/tests/s390x/Makefile.am b/none/tests/s390x/Makefile.am index 67f4739344..5c83b46077 100644 --- a/none/tests/s390x/Makefile.am +++ b/none/tests/s390x/Makefile.am @@ -63,4 +63,4 @@ cu21_1_CFLAGS = $(AM_CFLAGS) -DM3=1 cu24_1_CFLAGS = $(AM_CFLAGS) -DM3=1 fixbr_CFLAGS = $(AM_CFLAGS) @FLAG_MLONG_DOUBLE_128@ fpext_CFLAGS = $(AM_CFLAGS) @FLAG_MLONG_DOUBLE_128@ -ex_clone_LDFLAGS = -lpthread +ex_clone_LDADD = -lpthread