I've tagged LLVM 11.0.1-rc1. Testers may begin testing and uploading binaries. If you still have bugs you want fixed in LLVM 11.0.1, you have until Dec. 8 to request backports. You can make these requests by filing a bug at bugs.llvm.org and putting release-11.0.1 in the 'blocks' field.
FAIL: SanitizerCommon-Unit :: ./Sanitizer-x86_64-Test/SanitizerLinux.ThreadDescriptorSize (66416 of 71964) ******************** TEST 'SanitizerCommon-Unit :: ./Sanitizer-x86_64-Test/SanitizerLinux.ThreadDescriptorSize' FAILED ******************** Note: Google Test filter = SanitizerLinux.ThreadDescriptorSize [==========] Running 1 test from 1 test case. [----------] Global test environment set-up. [----------] 1 test from SanitizerLinux [ RUN ] SanitizerLinux.ThreadDescriptorSize /home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-project/compiler-rt/lib/sanitizer_common/tests/sanitizer_linux_test.cpp:222: Failure Expected: (uptr)result Which is: 2496 To be equal to: ThreadDescriptorSize() Which is: 2304 [ FAILED ] SanitizerLinux.ThreadDescriptorSize (10 ms) [----------] 1 test from SanitizerLinux (10 ms total)
[----------] Global test environment tear-down [==========] 1 test from 1 test case ran. (10 ms total) [ PASSED ] 0 tests. [ FAILED ] 1 test, listed below: [ FAILED ] SanitizerLinux.ThreadDescriptorSize
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/MultiSource/Benchmarks/DOE-ProxyApps-C++/CLAMR/memstats.c:60:10: fatal error: 'sys/sysctl.h' file not found #include <sys/sysctl.h>
When running ``llvm-test-suite
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-test-suite/MultiSource/Benchmarks/DOE-ProxyApps-C++/CLAMR/memstats.c:60:10: fatal error: ‘sys/sysctl.h’ file not found #include <sys/sysctl.h>
^~~~~~~~~~~~~~
[ 30%] Linking C executable lpbench
1 error generated.
make[2]: *** [MultiSource/Benchmarks/DOE-ProxyApps-C++/CLAMR/CMakeFiles/CLAMR.dir/build.make:362: MultiSource/Benchmarks/DOE-ProxyApps-C++/CLAMR/CMakeFiles/CLAMR.dir/memstats.c.o] Error 1
MacOS build: clang+llvm-11.0.1-rc1-x86_64-apple-darwin.tar.xz
with SHA256: c9ee87d7e42df8494a9f42993ed499479b3ce118c940a6e8907d075ceb913223
is uploaded.
The same tests as before failed:
FAIL: libunwind :: libunwind_01.pass.cpp (69255 of 69302)
FAIL: libunwind :: signal_frame.pass.cpp (69258 of 69302)
I had to use the following patch to use Python 3:
diff --git a/openmp/runtime/test/lit.cfg b/openmp/runtime/test/lit.cfg
index 357b18a205d..96c0c3a1da7 100644
--- a/openmp/runtime/test/lit.cfg
+++ b/openmp/runtime/test/lit.cfg
@@ -76,7 +76,7 @@ if config.operating_system == 'Darwin':
cmd = subprocess.Popen(['xcrun', '--show-sdk-path'],
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
out, err = cmd.communicate()
- out = out.strip()
+ out = out.strip().decode()
res = cmd.wait()
if res == 0 and out:
config.test_flags += " -isysroot " + out
I just realized that we should probably make an arm64 build as well
for those new fancy mac's.
What do people think is the best solution here, a fat universal build
that will be double the size (currently llvm+clang is already ~400MB
packed so it will be very big), or two separate builds?
The pro of having two separate builds is that we can set the correct
default triple instead of a single one, the downside is that I need to
build it twice for every version.
On Windows we're building two different packages (32-bit and 64-bit) in the same script [1], perhaps the same should be done here? Smaller packages is better?
Maybe someone with an M1 machine can take on the task of testing releases on those? I would happily do that but I don’t have such a machine and can’t afford one right now unfortunately.
Yeah I think run the test-release script and if it's not way worse
than on master we can upload it as part of the release. If it's
unusable in the current state we should probably skip 11.0.1 and wait
until we have landed some fixes in 12.
BTW - Neil – if you decide to post binaries for Ubuntu 20, you should know that there was a request in another thread to include LLDB in the ubuntu packages. The ubuntu binaries I’ve made do include it (test-release takes an “-lldb” arg).
IBM has been working towards enabling LLVM development for AIX with the LLVM community. Currently, there are several OS header updates that IBM needs to deploy with the OS in order to work correctly with clang. I hope to publish a package, which includes clang binaries for AIX so that everyone has access to a build compiler for LLVM on AIX, though it’s not available yet. If an early release of such a package would be useful to you, please let me know and I’ll see if I can cut some red tape and get you something. There are some significant limitations to these compilers. These include challenges with functional exception handling, altivec, debug support, and TLS, to name a few, nonetheless, we have been able to bootstrap LLVM on AIX with some temporary downstream work.