[llvm-bugs] [Bug 47932] New: Compilation error LLVM 11.0 with Windows 64-bit compiler

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Oct 21 05:17:48 PDT 2020


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

            Bug ID: 47932
           Summary: Compilation error LLVM 11.0 with Windows 64-bit
                    compiler
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: albert.tests at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

I try to compile LLVM version 11.0 with 64-bit Windows compiler and I get:
[ 72%] Building CXX object
tools/clang/lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/Transforms.cpp.obj
Transforms.cpp
E:\Programs\LLVM\11.0\llvm-project\clang\lib\ARCMigrate\Transforms.cpp : fatal
error C1128: number of sections exceeded object file format limit: compile with
/bigobj

How to overcome this problem (or is it a bug)?



Mote important information (as far as I can see) from cmake stage:

cmake -G "NMake Makefiles" -DLLVM_ENABLE_PROJECTS=clang;clang-tools-extra
..\llvm
-- The C compiler identification is MSVC 19.16.27034.0
-- The CXX compiler identification is MSVC 19.16.27034.0
-- The ASM compiler identification is MSVC
-- Found assembler: D:/Program Files (x86)/Microsoft Visual
Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64/cl.exe
-- Check for working C compiler: D:/Program Files (x86)/Microsoft Visual
Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64/cl.exe
-- Check for working C compiler: D:/Program Files (x86)/Microsoft Visual
Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64/cl.exe -- works

-- 
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/20201021/eafd76a1/attachment.html>


More information about the llvm-bugs mailing list