View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0013390 | CMake | CMake | public | 2012-07-10 13:00 | 2013-01-09 10:56 | ||||
Reporter | Daniel Richard G. | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | PowerPC | OS | AIX | OS Version | 5.3 | ||||
Product Version | CMake 2.8.8 | ||||||||
Target Version | CMake 2.8.9 | Fixed in Version | CMake 2.8.9 | ||||||
Summary | 0013390: Tests/Assembler fails to link due to bare library-directory arguments | ||||||||
Description | From http://open.cdash.org/testDetails.php?test=150972074&build=2429333 [^] : Linking ASM executable HelloAsm /home/cport/Dashboards/MyTests/CMake-build/bin/cmake -E cmake_link_script CMakeFiles/HelloAsm.dir/link.txt --verbose=1 /usr/bin/gcc -mminimal-toc -O0 CMakeFiles/HelloAsm.dir/main.s.o -o HelloAsm /usr/lib /lib ld: 0711-168 SEVERE ERROR: Input file: /usr/lib Input files must be regular files. collect2: ld returned 12 exit status make[1]: *** [HelloAsm] Error 1 make[1]: Leaving directory `/home/cport/Dashboards/MyTests/CMake-build/Tests/Assembler' make: *** [CMakeFiles/HelloAsm.dir/all] Error 2 make: The error code from the last command is 2. Stop. I'm having trouble finding where the "/usr/lib /lib" bit in link.txt is coming from. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | CMakeASMCompiler.cmake [^] (371 bytes) 2012-07-10 14:52 CMakeCCompiler.cmake [^] (1,718 bytes) 2012-07-10 14:52 CMakeOutput.log [^] (10,577 bytes) 2012-07-10 14:52 | ||||||||
Relationships | |
Relationships |
Notes | |
(0030027) Brad King (manager) 2012-07-10 14:41 |
Please attach CMakeFiles/CMake*Compiler.cmake and CMakeFiles/CMake*.log from that test. |
(0030028) Daniel Richard G. (reporter) 2012-07-10 14:53 |
Attached. |
(0030029) Brad King (manager) 2012-07-10 15:14 |
We need the GNU equivalent to this from XL: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a0bab7ae [^] Try adding this file: $ cat Modules/Platform/AIX-GNU-ASM.cmake include(Platform/AIX-GNU) __aix_compiler_gnu(ASM) |
(0030030) Daniel Richard G. (reporter) 2012-07-10 15:28 |
Yep, that did it: Linking ASM executable HelloAsm /home/cport/Dashboards/MyTests/CMake-build/bin/cmake -E cmake_link_script CMakeFiles/HelloAsm.dir/link.txt --verbose=1 /usr/bin/gcc CMakeFiles/HelloAsm.dir/main.s.o -o HelloAsm -Wl,-brtl,-bnoipath,-bexpall -Wl,-blibpath:/usr/lib:/lib make[1]: Leaving directory `/tmp/foo' /home/cport/Dashboards/MyTests/CMake-build/bin/cmake -E cmake_progress_report /tmp/foo/CMakeFiles 1 2 [100%] Built target HelloAsm /home/cport/Dashboards/MyTests/CMake-build/bin/cmake -E cmake_progress_start /tmp/foo/CMakeFiles 0 Target "default_target" is up to date. Running test command: "/tmp/foo/HelloAsm" hello assembler world, 1 arguments given |
(0030031) Brad King (manager) 2012-07-10 16:00 |
Applied, thanks for testing: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7755283e [^] |
(0032037) Robert Maynard (manager) 2013-01-09 10:56 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2012-07-10 13:00 | Daniel Richard G. | New Issue | |
2012-07-10 14:41 | Brad King | Note Added: 0030027 | |
2012-07-10 14:52 | Daniel Richard G. | File Added: CMakeASMCompiler.cmake | |
2012-07-10 14:52 | Daniel Richard G. | File Added: CMakeCCompiler.cmake | |
2012-07-10 14:52 | Daniel Richard G. | File Added: CMakeOutput.log | |
2012-07-10 14:53 | Daniel Richard G. | Note Added: 0030028 | |
2012-07-10 15:14 | Brad King | Note Added: 0030029 | |
2012-07-10 15:28 | Daniel Richard G. | Note Added: 0030030 | |
2012-07-10 16:00 | Brad King | Note Added: 0030031 | |
2012-07-10 16:00 | Brad King | Assigned To | => Brad King |
2012-07-10 16:00 | Brad King | Status | new => resolved |
2012-07-10 16:00 | Brad King | Resolution | open => fixed |
2012-08-09 19:44 | David Cole | Fixed in Version | => CMake 2.8.9 |
2012-08-09 19:44 | David Cole | Target Version | => CMake 2.8.9 |
2013-01-09 10:56 | Robert Maynard | Note Added: 0032037 | |
2013-01-09 10:56 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |