https://bugs.kde.org/show_bug.cgi?id=361253

            Bug ID: 361253
           Summary: [s390x] ex_clone.c:42: undefined reference to
                    `pthread_create'
           Product: valgrind
           Version: 3.11 SVN
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: jsew...@acm.org
          Reporter: da...@dannf.org

'make regtest' on trunk currently fails on Ubuntu 16.04/s390x.

gcc -Winline -Wall -Wshadow -Wno-long-long -g -fno-stack-protector   -m64  
-lpthread  -o ex_clone ex_clone.o  
ex_clone.o: In function `main':
/home/ubuntu/valgrind/none/tests/s390x/ex_clone.c:42: undefined reference to
`pthread_create'
/home/ubuntu/valgrind/none/tests/s390x/ex_clone.c:57: undefined reference to
`pthread_join'
collect2: error: ld returned 1 exit status
Makefile:1324: recipe for target 'ex_clone' failed



Reproducible: Always

Steps to Reproduce:
1. Install Ubuntu 16.04 on an s390x system
2. svn clone svn://svn.valgrind.org/valgrind/trunk valgrind
3. cd valgrind; ./autogen.sh; ./configure; make regtest


Actual Results:  
gcc -Winline -Wall -Wshadow -Wno-long-long -g -fno-stack-protector   -m64  
-lpthread  -o ex_clone ex_clone.o  
ex_clone.o: In function `main':
/home/ubuntu/valgrind/none/tests/s390x/ex_clone.c:42: undefined reference to
`pthread_create'
/home/ubuntu/valgrind/none/tests/s390x/ex_clone.c:57: undefined reference to
`pthread_join'
collect2: error: ld returned 1 exit status
Makefile:1324: recipe for target 'ex_clone' failed

Expected Results:  
Successful build.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to