View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012524CMakeCMakepublic2011-10-18 11:532011-10-23 07:53
Reporterzhaoqin 
Assigned ToAlex Neundorf 
PriorityhighSeveritymajorReproducibilityalways
StatusclosedResolutionno change required 
Platformx86_64OSWindowsOS VersionWin-7
Product Version 
Target VersionFixed in Version 
Summary0012524: CMake 2.8.6 Configure Error identifying assembler with VS2010
DescriptionOn Windows 7 Enterprise, Visual Studio 2010 Professional
in Visual Studio Command Prompt (2010)

D:\src\cygwin\home\zhaoqin\Workspace\DynamoRIO\dynamorio-read-only\build>cmake -G"Visual Studio 10" ..
-- Check for working C compiler using: Visual Studio 10
-- Check for working C compiler using: Visual Studio 10 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Visual Studio 10
-- Check for working CXX compiler using: Visual Studio 10 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Version number: 3.0.1063
-- Found message compiler: C:/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/Bin/MC.Exe
-- DDK/WDK is too recent: no support for Windows 2000 or earlier
-- Found ntdll.lib: C:/WinDDK/7600.16385.1/lib/wxp/i386/ntdll.lib
-- Found Perl: C:/strawberry/perl/bin/perl.exe
-- Checked for GNU
-- Output: -MASM : warning A4018:invalid command-line option : --version
MASM : fatal error A1017:missing source filename
Microsoft (R) Macro Assembler Version 10.00.40219.01
Copyright (C) Microsoft Corporation. All rights reserved.

-
-- Result: -1-
-- Checked for HP
-- Output: -MASM : warning A4018:invalid command-line option : -V
MASM : fatal error A1017:missing source filename
Microsoft (R) Macro Assembler Version 10.00.40219.01
Copyright (C) Microsoft Corporation. All rights reserved.

-
-- Result: -1-
-- Checked for Intel
-- Output: -MASM : warning A4018:invalid command-line option : --version
MASM : fatal error A1017:missing source filename
Microsoft (R) Macro Assembler Version 10.00.40219.01
Copyright (C) Microsoft Corporation. All rights reserved.

-
-- Result: -1-
-- Checked for SunPro
-- Output: -MASM : warning A4018:invalid command-line option : -V
MASM : fatal error A1017:missing source filename
Microsoft (R) Macro Assembler Version 10.00.40219.01
Copyright (C) Microsoft Corporation. All rights reserved.
...
Comment 5 by project member bruening@google.com, Oct 16 (45 hours ago)



The same in Win-7 Home

Windows 7 Home Edtion
- VS2010 Express
- cmake-gui 2.8.6
- winsdk 7.1
- winddk 7600

in Visual Studio Command Prompt (2010)

H:\cygwin\home\zhaoqin\Workspace\DynamoRIO\dynamorio-read-only\build>cmake -G"Visual Studio 10" ..
-- Version number: 3.0.1063
-- Found message compiler: C:/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/Bin/MC.Exe
-- DDK/WDK is too recent: no support for Windows 2000 or earlier
-- Found ntdll.lib: C:/WinDDK/7600.16385.1/lib/wxp/i386/ntdll.lib
-- Checked for GNU
-- Output: -MASM : warning A4018:invalid command-line option : --version
MASM : fatal error A1017:missing source filename
Microsoft (R) Macro Assembler Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.

-
-- Result: -1-
-- Checked for HP
-- Output: -MASM : warning A4018:invalid command-line option : -V
MASM : fatal error A1017:missing source filename
Microsoft (R) Macro Assembler Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.

-
-- Result: -1-
-- Checked for Intel
-- Output: -MASM : warning A4018:invalid command-line option : --version
MASM : fatal error A1017:missing source filename
Microsoft (R) Macro Assembler Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.

-
-- Result: -1-
-- Checked for SunPro
-- Output: -MASM : warning A4018:invalid command-line option : -V
MASM : fatal error A1017:missing source filename
Microsoft (R) Macro Assembler Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.

-
-- Result: -1-
-- Checked for XL
-- Output: -MASM : warning A4018:invalid command-line option : -qversion
MASM : fatal error A1017:missing source filename
Microsoft (R) Macro Assembler Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.

-
-- Result: -1-
-- Checked for TI_DSP
-- Output: -MASM : warning A4018:invalid command-line option : -h
MASM : fatal error A1017:missing source filename
Microsoft (R) Macro Assembler Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.

-
-- Result: -1-
-- The ASM compiler identification is unknown
-- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/ml.exe
-- Warning: Did not find file Compiler/-ASM
-- Configuring done
-- Generating done
-- Build files have been written to:
Additional InformationSimilar to http://public.kitware.com/Bug/view.php?id=12358 [^]
TagsNo tags attached.
Attached Files

 Relationships
related to 0012465closedAlex Neundorf masm & msvc 
related to 0011536closedPatrick R. Gansterer Can't use assembler files with Visual Studio 10 generator 

  Notes
(0027598)
Alex Neundorf (developer)
2011-10-18 16:05

Please try cmake from the current "next" branch, this already contains the fix for this.
I.e. it now detects ASM_COMPILER_ID.

But it still does not work with the VisualStudio project generators (but it should work with nmake).

So, I'm closing this one, since the detection itself is fixed already, and leave 0012358 open, which is basically the bug that it doesn't work with VisualStudio.
(0027599)
Alex Neundorf (developer)
2011-10-18 16:07

...used wrong bug number...
(0027600)
Alex Neundorf (developer)
2011-10-18 16:08

I didn't meant, 0012358, but 0012465. So please follow that bug.
(0027601)
Alex Neundorf (developer)
2011-10-18 16:49

Adding a relation to another ticket.
(0027602)
Alex Neundorf (developer)
2011-10-18 16:52

0011536 is actually the ticket for ASM support in the Visual Studio generators.

 Issue History
Date Modified Username Field Change
2011-10-18 11:53 zhaoqin New Issue
2011-10-18 11:55 Brad King Relationship added related to 0012465
2011-10-18 11:55 Brad King Assigned To => Alex Neundorf
2011-10-18 11:55 Brad King Status new => assigned
2011-10-18 16:05 Alex Neundorf Note Added: 0027598
2011-10-18 16:05 Alex Neundorf Status assigned => closed
2011-10-18 16:05 Alex Neundorf Resolution open => fixed
2011-10-18 16:07 Alex Neundorf Note Added: 0027599
2011-10-18 16:07 Alex Neundorf Status closed => feedback
2011-10-18 16:07 Alex Neundorf Resolution fixed => reopened
2011-10-18 16:08 Alex Neundorf Note Added: 0027600
2011-10-18 16:08 Alex Neundorf Status feedback => closed
2011-10-18 16:08 Alex Neundorf Resolution reopened => no change required
2011-10-18 16:49 Alex Neundorf Note Added: 0027601
2011-10-18 16:49 Alex Neundorf Status closed => feedback
2011-10-18 16:49 Alex Neundorf Resolution no change required => reopened
2011-10-18 16:51 Alex Neundorf Relationship added related to 0011536
2011-10-18 16:52 Alex Neundorf Note Added: 0027602
2011-10-18 16:52 Alex Neundorf Status feedback => closed
2011-10-18 16:52 Alex Neundorf Resolution reopened => no change required


Copyright © 2000 - 2018 MantisBT Team