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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to