[llvm-bugs] [Bug 51801] New: Build failure with MinGW64 - string table overflow in PassBuilder.cpp.obj

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Sep 9 00:39:08 PDT 2021


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

            Bug ID: 51801
           Summary: Build failure with MinGW64 - string table overflow in
                    PassBuilder.cpp.obj
           Product: Build scripts
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Makefiles
          Assignee: unassignedbugs at nondot.org
          Reporter: gyorokpeter at freemail.hu
                CC: llvm-bugs at lists.llvm.org

I use the following commands:
set PATH=D:\msys64\mingw64\bin;D:\msys64\usr\bin;%PATH%
cmake -S llvm -B build -G "MSYS Makefiles"
cd build
make

It builds fine up to this line:
Building CXX object lib/Passes/CMakeFiles/LLVMPasses.dir/PassBuilder.cpp.obj

But then it fails with:
D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/as.exe:
CMakeFiles/LLVMPasses.dir/PassBuilder.cpp.obj: section
.text$_ZN4llvm11getTypeNameINS_22InvalidateAnalysisPassINS_18LoopAccessAnalysisEEEEENS_9StringRefEv:
string table overflow at offset 10000036
D:\Temp\WindowsTemp\ccCLHORR.s: Assembler messages:
D:\Temp\WindowsTemp\ccCLHORR.s: Fatal error:
CMakeFiles/LLVMPasses.dir/PassBuilder.cpp.obj: file too big
make[2]: *** [lib/Passes/CMakeFiles/LLVMPasses.dir/build.make:76:
lib/Passes/CMakeFiles/LLVMPasses.dir/PassBuilder.cpp.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:24355:
lib/Passes/CMakeFiles/LLVMPasses.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

-- 
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/20210909/af1d3501/attachment-0001.html>


More information about the llvm-bugs mailing list