MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0007830 | CMake | CMake | public | 2008-10-19 07:24 | 2012-01-02 15:56 | |||||
Reporter | Tnlnmq3(ln | |||||||||
Assigned To | David Cole | |||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||
Status | closed | Resolution | fixed | |||||||
Platform | OS | OS Version | ||||||||
Product Version | CMake-2-6 | |||||||||
Target Version | CMake 2.8.6 | Fixed in Version | CMake 2.8.6 | |||||||
Summary | 0007830: CMake 2.6.2 doesn't find pthread_* function in libc on OpenSolaris | |||||||||
Description | On "SunOS 5.11 snv_99 x86" CMake can not find pthread_create (and others pthread function) though these function are in /lib/libc.so.1 For me, the following fix works fine: $ diff cmake-2.6.2/Modules/FindThreads.cmake /usr/local/share/cmake-2.6/Modules/FindThreads.cmake 28a29,37 > > # In OpenSolaris pthread_* in libc > CHECK_FUNCTION_EXISTS(pthread_create CMAKE_HAVE_PTHREAD_CREATE) > IF(CMAKE_HAVE_PTHREAD_CREATE) > SET(CMAKE_THREAD_LIBS_INIT "") > SET(CMAKE_HAVE_THREADS_LIBRARY 1) > SET(Threads_FOUND TRUE) > ELSEIF(CMAKE_HAVE_PTHREAD_CREATE) > 51a61,63 > > ENDIF(CMAKE_HAVE_PTHREAD_CREATE) > | |||||||||
Steps To Reproduce | ||||||||||
Additional Information | ||||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ||||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2008-10-19 07:24 | Tnlnmq3(ln | New Issue | ||||||||
2009-01-29 14:23 | Bill Hoffman | Note Added: 0014720 | ||||||||
2009-01-29 14:23 | Bill Hoffman | Status | new => assigned | |||||||
2009-01-29 14:23 | Bill Hoffman | Assigned To | => Bill Hoffman | |||||||
2011-04-17 05:25 | Rolf Eike Beer | Note Added: 0026204 | ||||||||
2011-04-18 16:17 | Brad King | Relationship added | related to 0011333 | |||||||
2011-08-01 10:51 | David Cole | Assigned To | Bill Hoffman => David Cole | |||||||
2011-08-01 10:51 | David Cole | Target Version | => CMake 2.8.6 | |||||||
2011-08-20 14:59 | David Cole | Note Added: 0027257 | ||||||||
2011-08-20 14:59 | David Cole | Status | assigned => resolved | |||||||
2011-08-20 14:59 | David Cole | Fixed in Version | => CMake 2.8.6 | |||||||
2011-08-20 14:59 | David Cole | Resolution | open => fixed | |||||||
2012-01-02 15:56 | David Cole | Note Added: 0028133 | ||||||||
2012-01-02 15:56 | David Cole | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|