LLVM 19.1.0-rc3 tagged

Hi!

Last RC before final, please have a look, run your tests and report any issues.

Thanks,
Tobias

rc3 broke the Solaris/sparcv9 build: instead of the merged but superceded 282f103026c78e1881843aee61ac412c153f6df9, the new PR #101236 which includes the fix should have been used.

Can you put up a new PR that fixes it and I’ll will merge it as soon as possible so it will be fixed for final.

It would be good if you could close or comment on outdated PRs that shouldn’t be merged, there is a lot of them and it can be hard to keep all context in my head when working though the queue.

Sure: I just created PR #104916 for that. Solaris/sparcv9 testing in progress…

You’re right, of course: sorry about the mess.

1 Like

Linaro has built and tested the Arm/AArch64 release binaries for LLVM 19.1.0 RC3, which are available for download at: Linaro Snapshots

sha256sum clang+llvm-19.1.0-rc3-aarch64-linux-gnu.tar.xz
f74be0a9e5340b3700b53da192a328358e0fc5bfe276ed445cb95a7cfbd9b19b

sha256sum clang+llvm-19.1.0-rc3-armv7a-linux-gnueabihf.tar.gz
940d1bd9fc8637bca77bab30c6c60b7dc7ef2f4fb87af157b6c70cb7495ee0af

sha256sum LLVM-19.1.0-rc3-woa64.exe
a5f74fb5edf490692a1947254056617e2f92a5fe5236fda133e213353012a17f

x86_64 Windows binaries are ready. sha256 hashes and links below:

LLVM-19.1.0-rc3-win64.exe
0ce193c9e021a1897dc0e42efc0e42cbc42efbe2206bc460493d59f40c76cf42

clang+llvm-19.1.0-rc3-x86_64-pc-windows-msvc.tar.xz
cdd741bbf1796fc23660306e3a49fc13d949bd4e763665db359fa2184ec5f991

I used the “nsisbi” installer as discussed in Windows release packaging for 19.1.0-rc2 fails with `Internal compiler error #12345: error mmapping datablock to 5517122.` · Issue #101994 · llvm/llvm-project · GitHub

The build was done with

llvm-project\llvm\utils\release\build_llvm_release.bat --x64 --version=19.1.0-rc3

at llvmorg-19.1.0-rc3.

Still no 32-bit binaries due to 32-bit x86 Windows builds fail with `sanitizer_common.h(1101): error C2821: first formal parameter to 'operator new' must be 'size_t'` · Issue #101998 · llvm/llvm-project · GitHub

A user reported that the installer built with “nsisbi” can’t be extracted with 7zip, which is something they rely on.

So I’ll go back to the approach from rc2 of reducing the number of targets. As suggested on that thread, just X86 and ARM/AArch64 seems like a fair choice:

diff --git a/llvm/utils/release/build_llvm_release.bat b/llvm/utils/release/build_llvm_release.bat
index 55b20c7c28ac..64ae2d41ab2b 100755
--- a/llvm/utils/release/build_llvm_release.bat
+++ b/llvm/utils/release/build_llvm_release.bat
@@ -151,6 +151,7 @@ set common_cmake_flags=^
   -DCMAKE_BUILD_TYPE=Release ^
   -DLLVM_ENABLE_ASSERTIONS=OFF ^
   -DLLVM_INSTALL_TOOLCHAIN_ONLY=ON ^
+  -DLLVM_TARGETS_TO_BUILD="AArch64;ARM;X86" ^^M
   -DLLVM_BUILD_LLVM_C_DYLIB=ON ^
   -DCMAKE_INSTALL_UCRT_LIBRARIES=ON ^
   -DPython3_FIND_REGISTRY=NEVER ^

Here is a new build of the rc3 installer:

LLVM-19.1.0-rc3-win64.exe
sha256: cb2e0c16aeac5e72edf047299a4c2309235e9d151033c4868f530bcc85a3c5ed

1 Like

32-bit ARM can be dropped later:

  1. WinEH for 32-bit ARM is not full implemented, see Funclet EH is not implemented for this target (arm-pc-windows-msvc) · Issue #37689 · llvm/llvm-project (github.com)
  2. It seems Microsoft is going to drop support for 32-bit ARM, see Windows SDK 10.0.26100.0 dropped support for 32-bit ARM · Issue #839 · zufuliu/notepad4 (github.com)