[cmake-developers] [CMake 0014570]: Intel + Ninja regression: unable to compile a simple test program

Mantis Bug Tracker mantis at public.kitware.com
Fri Nov 15 03:26:00 EST 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14570 
====================================================================== 
Reported By:                Nils Gladitz
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14570
Category:                   (No Category)
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-11-15 03:26 EST
Last Modified:              2013-11-15 03:26 EST
====================================================================== 
Summary:                    Intel + Ninja regression: unable to compile a simple
test program
Description: 
I tried the current master (958367e10cee44d2dbce72f9393168746099ebd1) with Ninja
and the Intel compiler on Window which results in:

-- The C compiler identification is Intel 12.1.0.20120612
-- The CXX compiler identification is Intel 12.1.0.20120612
-- Check for working C compiler using: Ninja
-- Check for working C compiler using: Ninja -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Ninja
-- Check for working CXX compiler using: Ninja -- broken
CMake Error at
C:/opt/cmake-git/share/cmake-2.8.12/Modules/CMakeTestCXXCompiler.cmake:54
(message):
  The C++ compiler "C:/Program Files (x86)/Intel/Composer XE 2011
  SP1/bin/intel64/icl.exe" is not able to compile a simple test program.

  It fails with the following output:

   Change Dir: C:/cdash/086b772-bin/CMakeFiles/CMakeTmp

  

  Run Build Command:c:/Tools/ninja.exe cmTryCompileExec983296435

  [1/2] Building CXX object
  CMakeFiles\cmTryCompileExec983296435.dir\testCXXCompiler.cxx.obj

  FAILED: C:\PROGRA~2\Intel\COMPOS~1\bin\intel64\icl.exe /nologo /TP /DWIN32
  /D_WINDOWS /W3 /GR /EHsc /D_DEBUG /MDd /Zi /Ob0 /Od /RTC1 -MMD -MT
  CMakeFiles\cmTryCompileExec983296435.dir\testCXXCompiler.cxx.obj -MF
  CMakeFiles/cmTryCompileExec983296435.dir/testCXXCompiler.cxx.obj.d
  /FoCMakeFiles\cmTryCompileExec983296435.dir\testCXXCompiler.cxx.obj
  /FdCMakeFiles\cmTryCompileExec983296435.dir/ -c testCXXCompiler.cxx

  icl: command line warning http://www.cmake.org/Bug/view.php?id=10006: ignoring
unknown option '/MMD'

  icl: command line warning http://www.cmake.org/Bug/view.php?id=10121:
overriding '/MDd' with '/MT'

  icl: command line warning http://www.cmake.org/Bug/view.php?id=10006: ignoring
unknown option '/MF'

  icl: command line error: multiple sources; obj output option must specify
  dir

  ninja: build stopped: subcommand failed.
[...]

The "NMake Makefiles" generator still works.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-11-15 03:26 Nils Gladitz   New Issue                                    
======================================================================




More information about the cmake-developers mailing list