[llvm-bugs] [Bug 42218] New: subsystem and os version flags are not supported

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jun 10 06:04:13 PDT 2019


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

            Bug ID: 42218
           Summary: subsystem and os version flags are not supported
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Windows XP
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: COFF
          Assignee: unassignedbugs at nondot.org
          Reporter: orgads at gmail.com
                CC: llvm-bugs at lists.llvm.org

Qbs passes --major-subsystem-version, --minor-subsystem-version,
--major-os-version and --minor-os-version. None of them is supported in lld.

$ cat test.cpp
int main() { return 0; }

$ g++.exe -fuse-ld=lld
"-Wl,-m,i386pe,-subsystem,console,--major-subsystem-version,6,--minor-subsystem-version,00,--major-os-version,6,--minor-os-version,00"
test.cpp
lld: error: unknown argument: --major-subsystem-version
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/20190610/a5eb17c1/attachment-0001.html>


More information about the llvm-bugs mailing list