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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to