MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0015626 | CMake | CMake | public | 2015-06-23 13:49 | 2016-02-01 09:10 |
| Reporter | Andrew Fuller | ||||
| Assigned To | Brad King | ||||
| Priority | high | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | Linux | OS | Ubuntu | OS Version | 14.04 |
| Product Version | |||||
| Target Version | CMake 3.3 | Fixed in Version | CMake 3.3 | ||
| Summary | 0015626: 3.3-rc2 segfault (regression) | ||||
| Description | Manipulating a target that was first created in a different directory branch causes a segfault. | ||||
| Steps To Reproduce | 1. Create the following CMake files: $ tree . ├── CMakeLists.txt ├── dirA │ └── CMakeLists.txt └── dirB └── CMakeLists.txt $ cat CMakeLists.txt add_subdirectory( dirA ) add_subdirectory( dirB ) $ cat dirA/CMakeLists.txt add_library( foo INTERFACE ) $ cat dirB/CMakeLists.txt target_link_libraries( foo INTERFACE ${CMAKE_DL_LIBS} ) 2. Configure $ mkdir build && cd build && cmake .. [...] [1] 6691 segmentation fault (core dumped) cmake .. | ||||
| Additional Information | This works fine with CMake 3.2.1. | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2015-06-23 13:49 | Andrew Fuller | New Issue | |||
| 2015-06-23 14:50 | Brad King | Note Added: 0038962 | |||
| 2015-06-23 14:50 | Brad King | Assigned To | => Stephen Kelly | ||
| 2015-06-23 14:50 | Brad King | Status | new => assigned | ||
| 2015-06-23 14:50 | Brad King | Target Version | => CMake 3.3 | ||
| 2015-06-25 11:00 | Brad King | Note Added: 0038984 | |||
| 2015-06-25 11:00 | Brad King | Assigned To | Stephen Kelly => Brad King | ||
| 2015-06-25 11:00 | Brad King | Status | assigned => resolved | ||
| 2015-06-25 11:00 | Brad King | Resolution | open => fixed | ||
| 2015-06-25 11:00 | Brad King | Fixed in Version | => CMake 3.3 | ||
| 2015-06-25 11:15 | Andrew Fuller | Note Added: 0038985 | |||
| 2015-06-25 11:54 | Brad King | Note Added: 0038986 | |||
| 2015-06-25 12:13 | Andrew Fuller | Note Added: 0038987 | |||
| 2016-02-01 09:10 | Robert Maynard | Note Added: 0040400 | |||
| 2016-02-01 09:10 | Robert Maynard | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||