[llvm-dev] LLVM 11.0.1-rc2 has been tagged

Khem Raj via llvm-dev llvm-dev at lists.llvm.org
Sat Dec 19 16:29:40 PST 2020


On Sat, Dec 19, 2020 at 11:06 AM Neil Nelson via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
>
> Uploaded Ubuntu 20.10.
>
> sha256sum clang+llvm-11.0.1-rc2-x86_64-linux-gnu-ubuntu-20.10.tar.xz
> fe243c575c7d90f6019be55c9aa56e2d8f3d398ef5410d4dc9b71ed0603cd809
>
> /home/nnelson/Documents/llvm-project/llvm/utils/release/rc2/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>
>          ^~~~~~~~~~~~~~
>

Since 5.5 release Linux has dropped sysctl syscall see
https://github.com/torvalds/linux/commit/61a47c1ad3a4dc6882f01ebdc88138ac62d0df03
and subsequently, glibc also dropped the sys/sysctl.h header and
sysctl function. So perhaps tests need to cater for that

> I have a sysctl.h here.
> /usr/include/linux/sysctl.h
>
> FAIL: Profile-x86_64 :: Posix/gcov-fork.c (66166 of 71984)
> ******************** TEST 'Profile-x86_64 :: Posix/gcov-fork.c' FAILED ********************
> Script:
> --
> : 'RUN: at line 8';   mkdir -p /home/nnelson/Documents/llvm-project/llvm/utils/release/rc2/Phase3/Release+Asserts/llvmCore-11.0.1-rc2.obj/projects/compiler-rt/test/profile/Profile-x86_64/Posix/Output/gcov-fork.c.tmp.d && cd /home/nnelson/Documents/llvm-project/llvm/utils/release/rc2/Phase3/Release+Asserts/llvmCore-11.0.1-rc2.obj/projects/compiler-rt/test/profile/Profile-x86_64/Posix/Output/gcov-fork.c.tmp.d
> : 'RUN: at line 9';      /home/nnelson/Documents/llvm-project/llvm/utils/release/rc2/Phase3/Release+Asserts/llvmCore-11.0.1-rc2.obj/./bin/clang   -m64  -ldl --coverage /home/nnelson/Documents/llvm-project/llvm/utils/release/rc2/llvm-project/compiler-rt/test/profile/Posix/gcov-fork.c -o /home/nnelson/Documents/llvm-project/llvm/utils/release/rc2/Phase3/Release+Asserts/llvmCore-11.0.1-rc2.obj/projects/compiler-rt/test/profile/Profile-x86_64/Posix/Output/gcov-fork.c.tmp
> : 'RUN: at line 10';   test -f gcov-fork.gcno
> : 'RUN: at line 12';   rm -f gcov-fork.gcda &&  /home/nnelson/Documents/llvm-project/llvm/utils/release/rc2/Phase3/Release+Asserts/llvmCore-11.0.1-rc2.obj/projects/compiler-rt/test/profile/Profile-x86_64/Posix/Output/gcov-fork.c.tmp
> : 'RUN: at line 13';   llvm-cov gcov -t gcov-fork.gcda | FileCheck /home/nnelson/Documents/llvm-project/llvm/utils/release/rc2/llvm-project/compiler-rt/test/profile/Posix/gcov-fork.c
> --
> Exit Code: 1
>
> Command Output (stderr):
> --
> /home/nnelson/Documents/llvm-project/llvm/utils/release/rc2/llvm-project/compiler-rt/test/profile/Posix/gcov-fork.c:18:32: error: CHECK-NEXT: expected string not found in input
> void func2() {} // CHECK-NEXT: 2: [[#@LINE]]:
>                                ^
> <stdin>:22:21: note: scanning from here
>  1: 17:void func1() {} // CHECK: 1: [[#@LINE]]:void func1()
>                     ^
> <stdin>:22:21: note: with "@LINE" equal to "18"
>  1: 17:void func1() {} // CHECK: 1: [[#@LINE]]:void func1()
>                     ^
> <stdin>:23:39: note: possible intended match here
>  1: 18:void func2() {} // CHECK-NEXT: 2: [[#@LINE]]:
>                                       ^
>
> Input file: <stdin>
> Check file: /home/nnelson/Documents/llvm-project/llvm/utils/release/rc2/llvm-project/compiler-rt/test/profile/Posix/gcov-fork.c
>
> -dump-input=help explains the following input dump.
>
> Input was:
> <<<<<<
>            .
>            .
>            .
>           17:  -: 12:// RUN: rm -f gcov-fork.gcda && %run %t
>           18:  -: 13:// RUN: llvm-cov gcov -t gcov-fork.gcda | FileCheck %s
>           19:  -: 14:
>           20:  -: 15:#include <unistd.h>
>           21:  -: 16:
>           22:  1: 17:void func1() {} // CHECK: 1: [[#@LINE]]:void func1()
> next:18'0                         X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
>           23:  1: 18:void func2() {} // CHECK-NEXT: 2: [[#@LINE]]:
> next:18'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> next:18'1                                           ?              possible intended match
>           24:  1: 19:int main(void) { // CHECK-NEXT: 1: [[#@LINE]]:
> next:18'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>           25:  1: 20: func1(); // CHECK-NEXT: 1: [[#@LINE]]:
> next:18'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>           26:  1: 21: if (fork() == -1) return 1; // CHECK-NEXT: 1: [[#@LINE]]:
> next:18'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>           27:  1: 22: func2(); // CHECK-NEXT: 2: [[#@LINE]]:
> next:18'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>           28:  1: 23: return 0; // CHECK-NEXT: 2: [[#@LINE]]:
> next:18'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>           29:  1: 24:}
> next:18'0     ~~~~~~~~
> >>>>>>
>
> --
>
> ********************
> Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90
> FAIL: SanitizerCommon-Unit :: ./Sanitizer-x86_64-Test/SanitizerLinux.ThreadDescriptorSize (66433 of 71984)
> ******************** 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/rc2/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 (0 ms)
> [----------] 1 test from SanitizerLinux (0 ms total)
>
> [----------] Global test environment tear-down
> [==========] 1 test from 1 test case ran. (0 ms total)
> [  PASSED  ] 0 tests.
> [  FAILED  ] 1 test, listed below:
> [  FAILED  ] SanitizerLinux.ThreadDescriptorSize
>
>  1 FAILED TEST
>
> ********************
> Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
> ********************
> Failed Tests (2):
>   Profile-x86_64 :: Posix/gcov-fork.c
>   SanitizerCommon-Unit :: ./Sanitizer-x86_64-Test/SanitizerLinux.ThreadDescriptorSize
>
>
> Testing Time: 355.58s
>   Unsupported      :  1766
>   Passed           : 69967
>   Expectedly Failed:   249
>   Failed           :     2
>
> tail testing.11.0.1-rc2.log
> make[2]: Target 'CMakeFiles/check.dir/all' not remade because of errors.
> make[2]: Leaving directory '/home/nnelson/Documents/llvm-project/llvm/utils/release/rc2/test-suite-build'
> make[1]: *** [CMakeFiles/Makefile2:14713: CMakeFiles/check.dir/rule] Error 2
> make[1]: Target 'check' not remade because of errors.
> make[1]: Leaving directory '/home/nnelson/Documents/llvm-project/llvm/utils/release/rc2/test-suite-build'
> make: *** [Makefile:165: check] Error 2
> [Release+Asserts Phase3] test suite failed
>
>
> llvm-test-suit
> /home/nnelson/Documents/llvm-project/llvm/utils/release/rc2/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>
>          ^~~~~~~~~~~~~~
> 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
> make[2]: *** Waiting for unfinished jobs....
> make[1]: *** [CMakeFiles/Makefile2:33683: MultiSource/Benchmarks/DOE-ProxyApps-C++/CLAMR/CMakeFiles/CLAMR.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
> make: *** [Makefile:130: all] Error 2
>
> llvm-test-suit ended with
> [ 38%] Built target gcc-loops
> make[1]: Leaving directory '/home/nnelson/Documents/llvm-project/llvm/utils/release/rc2/test-suite-build'
>
> Brian Cain suggested I use -lldb in the test-release.sh command. That run obtained 44 lldb errors that I will provide in a bug.
>
> I do not mind running this testing a number of times as you make changes. Let me know.
>
> Neil Nelson
>
> On 12/18/20 11:33 PM, Tom Stellard via llvm-dev wrote:
>
> Hi,
>
> I've just tagged LLVM 11.0.1-rc2, hopefully this will be the last release candidate.  Testers can begin testing and uploading binaries.
>
> -Tom
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev


More information about the llvm-dev mailing list