[llvm-bugs] [Bug 46930] New: lld-link fails and reports non-existent wildcard files

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jul 31 04:19:36 PDT 2020


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

            Bug ID: 46930
           Summary: lld-link fails and reports non-existent wildcard files
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: rixript at gmail.com
                CC: llvm-bugs at lists.llvm.org, smithp352 at googlemail.com

Let a directory contain x.obj file, then running MSVC linker

    link *.obj test\*.obj

Successfully links, and ignores non-existent wildcard file(s) test\*.obj

However, lld-link fails and reports non-existent wildcard file(s)

    lld-link *.obj test\*.obj
    lld-link: error: could not open 'test\*.obj': invalid argument

This breaks a workflow with Visual Studio, vcpkg and clangcl toolset, as vcpkg
adds similar paths with wildcards for linker, they are passed to lld-link, and
linkage fails.

-- 
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/20200731/78cef11f/attachment.html>


More information about the llvm-bugs mailing list