View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015999 | CMake | CMake | public | 2016-03-02 04:10 | 2016-06-10 14:21 | ||||
Reporter | Antonio | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | x64 | OS | Windows | OS Version | 7 | ||||
Product Version | CMake 3.4.1 | ||||||||
Target Version | CMake 3.6 | Fixed in Version | CMake 3.6 | ||||||
Summary | 0015999: CMake will crash if project command is used in the toolchain file | ||||||||
Description | If the "project" command is used in a toolchain file, cmake crashes (also cmake-gui crashes consequently). Found out while trying to use: find_package(LLVM REQUIRED CONFIG) in a toolchain file, and incurred in this problem: http://stackoverflow.com/questions/12264299/cmake-on-linux-target-platform-does-not-support-dynamic-linking [^] | ||||||||
Steps To Reproduce | Extremely easy, simply configure a project with a toolchain containing: project(xxx) In the attachment a dummy project which allows to reproduce the problem. Also the build directory (output before the crash) is included. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | test.zip [^] (2,122 bytes) 2016-03-02 04:10 | ||||||||
Relationships | |
Relationships |
Notes | |
(0040642) Brad King (manager) 2016-03-07 14:08 |
Thanks. This should fix it: Diagnose recursive project/enable_language without crashing https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=72e0dc58 [^] |
(0040643) Brad King (manager) 2016-03-07 14:10 |
FYI, a toolchain file is meant to set machine-local information. It shouldn't need to find anything. |
(0041235) Kitware Robot (administrator) 2016-06-10 14:21 |
This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2016-03-02 04:10 | Antonio | New Issue | |
2016-03-02 04:10 | Antonio | File Added: test.zip | |
2016-03-07 14:08 | Brad King | Note Added: 0040642 | |
2016-03-07 14:08 | Brad King | Assigned To | => Brad King |
2016-03-07 14:08 | Brad King | Status | new => resolved |
2016-03-07 14:08 | Brad King | Resolution | open => fixed |
2016-03-07 14:08 | Brad King | Fixed in Version | => CMake 3.6 |
2016-03-07 14:08 | Brad King | Target Version | => CMake 3.6 |
2016-03-07 14:10 | Brad King | Note Added: 0040643 | |
2016-06-10 14:21 | Kitware Robot | Note Added: 0041235 | |
2016-06-10 14:21 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |