[11.0.0 Release] Release Candidate 1 is here

Hello everyone,

We're a little bit behind schedule, but RC1 is now here. It was tagged
earlier today as llvmorg-11.0.0-rc1.

Source code and docs are available at
https://prereleases.llvm.org/11.0.0/#rc1 and
https://github.com/llvm/llvm-project/releases/tag/llvmorg-11.0.0-rc1

Pre-built binaries will be added as they become available.

Please file bug reports for any issues you find as blockers of
https://llvm.org/pr46725

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

RC2 was originally scheduled for Friday, but seeing as we just cut
this one it will come a little later.

Thanks,
Hans

Uploaded Ubuntu 20.04.
sha256sum clang+llvm-11.0.0-rc1-x86_64-unknown-linux-gnu.tar.xz
94a90758800f00ef037b69a1125bcf4e6e86c616db20efef8128ab7d9f24fe65

This run required plenty of extra VM disk space to avoid ‘No space left on device’ errors.
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/vda5 205839368 94245348 103058684 48% /

Testing Time: 344.33s
Unsupported : 1758
Passed : 69903
Expectedly Failed: 248
[100%] Built target check-all

grep -n 'error: ’ testing.11.0.0-rc1.log
103187:/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/…/include/c++/9/bits/uniform_int_dist.h:60:7: error: static_assert failed due to requirement ‘std::is_integral::value’ “template argument must be an integral type”
103193:/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:39:29: error: no member named ‘bind’ in namespace ‘std’; did you mean ‘find’?
103205:/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:76:3: error: no matching function for call to ‘initRandom’
103214:/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:76:3: error: no matching function for call to ‘initRandom’
103224:/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:143:3: error: no matching function for call to ‘initRandom’
103233:/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:144:3: error: no matching function for call to ‘initRandom’
103240:/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:143:3: error: no matching function for call to ‘initRandom’
103249:/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:144:3: error: no matching function for call to ‘initRandom’
103255:/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:143:3: error: no matching function for call to ‘initRandom’
103264:/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:144:3: error: no matching function for call to ‘initRandom’
212705:/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/…/include/c++/9/bits/uniform_int_dist.h:60:7: error: static_assert failed due to requirement ‘std::is_integral::value’ “template argument must be an integral type”
212715:/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:39:29: error: no member named ‘bind’ in namespace ‘std’; did you mean ‘find’?
212742:/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:76:3: error: no matching function for call to ‘initRandom’
212751:/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:76:3: error: no matching function for call to ‘initRandom’
212763:/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:143:3: error: no matching function for call to ‘initRandom’[ 47%] Built target GCC-C-execute-930718-1
212774:/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:144:3: error: no matching function for call to ‘initRandom’
212781:/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:143:3: error: no matching function for call to ‘initRandom’
212791:/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:144:3: error: no matching function for call to ‘initRandom’
212797:/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:143:3: error: no matching function for call to ‘initRandom’
212808:/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:144:3: error: no matching function for call to ‘initRandom’

sed -n 212705,212816p testing.11.0.0-rc1.log
/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/…/include/c++/9/bits/uniform_int_dist.h:60:7: error: static_assert failed due to requirement ‘std::is_integral::value’ “template argument must be an integral type”
static_assert(std::is_integral<_IntType>::value,
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:38:41: note: in instantiation of template class ‘std::uniform_int_distribution’ requested here
std::uniform_int_distribution distribution(-10.0, 10.0);
^
[ … ]
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:39:29: error: no member named ‘bind’ in namespace ‘std’; did you mean ‘find’?
auto random_double = std::bind(distribution, generator);

find
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/streambuf_iterator.h:373:5: note: 'find' declared here
find(istreambuf_iterator<_CharT> __first,
^
[ ... ]
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:76:3: error: no matching function for call to 'initRandom'
initRandom(X, R0, C0);
^~~~~~~~~~
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:160:3: note: in instantiation of function template specialization 'testTranspose<double, 3, 10>' requested here
testTranspose<double, 3, 10>();
^
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:36:29: note: candidate template ignored: substitution failure [with Ty = double]
template <typename Ty> void initRandom(Ty *A, unsigned Rows, unsigned Cols) {
^
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:76:3: error: no matching function for call to 'initRandom'
initRandom(X, R0, C0);
^~~~~~~~~~
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:161:3: note: in instantiation of function template specialization 'testTranspose<double, 4, 3>' requested here
testTranspose<double, 4, 3>();
^
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:36:29: note: candidate template ignored: substitution failure [with Ty = double]
template <typename Ty> void initRandom(Ty *A, unsigned Rows, unsigned Cols) {
^
[ ... ]
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:143:3: error: no matching function for call to 'initRandom'[ 47%] Built target GCC-C-execute-930718-1

initRandom(X, R0, C0);
^~~~~~~~~~
[ 47%] Built target GCC-C-execute-longlong
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:165:3: note: in instantiation of function template specialization 'testMultiply<double, 3, 3, 3>' requested here
testMultiply<double, 3, 3, 3>();
^
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:36:29: note: candidate template ignored: substitution failure [with Ty = double]
template <typename Ty> void initRandom(Ty *A, unsigned Rows, unsigned Cols) {
^
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:144:3: error: no matching function for call to 'initRandom'
initRandom(Y, C0, C1);
^~~~~~~~~~
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:36:29: note: candidate template ignored: substitution failure [with Ty = double]
template <typename Ty> void initRandom(Ty *A, unsigned Rows, unsigned Cols) {
^
[ 48%] Built target GCC-C-execute-941014-1
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:143:3: error: no matching function for call to 'initRandom'
initRandom(X, R0, C0);
^~~~~~~~~~[ 48%] Built target GCC-C-execute-930603-2

/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:166:3: note: in instantiation of function template specialization 'testMultiply<double, 10, 21, 23>' requested here
testMultiply<double, 10, 21, 23>();
^
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:36:29: note: candidate template ignored: substitution failure [with Ty = double]
template <typename Ty> void initRandom(Ty *A, unsigned Rows, unsigned Cols) {
^
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:144:3: error: no matching function for call to 'initRandom'
initRandom(Y, C0, C1);
^~~~~~~~~~
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:36:29: note: candidate template ignored: substitution failure [with Ty = double]
template <typename Ty> void initRandom(Ty *A, unsigned Rows, unsigned Cols) {
^
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:143:3: error: no matching function for call to 'initRandom'
initRandom(X, R0, C0);
^~~~~~~~~~
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:167:3: note: in instantiation of function template specialization 'testMultiply<double, 25, 19, 11>' requested here
[ 48%] Built target GCC-C-execute-930621-1
testMultiply<double, 25, 19, 11>();
[ 48%] Built target GCC-C-execute-930513-2
^
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:36:29: note: candidate template ignored: substitution failure [with Ty = double]
template <typename Ty> void initRandom(Ty *A, unsigned Rows, unsigned Cols) {
^
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:144:3: error: no matching function for call to 'initRandom'
initRandom(Y, C0, C1);
^~~~~~~~~~
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/SingleSource/UnitTests/matrix-types-spec.cpp:36:29: note: candidate template ignored: substitution failure [with Ty = double]
[ 48%] Built target GCC-C-execute-cmpsi-1
template <typename Ty> void initRandom(Ty *A, unsigned Rows, unsigned Cols) {
^
[ 48%] Built target GCC-C-execute-930614-2
10 errors generated.

Neil Nelson

Hello Hans,

macOS builds are up with SHA256:
105aab62eb25b2157e3c6bd180dcaedafa67795a3d9a6b75833400b2ab9441ce

No testing failures in this one at all!

Thanks,
Tobias

I didn’t realize that we also release branches for llvm-test-suite. We probably want to pick https://github.com/llvm/llvm-test-suite/commit/4bdbe4ad9dd25b432d405d8a6ac6b7410da9b7a2 onto the 11.0 branch for test-suite.

On Gentoo:

- clang fails to build due to using internal llvm headers, bug filed.

- openmp needs backport from master, also filed.

- lldb tests are still broken, still had no time to look at them.

- compiler-rt started failing on GotsanCheck after switching to new
build machine, I'm trying to figure it out right now.

Windows is ready:

$ sha256sum LLVM-11.0.0-rc1-win*.exe
b830815fd302a22abe48734e342cad76eee9e5c1322f8dc60d32ee9e52a3bd8b
LLVM-11.0.0-rc1-win32.exe
172f817e6260880a1c01aa8b5d310f5784b2e2b471df89b13136efcbbe3e9ddc
LLVM-11.0.0-rc1-win64.exe

The openmp runtime was not included due to
https://bugs.llvm.org/show_bug.cgi?id=46863 . Hopefully that can be
fixed for rc2.

Pushed as fdab65939511f946f457471100df4aac9257f677. Thanks!

Hi Hans,

We're a little bit behind schedule, but RC1 is now here. It was tagged
earlier today as llvmorg-11.0.0-rc1.

Source code and docs are available at
https://prereleases.llvm.org/11.0.0/#rc1 and
https://github.com/llvm/llvm-project/releases/tag/llvmorg-11.0.0-rc1

Pre-built binaries will be added as they become available.

Please file bug reports for any issues you find as blockers of
https://llvm.org/pr46725

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

I've now uploaded Solaris 11.4/amd64 and sparcv9 binaries (with sha256sum):

49112ff8dc6950219ffed06135214fc2a24ec8d074b38e925149c2967cb8b4a7 clang+llvm-11.0.0-rc1-amd64-pc-solaris2.11.tar.xz
b834602c2d96b9552268fc6ebb1dd985ee2ba2363e7bfe1b25a7d373540a3114 clang+llvm-11.0.0-rc1-sparcv9-sun-solaris2.11.tar.xz

The Solaris/amd64 results are mostly unchanged from 10.0.0: 2 additional
asan and 4 profile failures. Maybe I'll manage to investigate them
before the release.

As usual, the Solaris/sparcv9 results are way worse, still mostly in
tests for non-Sparc CPUs. Outside of that, the results are not much
worse than the 10.0.0 ones.

FWIW, I've included flang as well. I don't expect to do so for the
release, though.

  Rainer

Hi,

Source code and docs are available at
https://prereleases.llvm.org/11.0.0/#rc1 and
https://github.com/llvm/llvm-project/releases/tag/llvmorg-11.0.0-rc1

Fails to build here in OpenMandriva with flang and docs enabled.
Will look a bit closer and report a bug/fix when I have a bit of time.

FAILED: tools/flang/docs/CMakeFiles/docs-flang-html
cd /home/bero/temp/abf/llvm/BUILD/llvm-project-release-11.x/build/tools/flang/docs && /usr/bin/sphinx-build -b html -d /home/bero/temp/abf/llvm/BUILD/llvm-project-release-11.x/build/tools/flang/docs/_doctrees-flang-html -q -t builder-html /home/bero/temp/abf/llvm/BUILD/llvm-project-release-11.x/flang/docs /home/bero/temp/abf/llvm/BUILD/llvm-project-release-11.x/build/tools/flang/docs/html

Application error:
config directory doesn't contain a conf.py file (/home/bero/temp/abf/llvm/BUILD/llvm-project-release-11.x/flang/docs)
[16/721] Generating man Sphinx documentation for flang into "/home/bero/temp/abf/llvm/BUILD/llvm-project-release-11.x/build/tools/flang/docs/man"
FAILED: tools/flang/docs/CMakeFiles/docs-flang-man

Please file a bug when you have time. I don't think flang issues will
block the release, but it would of course be good to get them fixed.

Thanks,
Hans

For this rc1, I used two patches, which are attached. (Yes, I am
slowly, very slowly, working on getting these into the tree. :slight_smile:

Main results on amd64-freebsd11:

  Unsupported : 5121
  Passed : 69722
  Expectedly Failed : 245
  Timed Out : 12
  Failed : 485
  Unexpectedly Passed: 2

Test suite results on amd64-freebsd11:

  Passed: 2399
  Failed: 3

Main results on i386-freebsd11:

  Unsupported : 3512
  Passed : 66597
  Expectedly Failed : 230
  Timed Out : 7
  Failed : 322
  Unexpectedly Passed: 1

Uploaded:
SHA256 (clang+llvm-11.0.0-rc1-amd64-unknown-freebsd11.tar.xz) = 06c763ddea9e02a5542afb1b4e6a31954e7e025bdeab71c2cd750a124566aaa7
SHA256 (clang+llvm-11.0.0-rc1-i386-unknown-freebsd11.tar.xz) = 447755a057e222181bc3747ca63a9d36d3bad38b8fce9ac40c84feeaabd245d6

-Dimitry

fix-compiler-rt-1.diff (890 Bytes)

fix-test-suite-1.diff (552 Bytes)

Thanks! Added.

Hi,

Uploaded ARM & AArch64:
a60394b6508a9b66043f221f87eb4e2f5859f918f46e406b2c1e942d50ead7dc
clang+llvm-11.0.0-rc1-aarch64-linux-gnu.tar.xz
9b76e19a56e1c8176301d4abf8aecdaa430b0d2f0739e7b7bd742322421e7062
clang+llvm-11.0.0-rc1-armv7a-linux-gnueabihf.tar.xz

ARM still has PR44517, PR44518, PR46093. New to this release are an
unexpected pass (CodeGen/sanitize-coverage.c) and a lot of MLIR
failures (~250 of them).

AArch64 has an existing failure (waitid.cpp - intermittent) and a new
one (googletest-timeout.py - I'm going to open a bug for this).

Didn't manage to build the test-suite because of matrix-type-spec.cpp,
I think a backport has already been requested.

Cheers,
Diana

Hi,

I finished testing llvm-11.0.0-rc1 on Power PC 64bit Little Endian for

  • Ubuntu 18.04
  • Red Hat 7.4
    I have uploaded the binaries from IBM. The sha1 files are attached.

PR46995 opened for the bug found. Other than that I saw errors as reported by others for matrix-types-spec.cpp (no matching function for call to ‘initRandom’).

Thanks,
Ahsan Saghir.

clang+llvm-11.0.0-rc1-powerpc64le-linux-rhel-7.4.sha1 (98 Bytes)

clang+llvm-11.0.0-rc1-powerpc64le-linux-ubuntu-18.04.sha1 (102 Bytes)

Thanks! Added to the release page now.

PR44517 is marked as wontfix. Should we re-open it?

PR44518 :frowning: Should we add this to the list or release blockers?

Thanks! Added to the release page now.

Thanks! Added to the release page now.

PR44517 is marked as wontfix. Should we re-open it?

PR44518 :frowning: Should we add this to the list or release blockers?

Ooops, I meant PR44157 and PR44158... And no, they shouldn't be
release blockers because we've had them for a couple releases now.
We're still looking into fixing some of them.

>
> Thanks! Added to the release page now.
>
> PR44517 is marked as wontfix. Should we re-open it?
>
> PR44518 :frowning: Should we add this to the list or release blockers?

Ooops, I meant PR44157 and PR44158... And no, they shouldn't be
release blockers because we've had them for a couple releases now.
We're still looking into fixing some of them.

Ah, makes more sense :slight_smile: Thanks!

I'm finding dozens of regressions with the zig test suite, and I haven't
even gotten to the part where I run it with LLVM assertions on yet.

It's pretty time consuming on my end to create reductions. I don't
suppose any LLVM devs are willing to run the zig test suite themselves?
Happy to guide you through the process.

If you run it on a Linux host with QEMU, Wine, and wasmtime installed,
it covers a lot of targets:

x86_64-linux-none (no libc)
x86_64-linux-gnu (glibc)
x86_64-linux-musl (musl libc)
i386-linux-none (no libc)
i386-linux-musl (musl libc)
aarch64-linux-none (no libc)
aarch64-linux-gnu (glibc)
aarch64-linux-musl (musl libc)
arm-linux-none -mcpu=generic+v8a (no libc)
arm-linux-museabihf -mcpu=generic+v8a (musl libc)
mips-linux-none (no libc)
mips-linux-musl (musl libc)
mipsel-linux-none (no libc)
mipsel-linux-musl (musl libc)
riscv64-linux-none (no libc)
riscv64-linux-musl (musl libc)
x86_64-macosx-gnu (it will cross compile the test but not run them)
x86_64-windows-msvc (no libc)
x86_64-windows-gnu (mingw-w64 libc)
i386-windows-msvc (no libc)
i386-windows-gnu (mingw-w64 libc)
wasm32-wasi

When something fails there is a straightforward (but time consuming)
process to get LLVM IR code and make a reduction for a bug report.

Any takers?