[cmake-developers] [CMake 0013390]: Tests/Assembler fails to link due to bare library-directory arguments

Mantis Bug Tracker mantis at public.kitware.com
Tue Jul 10 13:00:53 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13390 
====================================================================== 
Reported By:                Daniel Richard G.
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13390
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-07-10 13:00 EDT
Last Modified:              2012-07-10 13:00 EDT
====================================================================== 
Summary:                    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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-07-10 13:00 Daniel Richard G.New Issue                                    
======================================================================




More information about the cmake-developers mailing list