<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/101994>101994</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Windows release packaging for 19.1.0-rc2 fails with `Internal compiler error #12345: error mmapping datablock to 5517122.`
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
zmodem
</td>
</tr>
</table>
<pre>
On Windows:
```
git checkout llvmorg-19.1.0-rc2
cd ..
llvm-project\llvm\utils\release\build_llvm_release.bat --x64 --version=19.1.0-rc2
[...]
[2/3] Run CPack packaging tool...CPack: Create package using NSIS
CPack: Install projects
CPack: - Install project: LLVM []
CPack: Create package
CPack Error: Problem running NSIS command: "C:/Program Files (x86)/NSIS/makensis.exe" "C:/src/llvm_package_19.1.0-rc2/build64/_CPack_Packages/win64/NSIS/project.nsi"
Please check C:/src/llvm_package_19.1.0-rc2/build64/_CPack_Packages/win64/NSIS/NSISOutput.log for errors
CPack Error: Problem compressing the directory
CPack Error: Error when generating package: LLVM
FAILED: CMakeFiles/package.util
cmd.exe /C "cd /D C:\src\llvm_package_19.1.0-rc2\build64 && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cpack.exe" --config ./CPackConfig.cmake"
ninja: build stopped: subcommand failed.
```
At the end of `NSISOutput.log`:
```
File: "llvm-objdump.exe" 31266816 bytes
File: "llvm-pdbutil.exe" 5612032 bytes
File: "llvm-profdata.exe"
Internal compiler error #12345: error mmapping datablock to 5517122.
Note: you may have one or two (large) stale temporary file(s) left in your temporary directory (Generally this only happens on Windows 9x).
```
This seems due to hitting the 2GB NSIS installer limit.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJysVV1vozgU_TXOy1UsMJiGhzx0SBlVmo9qZzX7WBm4IW6NjWzTNPvrVzYkk6m6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