[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [valgrind] [Bug 361253] New: [s390x] ex_clone.c:42: undefined reference to `pthread_create'
From:       dann frazier via KDE Bugzilla <bugzilla_noreply () kde ! org>
Date:       2016-03-31 21:48:13
Message-ID: bug-361253-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

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: jseward@acm.org
          Reporter: dannf@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.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic