Skip to content

Windows release packaging for 19.1.0-rc2 fails with Internal compiler error #12345: error mmapping datablock to 5517122. #101994

Closed
@zmodem

Description

@zmodem

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions