View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012420CMakeCMakepublic2011-08-25 01:442012-09-03 16:01
ReporterBhadresh Desai 
Assigned ToBrad King 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformUnixOSAIXOS Version5.3
Product VersionCMake 2.8.5 
Target VersionCMake 2.8.9Fixed in VersionCMake 2.8.9 
Summary0012420: CMake fails to identify the compiler
DescriptionCMake fails to identify compiler as a result you cannot build even a simple C/C++ program on AIX 5.3
Additional InformationThe issue is converting CMakeCXXCompilerId.cpp.in and CMakeCCompilerId.c.in to CMakeCXXCompilerId.cpp and CMakeCCompilerId.c
For some reason the first character in file is missed out when creating the .cpp and .c file.

As a work around I had to put additional space at the beginning of the file.

Also there is issue around @CMAKE_CXX_COMPILER_ID_PLATFORM_CONTENT@ in both files.
I had to add " /" (a space and /) in front of @CMAKE_CXX_COMPILER_ID_PLATFORM_CONTENT@ to get it working.

I am attaching both modified files.
TagsNo tags attached.
Attached Files? file icon CMakeCXXCompilerId.cpp.in [^] (2,556 bytes) 2011-08-25 01:44
? file icon CMakeCCompilerId.c.in [^] (2,763 bytes) 2011-08-25 01:45

 Relationships
has duplicate 0013149closedBrad King cmTryCompileExec fails on AIX 5.2 

  Notes
(0029265)
Brad King (manager)
2012-04-19 14:30

A fix to this issue was contributed through issue 0013149:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b3c77889 [^]
(0030866)
David Cole (manager)
2012-09-03 16:01

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2011-08-25 01:44 Bhadresh Desai New Issue
2011-08-25 01:44 Bhadresh Desai File Added: CMakeCXXCompilerId.cpp.in
2011-08-25 01:45 Bhadresh Desai File Added: CMakeCCompilerId.c.in
2012-04-19 10:16 Brad King Relationship added has duplicate 0013149
2012-04-19 14:30 Brad King Note Added: 0029265
2012-04-19 14:30 Brad King Status new => resolved
2012-04-19 14:30 Brad King Resolution open => fixed
2012-04-19 14:30 Brad King Assigned To => Brad King
2012-04-19 14:30 Brad King Fixed in Version => CMake 2.8.9
2012-04-19 14:30 Brad King Target Version => CMake 2.8.9
2012-09-03 16:01 David Cole Note Added: 0030866
2012-09-03 16:01 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team