MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0013149 | CMake | CMake | public | 2012-04-19 08:32 | 2013-01-09 10:55 | |||||
Reporter | Jim Hague | |||||||||
Assigned To | Brad King | |||||||||
Priority | normal | Severity | major | Reproducibility | always | |||||
Status | closed | Resolution | fixed | |||||||
Platform | PowerPC | OS | AIX | OS Version | 5.2 | |||||
Product Version | CMake 2.8.7 | |||||||||
Target Version | CMake 2.8.9 | Fixed in Version | CMake 2.8.9 | |||||||
Summary | 0013149: cmTryCompileExec fails on AIX 5.2 | |||||||||
Description | bootstrap; gmake works (given compile issues as per Issue 13148). Atempting to build the Example fails with a link command error in cmTryCompileExec. This is true whether gcc or xlc is used. | |||||||||
Steps To Reproduce | Build cmake on AIX 5.2. Then: $ cd Example $ ../bin/cmake -G "Unix Makefiles" -- The C compiler identification is unknown -- The CXX compiler identification is unknown -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- broken CMake Error at /home/jim/work/src/cmake-2.8.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE): The C compiler "/usr/bin/gcc" is not able to compile a simple test program. It fails with the following output: Change Dir: /home/jim/work/src/cmake-2.8.8/Example/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2449469290/fast" /usr/bin/gmake -f CMakeFiles/cmTryCompileExec2449469290.dir/build.make CMakeFiles/cmTryCompileExec2449469290.dir/build gmake[1]: Entering directory `/home/jim/work/src/cmake-2.8.8/Example/CMakeFiles/CMakeTmp' /home/jim/work/src/cmake-2.8.8/bin/cmake -E cmake_progress_report /home/jim/work/src/cmake-2.8.8/Example/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2449469290.dir/testCCompiler.c.o /usr/bin/gcc -o CMakeFiles/cmTryCompileExec2449469290.dir/testCCompiler.c.o -c /home/jim/work/src/cmake-2.8.8/Example/CMakeFiles/CMakeTmp/testCCompiler.c Linking C executable cmTryCompileExec2449469290 /home/jim/work/src/cmake-2.8.8/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2449469290.dir/link.txt --verbose=1 /usr/bin/gcc CMakeFiles/cmTryCompileExec2449469290.dir/testCCompiler.c.o -o cmTryCompileExec2449469290 /usr/lib /lib ld: 0711-168 SEVERE ERROR: Input file: /usr/lib Input files must be regular files. collect2: ld returned 12 exit status gmake[1]: *** [cmTryCompileExec2449469290] Error 1 gmake[1]: Leaving directory `/home/jim/work/src/cmake-2.8.8/Example/CMakeFiles/CMakeTmp' gmake: *** [cmTryCompileExec2449469290/fast] Error 2 | |||||||||
Additional Information | This failure happens on 2.8.7 and 2.8.8. 2.6.4 works fine. link.txt for the failing gcc on 5.8.8 is: /usr/bin/gcc CMakeFiles/cmTryCompileExec732778660.dir/testCCompiler.c.o -o cmTryCompileExec732778660 /usr/lib /lib On 5.6.4 for the successful g++ is: /usr/bin/g++ CMakeFiles/cmTryCompileExec.dir/CMakeCXXCompilerABI.cpp.o -o cmTryCompileExec -Wl,-brtl,-bnoipath,-bexpall -Wl,-blibpath:/usr/lib:/lib | |||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ||||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2012-04-19 08:32 | Jim Hague | New Issue | ||||||||
2012-04-19 09:04 | Brad King | Note Added: 0029239 | ||||||||
2012-04-19 09:58 | Jim Hague | Note Added: 0029247 | ||||||||
2012-04-19 10:16 | Brad King | Relationship added | duplicate of 0012420 | |||||||
2012-04-19 10:26 | Brad King | Note Added: 0029250 | ||||||||
2012-04-19 14:09 | Jim Hague | Note Added: 0029262 | ||||||||
2012-04-19 14:17 | Brad King | Note Added: 0029263 | ||||||||
2012-04-19 14:29 | Brad King | Note Added: 0029264 | ||||||||
2012-04-19 14:31 | Brad King | Status | new => resolved | |||||||
2012-04-19 14:31 | Brad King | Fixed in Version | => CMake 2.8.9 | |||||||
2012-04-19 14:31 | Brad King | Resolution | open => fixed | |||||||
2012-04-19 14:31 | Brad King | Assigned To | => Brad King | |||||||
2012-08-09 17:49 | David Cole | Target Version | => CMake 2.8.9 | |||||||
2013-01-09 10:55 | Robert Maynard | Note Added: 0032024 | ||||||||
2013-01-09 10:55 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|