[llvm-bugs] [Bug 42121] New: lld doesn't seem to work on MinGW

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jun 4 07:20:58 PDT 2019


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: unassignedbugs at nondot.org
          Reporter: orgads at gmail.com
                CC: llvm-bugs at lists.llvm.org, peter.smith at linaro.org

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190604/8c4e1f4b/attachment-0001.html>


More information about the llvm-bugs mailing list