MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0013331 | CMake | CMake | public | 2012-06-20 15:14 | 2016-06-10 14:31 |
Reporter | Daniel Richard G. | ||||
Assigned To | Kitware Robot | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | PowerPC | OS | AIX | OS Version | 5.3 |
Product Version | CMake 2.8.8 | ||||
Target Version | Fixed in Version | ||||
Summary | 0013331: AIX linker chokes on spaces in rpath | ||||
Description | I was looking into why so many tests were failing on my AIX 5.3 dashboard: http://open.cdash.org/viewTest.php?onlyfailed&buildid=2378283 [^] It seems to come down to the linker's -blibpath option. Compare the below two invocations---the only difference is "My Tests" in the first one, and "My_Tests" in the second: host:~/Dashboards/My Tests/CMake-build/Tests/COnly> env OBJECT_MODE=32 /usr/bin/gcc -mminimal-toc -O0 CMakeFiles/COnly.dir/conly.c.o CMakeFiles/COnly.dir/foo.c.o -o COnly libtestc1.a libtestc2.so -Wl,-blibpath:"/home/cport/Dashboards/My Tests/CMake-build/Tests/COnly:/usr/lib:/lib" ld: 0706-014 The -b Tests/CMake-build/Tests/COnly option is not recognized. collect2: ld returned 255 exit status host:~/Dashboards/My Tests/CMake-build/Tests/COnly> env OBJECT_MODE=32 /usr/bin/gcc -mminimal-toc -O0 CMakeFiles/COnly.dir/conly.c.o CMakeFiles/COnly.dir/foo.c.o -o COnly libtestc1.a libtestc2.so -Wl,-blibpath:"/home/cport/Dashboards/My_Tests/CMake-build/Tests/COnly:/usr/lib:/lib" (no error) This should probably be checked when CMake first looks at the compiler/linker, as a fail-fast behavior would be helpful here. (I checked that this isn't a problem with gcc or even collect2 mishandling the option; I get the same error even if I pass -blibpath:"..." directly to ld.) | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-06-20 15:14 | Daniel Richard G. | New Issue | |||
2012-06-20 16:12 | Brad King | Note Added: 0029784 | |||
2012-06-20 16:12 | Brad King | Status | new => backlog | ||
2016-06-10 14:28 | Kitware Robot | Note Added: 0042070 | |||
2016-06-10 14:28 | Kitware Robot | Status | backlog => resolved | ||
2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | ||
2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot | ||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|