[9.0.0 Release] Release Candidate 2 is here

Hello everyone,

9.0.0-rc2 was tagged yesterday from the release_90 branch at r368683.
In the Git monorepo it's available as the llvmorg-9.0.0-rc2 tag.

Source code and docs are available at https://prereleases.llvm.org/9.0.0/#rc2

Binaries will be added as they become available.

The tag went in roughly one week behind schedule (see "Upcoming
Releases" at https://llvm.org), but there are still two weeks left to
the planned release date.

Please file bug reports for any issues you find and mark them blocking
https://llvm.org/PR42474 Please also look at the blockers and see if
there's anything you can help with -- there are several bugs which
lack traction at the moment.

Release testers: please start your engines, run the script, share your
results, and upload binaries.

Many thanks,
Hans

Windows is ready:

$ sha256sum LLVM-9.0.0-rc2-win*.exe
f07bd586c77420bd5904a7abbb2d26700907603e69ab4373868280866ed63b92
LLVM-9.0.0-rc2-win32.exe
b19df257535d510a671a82fc4e006441c45c223724b2d44a8a1763ac55181089
LLVM-9.0.0-rc2-win64.exe

They were built with attached batch file.

Thanks,
Hans

build_llvm_900-rc2.bat|attachment (5.58 KB)

Hi,

Uploaded ARM and AArch64:
a01381f8ca747af06cae4e9ae216ec5d1d4e0482a36193428907c714c02f227d
clang+llvm-9.0.0-rc2-aarch64-linux-gnu.tar.xz
5cdadf2986f9957873256bab54bebb42f96295740e7c96cb5e8646b3bd61cf5d
clang+llvm-9.0.0-rc2-armv7a-linux-gnueabihf.tar.xz

ARM is ok, AArch64 still has PR42841.

Cheers,
Diana

Hello everyone,

9.0.0-rc2 was tagged yesterday from the release_90 branch at r368683.
In the Git monorepo it's available as the llvmorg-9.0.0-rc2 tag.

[...]

Release testers: please start your engines, run the script, share your
results, and upload binaries.

  Bonjour,

One severe regression on Debian on libc++ on mips*
https://bugs.llvm.org/show_bug.cgi?id=43011

Simon found the regressor!

Besides that, we look good. I will try to get a rebuild of the Debian archive with this version.

Sylvestre

For this rc, I only needed one patch, from:

* https://bugs.llvm.org/show_bug.cgi?id=42894 - FreeBSD needs -pthread link flag for dynamic ASan tests

Main test results on amd64-freebsd11:

Hi,
I've updated the main toolchain in OpenMandriva cooker and ran a mass rebuild - looking good so far on aarch64, armv7hnl, x86_64, i686 and znver1.

The only serious issue we've run into so far is that clang crashes when trying to build current firefox on x86_64. Will put up a bug report later.

There's a few bootstrapping issues on RISC-V, seemingly related to clang's version of stddef.h somehow getting in the include path while building with gcc - but that may well be a bug in our packaging, won't report a bug until we've investigated this further.
FAILED: tools/clang/lib/Tooling/CMakeFiles/obj.clangTooling.dir/ArgumentsAdjusters.cpp.o
/usr/bin/g++ -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/clang/lib/Tooling -I/builddir/build/BUILD/llvm-9.0.0-20190814/clang/lib/Tooling -I/builddir/build/BUILD/llvm-9.0.0-20190814/clang/include -Itools/clang/include -I/usr/include/libxml2 -Iinclude -I/builddir/build/BUILD/llvm-9.0.0-20190814/llvm/include -I/builddir/build/BUILD/llvm-9.0.0-20190814/clang/lib/Headers -Os -fomit-frame-pointer -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -march=rv64imafdc -mabi=lp64d -O3 -fpic -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fuse-ld=bfd -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++1y -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -Os -fomit-frame-pointer -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -march=rv64imafdc -mabi=lp64d -O3 -fpic -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fuse-ld=bfd -MD -MT tools/clang/lib/Tooling/CMakeFiles/obj.clangTooling.dir/ArgumentsAdjusters.cpp.o -MF tools/clang/lib/Tooling/CMakeFiles/obj.clangTooling.dir/ArgumentsAdjusters.cpp.o.d -o tools/clang/lib/Tooling/CMakeFiles/obj.clangTooling.dir/ArgumentsAdjusters.cpp.o -c /builddir/build/BUILD/llvm-9.0.0-20190814/clang/lib/Tooling/ArgumentsAdjusters.cpp
In file included from /usr/include/c++/9.2.0/bits/cxxabi_init_exception.h:38,
                 from /usr/include/c++/9.2.0/bits/exception_ptr.h:38,
                 from /usr/include/c++/9.2.0/exception:143,
                 from /usr/include/c++/9.2.0/new:40,
                 from /builddir/build/BUILD/llvm-9.0.0-20190814/llvm/include/llvm/Support/Compiler.h:19,
                 from /builddir/build/BUILD/llvm-9.0.0-20190814/llvm/include/llvm/Support/Casting.h:17,
                 from /builddir/build/BUILD/llvm-9.0.0-20190814/clang/include/clang/Basic/LLVM.h:21,
                 from /builddir/build/BUILD/llvm-9.0.0-20190814/clang/include/clang/Tooling/ArgumentsAdjusters.h:19,
                 from /builddir/build/BUILD/llvm-9.0.0-20190814/clang/lib/Tooling/ArgumentsAdjusters.cpp:14:
/builddir/build/BUILD/llvm-9.0.0-20190814/clang/lib/Headers/stddef.h:22:19: error: missing binary operator before token "("
   22 | #if !__has_feature(modules)
      > ^

ttyl
bero

I’ll have this fixed by Monday at the latest.
(probably tomorrow)

– Marshall

> Hello everyone,
>
> 9.0.0-rc2 was tagged yesterday from the release_90 branch at r368683.
> In the Git monorepo it's available as the llvmorg-9.0.0-rc2 tag.
[...]
> Release testers: please start your engines, run the script, share your
> results, and upload binaries.

  Bonjour,

One severe regression on Debian on libc++ on mips*
https://bugs.llvm.org/show_bug.cgi?id=43011

Simon found the regressor!

Besides that, we look good. I will try to get a rebuild of the Debian archive with this version.

I'll have this fixed by Monday at the latest.
(probably tomorrow)

thanks seeing same regression with Yocto as well

https://errors.yoctoproject.org/Errors/Details/263926/

When I built rv2 for SLES11 linux I saw the same phase 2/3 mismatch. Is that expected?

Hi Bernhard,

Great! Please keep me posted on the bug.

No, there should be no mismatch now. Maybe you ended up using a
version of test-release.sh that doen't have the fixes?

Oh! Indeed, that was probably it. I’ll try again.