[llvm-bugs] [Bug 31057] New: ld.lld --version reports "no input files" error

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Nov 18 07:09:23 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=31057

            Bug ID: 31057
           Summary: ld.lld --version reports "no input files" error
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: emaste at freebsd.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

At git 727b6a44b46c7af65f8e1e5ac4dfb71c6f8c04d6 + a local change adding a test

ld.lld --version should emit the version and return status 0 

% ld.lld --version
LLD 4.0.0 (git at github.com:emaste/lld.git
410608dbeb776a13d2b00d1019dbf37e5ab8cf3e)
ld.lld: error: no input files
ld.lld: error: target emulation unknown: -m or at least one .o file required
% echo $?
1

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20161118/f63ab6f0/attachment.html>


More information about the llvm-bugs mailing list