View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012358CMakeCMakepublic2011-07-25 08:512011-10-23 07:53
ReporterJohan Björk 
Assigned ToAlex Neundorf 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformApple MacOSOS XOS Version10.4.10
Product VersionCMake 2.8.5 
Target VersionCMake 2.8.6Fixed in VersionCMake 2.8.6 
Summary0012358: CMake fails to configure if assembly support can't be detected (OPTIONAL)
DescriptionThe statement
ENABLE_LANGUAGE(ASM OPTIONAL) can fail to configure if the type of the assembler can not be detected.

ie same as what happened to:
http://www.mail-archive.com/cmake@cmake.org/msg37309.html [^]
TagsNo tags attached.
Attached Filespatch file icon enable_asm.patch [^] (1,695 bytes) 2011-08-16 19:00 [Show Content]

 Relationships

  Notes
(0027130)
Johan Björk (reporter)
2011-07-30 07:51

Example output from an unrecognized compiler:

-- Checked for GNU
-- Output: -Low Level Virtual Machine (http://llvm.org/ [^]):
  llvm version 2.9
  Optimized build.
  Built Jul 30 2011 (13:06:42).
  Host: x86_64-apple-darwin10
  Host CPU: i686

  Registered Targets:
    (none)
-
-- Result: -1-
-- Checked for HP
-- Output: -/usr/local/bin/morpher/morphcc: no input files
-
-- Result: -1-
-- Checked for Intel
-- Output: -Low Level Virtual Machine (http://llvm.org/ [^]):
  llvm version 2.9
  Optimized build.
  Built Jul 30 2011 (13:06:42).
  Host: x86_64-apple-darwin10
  Host CPU: i686

  Registered Targets:
    (none)
-
-- Result: -1-
-- Checked for SunPro
-- Output: -/usr/local/bin/morpher/morphcc: no input files
-
-- Result: -1-
-- Checked for XL
-- Output: -/usr/local/bin/morpher/morphcc: no input files
-
-- Result: -1-
-- Checked for TI_DSP
-- Output: -/usr/local/bin/morpher/morphcc: no input files
-
-- Result: -1-
-- The ASM compiler identification is unknown
-- Found assembler: /usr/local/bin/morpher/morphcc
CMake Error at /usr/local/Cellar/cmake/2.8.5/share/cmake/Modules/CMakeASMInformation.cmake:36 (MESSAGE):
  Did not find file Compiler/-ASM
(0027131)
Johan Björk (reporter)
2011-07-30 07:52

I'm now allowed to change the relationship, but this is very similar to 0009220
(0027209)
Alex Neundorf (developer)
2011-08-16 19:01

Hi Johan,

please apply the attached patch enable_asm.patch to your cmake.
It should make enabling ASM optionally work again.
Please let me know whether it works for you or not.

Thanks
Alex
(0027241)
Johan Björk (reporter)
2011-08-18 13:39

Works.
-- The ASM compiler identification is unknown
-- Found assembler: /usr/local/bin/morpher/morphcc
-- Warning: Did not find file Compiler/-ASM
(0027261)
Alex Neundorf (developer)
2011-08-22 17:39

Thanks.
It is now in cmake next, and should be in 2.8.6.

Alex

 Issue History
Date Modified Username Field Change
2011-07-25 08:51 Johan Björk New Issue
2011-07-25 15:33 Alex Neundorf Assigned To => Alex Neundorf
2011-07-25 15:33 Alex Neundorf Status new => assigned
2011-07-30 07:51 Johan Björk Note Added: 0027130
2011-07-30 07:52 Johan Björk Note Added: 0027131
2011-08-16 19:00 Alex Neundorf File Added: enable_asm.patch
2011-08-16 19:01 Alex Neundorf Note Added: 0027209
2011-08-18 13:39 Johan Björk Note Added: 0027241
2011-08-22 17:39 Alex Neundorf Note Added: 0027261
2011-08-22 17:39 Alex Neundorf Status assigned => closed
2011-08-22 17:39 Alex Neundorf Resolution open => fixed
2011-08-22 17:39 Alex Neundorf Fixed in Version => CMake 2.8.6
2011-08-22 17:39 Alex Neundorf Target Version => CMake 2.8.6


Copyright © 2000 - 2018 MantisBT Team