[llvm-bugs] [Bug 27335] New: lld-link /lib shouldn't error out if there are no input files

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Apr 13 05:14:03 PDT 2016


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

            Bug ID: 27335
           Summary: lld-link /lib shouldn't error out if there are no
                    input files
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

I tried to switch a bot in the Chromium build from link.exe and lib.exe to
lld-link and `lld-link /lib`.

The build failed:

FAILED: E:/b/depot_tools/python276_bin/python.exe gyp-win-tool link-wrapper
environment.x64 False
../../third_party/llvm-build/Release+Asserts/bin/lld-link.exe /lib /llvmlibthin
/nologo /ignore:4221 /OUT:obj/chrome/common/app_mode_app_support.lib
@obj/chrome/common/app_mode_app_support.lib.rsp
no input files.


It looks like the app_mode_app_support target really has no input files on
Windows, but lib.exe silently accepts this -- hence, lld-link /lib should too.

-- 
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/20160413/6465cbb2/attachment.html>


More information about the llvm-bugs mailing list