[llvm-bugs] [Bug 32131] New: Link fails after exceeding size limit when building with Clang-CL

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Mar 3 09:38:24 PST 2017


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

            Bug ID: 32131
           Summary: Link fails after exceeding size limit when building
                    with Clang-CL
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: steveire at gmail.com
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org

My library compiles with Clang-CL without errors, but when I attempt to link I
get:

 LINK : fatal error LNK1210: exceeded internal ILK size limit; link with
/INCREMENTAL:NO

Changing to not use the incremental mode causes the link to succeed. However,
this is not needed when compiling the library with cl.exe.

Why could this be?

-- 
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/20170303/f04f66b5/attachment.html>


More information about the llvm-bugs mailing list