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

            Bug ID: 42121
           Summary: lld doesn't seem to work on MinGW
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Windows XP
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

Installed from MSYS2 mingw32 packages. GCC 9.1.0 and lld 8.0.0.

$ cat test.cpp
#include <iostream>

int main(int argc, char **argv)
{
    std::cout << "Hello world!" << std::endl;
    return 0;
}

$ g++ -fuse-ld=lld test.cpp
lld: error: unknown argument: -u
collect2.exe: error: ld returned 1 exit status

-- 
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