<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Build failure with MinGW64 - string table overflow in PassBuilder.cpp.obj"
   href="https://bugs.llvm.org/show_bug.cgi?id=51801">51801</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Build failure with MinGW64 - string table overflow in PassBuilder.cpp.obj
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Build scripts
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Makefiles
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>gyorokpeter@freemail.hu
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>