[llvm-bugs] [Bug 32689] New: /msvclto creates response files with lines that are too long for msvc's linker (LNK1170)

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Apr 17 17:26:55 PDT 2017


http://bugs.llvm.org/show_bug.cgi?id=32689

            Bug ID: 32689
           Summary: /msvclto creates response files with lines that are
                    too long for msvc's linker (LNK1170)
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Windows XP
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: COFF
          Assignee: unassignedbugs at nondot.org
          Reporter: llvm at inglorion.net
                CC: llvm-bugs at lists.llvm.org

When linking with /msvclto, lld-link uses a response file to pass parameters to
MSVC's linker. We use spaces to separate the parameters, which can result in a
very long line being created. When this happens, link.exe will fail with:

fatal error LNK1170: line in command file contains 131071 or more characters

-- 
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/20170418/663873c2/attachment.html>


More information about the llvm-bugs mailing list