MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0009511 | CMake | Modules | public | 2009-09-09 11:31 | 2016-06-10 14:30 |
| Reporter | dataangel | ||||
| Assigned To | Philip Lowman | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | CMake-2-6 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0009511: FindBoost.cmake won't work with static linking boost_thread on Solaris | ||||
| Description | Any compiles will fail at the link stage, complaining about missing symbols provided by the "implicit dependency librt.so". When dynamically linking, boost_thread will have been compiled to dynamically link against librt already. But when statically linking, you have to also pull in the dependencies of the library you're statically linking against, and on Solaris boost_thread needs librt. Basically, FindBoost should have a simple platform check, if Boost_USE_STATIC_LIBS is true, and boost_thread is a requested component, try to compile a test program that just creates a boost thread. If the compile fails, try adding -lrt, and see if that works. If so, add that to the libraries to link. | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/3927/* | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2009-09-09 11:32 | dataangel | New Issue | |||
| 2009-09-11 17:19 | Bill Hoffman | Status | new => assigned | ||
| 2009-09-11 17:19 | Bill Hoffman | Assigned To | => Douglas Gregor | ||
| 2010-05-09 04:50 | Alex Neundorf | Category | CMake => Modules | ||
| 2010-09-10 23:50 | Philip Lowman | Assigned To | Douglas Gregor => Philip Lowman | ||
| 2011-06-10 00:59 | Philip Lowman | Note Added: 0026814 | |||
| 2011-06-10 00:59 | Philip Lowman | File Added: FindBoost.cmake | |||
| 2011-06-15 09:06 | Philip Lowman | Severity | major => minor | ||
| 2012-10-04 01:49 | Philip Lowman | Note Added: 0031174 | |||
| 2012-10-04 01:49 | Philip Lowman | Status | assigned => backlog | ||
| 2016-06-10 14:27 | Kitware Robot | Note Added: 0041591 | |||
| 2016-06-10 14:27 | Kitware Robot | Status | backlog => resolved | ||
| 2016-06-10 14:27 | Kitware Robot | Resolution | open => moved | ||
| 2016-06-10 14:30 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||