MantisBT - CMake
View Issue Details
0014016CMakeCMakepublic2013-03-15 07:402013-10-07 10:04
Sylwester Arabas 
 
normalcrashalways
closedduplicate 
CMake 2.8.9 
CMake 2.8.11CMake 2.8.11 
0014016: cmake segfaults with empty -DCMAKE_CXX_COMPILER
Steps to reproduce below.
HTH,
Sylwester
$ cat CMakeLists.txt
project(test)

$ cmake .
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/slayoo/Temp/cmake-test

$ cmake . -DCMAKE_CXX_COMPILER=
-- Configuring done
Segmentation fault

$ cmake --version
cmake version 2.8.9
No tags attached.
duplicate of 0013901closed Brad King cmake . -DCMAKE_CXX_COMPILER= results in segfault 
Issue History
2013-03-15 07:40Sylwester ArabasNew Issue
2013-03-15 08:19Brad KingRelationship addedduplicate of 0013901
2013-03-15 08:19Brad KingStatusnew => resolved
2013-03-15 08:19Brad KingResolutionopen => duplicate
2013-03-15 08:19Brad KingFixed in Version => CMake 2.8.11
2013-03-15 08:19Brad KingTarget Version => CMake 2.8.11
2013-10-07 10:04Robert MaynardNote Added: 0034008
2013-10-07 10:04Robert MaynardStatusresolved => closed

Notes
(0034008)
Robert Maynard   
2013-10-07 10:04   
Closing resolved issues that have not been updated in more than 4 months.