MantisBT - CMake | ||||||||||||||||||||
View Issue Details | ||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||||||||||
0010692 | CMake | Modules | public | 2010-05-09 11:35 | 2016-06-10 14:31 | |||||||||||||||
Reporter | Modestas Vainius | |||||||||||||||||||
Assigned To | Philip Lowman | |||||||||||||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||||||||||||
Status | closed | Resolution | moved | |||||||||||||||||
Platform | amd64 | OS | Debian GNU/Linux | OS Version | sid | |||||||||||||||
Product Version | CMake-2-8 | |||||||||||||||||||
Target Version | Fixed in Version | |||||||||||||||||||
Summary | 0010692: FindBoost fails to add -lpthread | |||||||||||||||||||
Description | When using find_package(Boost COMPONENTS thread REQUIRED) -lpthread is not added to the link command, causing the link to fail if binutils-gold (which has --no-add-needed behavior as default) is used. More informations can be found at http://wiki.debian.org/qa.debian.org/FTBFS#A2009-11-02Packagesfailingbecausebinutils-gold.2BAC8-indirectlinking [^] | |||||||||||||||||||
Steps To Reproduce | ||||||||||||||||||||
Additional Information | Small testcase is attached to Debian bug report. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=563479 [^] I tried to fix the bug myself but apparently FindBoost.cmake is not every easy to grasp :/ | |||||||||||||||||||
Tags | No tags attached. | |||||||||||||||||||
Relationships |
| |||||||||||||||||||
Attached Files | FindBoost_add_-lpthread_#563479.diff (898) 2011-01-16 12:34 https://public.kitware.com/Bug/file/3629/FindBoost_add_-lpthread_%23563479.diff FindBoost.cmake (52,930) 2011-06-10 01:06 https://public.kitware.com/Bug/file/3928/FindBoost.cmake FindBoost+add_pthread_if_boost_threads_is_in_use.diff (2,099) 2011-06-10 01:06 https://public.kitware.com/Bug/file/3929/FindBoost%2Badd_pthread_if_boost_threads_is_in_use.diff BoostPthreadWorkaround.cmake (783) 2012-08-02 17:15 https://public.kitware.com/Bug/file/4414/BoostPthreadWorkaround.cmake FindBoost+add_pthread_if_boost_threads_is_in_use_2.8.11-rc1.diff (1,669) 2013-03-16 14:58 https://public.kitware.com/Bug/file/4683/FindBoost%2Badd_pthread_if_boost_threads_is_in_use_2.8.11-rc1.diff | |||||||||||||||||||
Issue History | ||||||||||||||||||||
Date Modified | Username | Field | Change | |||||||||||||||||
2010-05-09 11:35 | Modestas Vainius | New Issue | ||||||||||||||||||
2010-09-10 23:48 | Philip Lowman | Status | new => assigned | |||||||||||||||||
2010-09-10 23:48 | Philip Lowman | Assigned To | => Philip Lowman | |||||||||||||||||
2010-09-15 15:01 | Philip Lowman | Note Added: 0022230 | ||||||||||||||||||
2010-09-15 15:02 | Philip Lowman | Relationship added | has duplicate 0011238 | |||||||||||||||||
2011-01-16 12:34 | Curan | File Added: FindBoost_add_-lpthread_#563479.diff | ||||||||||||||||||
2011-01-16 12:41 | Curan | Note Added: 0024730 | ||||||||||||||||||
2011-06-10 01:06 | Philip Lowman | Note Added: 0026815 | ||||||||||||||||||
2011-06-10 01:06 | Philip Lowman | File Added: FindBoost.cmake | ||||||||||||||||||
2011-06-10 01:06 | Philip Lowman | File Added: FindBoost+add_pthread_if_boost_threads_is_in_use.diff | ||||||||||||||||||
2012-08-02 17:14 | Michael Tänzer | Note Added: 0030159 | ||||||||||||||||||
2012-08-02 17:15 | Michael Tänzer | File Added: BoostPthreadWorkaround.cmake | ||||||||||||||||||
2013-03-16 14:58 | Modestas Vainius | File Added: FindBoost+add_pthread_if_boost_threads_is_in_use_2.8.11-rc1.diff | ||||||||||||||||||
2013-03-16 14:58 | Modestas Vainius | Note Added: 0032648 | ||||||||||||||||||
2014-01-27 10:46 | Nils Gladitz | Relationship added | related to 0014720 | |||||||||||||||||
2015-04-13 03:15 | Nils Gladitz | Relationship added | related to 0015510 | |||||||||||||||||
2016-06-10 14:27 | Kitware Robot | Note Added: 0041693 | ||||||||||||||||||
2016-06-10 14:27 | Kitware Robot | Status | assigned => resolved | |||||||||||||||||
2016-06-10 14:27 | Kitware Robot | Resolution | open => moved | |||||||||||||||||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|