Anil Mahmud via llvm-dev
2020-Feb-05 20:00 UTC
[llvm-dev] [Release-testers] [10.0.0 Release] Release Candidate 1 is here
Hello, When running test-release.sh using GCC 5.4.0 we encountered this error : /home/anil/llvm1000_rc1_binary_upload/rc1/llvm-project/clang-tools-extra/clangd/Hover.cpp: In function ‘llvm::StringLiteral clang::clangd::{anonymous}::getNameForExpr(const clang::Expr*)’: /home/anil/llvm1000_rc1_binary_upload/rc1/llvm-project/clang-tools-extra/clangd/Hover.cpp:450:10: error: could not convert ‘(const char*)"expression"’ from ‘const char*’ to ‘llvm::StringLiteral’ return "expression"; ^ This was fixed by the commit 40514a7d commit 40514a7d7a3b745ba43c2d014e54a0d78d65d957 Author: Michael Liao <michael.hliao at gmail.com> Date: Thu Jan 16 16:02:47 2020 -0500 [clangd] Add workaround for GCC5 host compilers. NFC. diff --git a/clang-tools-extra/clangd/Hover.cpp b/clang-tools-extra/clangd/Hover.cpp index cfa5e3b..ad715db 100644 --- a/clang-tools-extra/clangd/Hover.cpp +++ b/clang-tools-extra/clangd/Hover.cpp @@ -439,7 +439,13 @@ bool isLiteral(const Expr *E) { llvm::StringLiteral getNameForExpr(const Expr *E) { // FIXME: Come up with names for `special` expressions. - return "expression"; + // + // It's an known issue for GCC5, https://godbolt.org/z/Z_tbgi. Work around + // that by using explicit conversion constructor. + // + // TODO: Once GCC5 is fully retired and not the minimal requirement as stated + // in `GettingStarted`, please remove the explicit conversion constructor. + return llvm::StringLiteral("expression"); } Can this be backported to RC1 10.0.0 ? Thanks, Anil Mahmud On Tue, Feb 4, 2020 at 6:07 AM Dimitry Andric via Release-testers < release-testers at lists.llvm.org> wrote:> On 30 Jan 2020, at 20:38, Hans Wennborg via Release-testers < > release-testers at lists.llvm.org> wrote: > > > > It took a bit longer than planned due to master being a somewhat > > unstable at the branch point, but Release Candidate 1 has now been > > tagged as llvmorg-10.0.0-rc1. > > I tried building rc1 for 32-bit FreeBSD, but ran into a compile error in > mlir: > > /home/dim/llvm/10.0.0/rc1/llvm-project/mlir/lib/Transforms/DialectConversion.cpp:787:67: > error: non-constant-expression cannot be narrowed from type 'unsigned int' > to 'Region::iterator::difference_type' (aka 'int') in initializer list > [-Wc++11-narrowing] > blockActions.push_back(BlockAction::getMove(&block, {®ion, > position})); > ^~~~~~~~ > /home/dim/llvm/10.0.0/rc1/llvm-project/mlir/lib/Transforms/DialectConversion.cpp:787:67: > note: insert an explicit cast to silence this issue > blockActions.push_back(BlockAction::getMove(&block, {®ion, > position})); > ^~~~~~~~ > > static_cast<difference_type>( ) > 1 error generated. > > I submitted https://bugs.llvm.org/show_bug.cgi?id=44767 for this. > > -Dimitry > > _______________________________________________ > Release-testers mailing list > Release-testers at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/release-testers >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200205/f6b7fa38/attachment.html>
Anil Mahmud via llvm-dev
2020-Feb-05 20:30 UTC
[llvm-dev] [Release-testers] [10.0.0 Release] Release Candidate 1 is here
The following error was found when running test-release.sh on Red Hat 7.4 ******************** FAIL: LLVM :: tools/llvm-ar/quick-append.test (53100 of 59657) ******************** TEST 'LLVM :: tools/llvm-ar/quick-append.test' FAILED ******************** Script: -- : 'RUN: at line 3'; rm -rf /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp && mkdir -p /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp : 'RUN: at line 4'; /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/yaml2obj /scratch/anil/llvm1000_rc1_binary_upload/rc1/llvm-project/llvm/test/tools/llvm-ar/quick-append.test -o /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/1.o --docnum=1 : 'RUN: at line 5'; /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/yaml2obj /scratch/anil/llvm1000_rc1_binary_upload/rc1/llvm-project/llvm/test/tools/llvm-ar/quick-append.test -o /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/2.o --docnum=2 : 'RUN: at line 8'; /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-ar qc /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/single.a /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/1.o : 'RUN: at line 9'; /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-ar t /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/single.a | /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/FileCheck /scratch/anil/llvm1000_rc1_binary_upload/rc1/llvm-project/llvm/test/tools/llvm-ar/quick-append.test --check-prefix=SINGLE --match-full-lines --implicit-check-not {{.}} : 'RUN: at line 14'; /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-nm --print-armap /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/single.a | /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/FileCheck /scratch/anil/llvm1000_rc1_binary_upload/rc1/llvm-project/llvm/test/tools/llvm-ar/quick-append.test --check-prefix=SINGLE-SYM : 'RUN: at line 20'; /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-ar qc /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/multiple.a /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/1.o /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/2.o : 'RUN: at line 21'; /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-ar t /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/multiple.a | /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/FileCheck /scratch/anil/llvm1000_rc1_binary_upload/rc1/llvm-project/llvm/test/tools/llvm-ar/quick-append.test --check-prefix=MULTIPLE --match-full-lines --implicit-check-not {{.}} : 'RUN: at line 27'; /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-nm --print-armap /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/multiple.a | /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/FileCheck /scratch/anil/llvm1000_rc1_binary_upload/rc1/llvm-project/llvm/test/tools/llvm-ar/quick-append.test --check-prefix=MULTIPLE-SYM : 'RUN: at line 34'; /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-ar qc /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/same.a /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/1.o /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/1.o : 'RUN: at line 35'; /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-ar t /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/same.a | /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/FileCheck /scratch/anil/llvm1000_rc1_binary_upload/rc1/llvm-project/llvm/test/tools/llvm-ar/quick-append.test --check-prefix=SAME -DFILE=/scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/2.o --match-full-lines --implicit-check-not {{.}} : 'RUN: at line 41'; /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-nm --print-armap /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/same.a | /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/FileCheck /scratch/anil/llvm1000_rc1_binary_upload/rc1/llvm-project/llvm/test/tools/llvm-ar/quick-append.test --check-prefix=SAME-SYM : 'RUN: at line 48'; /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-ar qc /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/without.a : 'RUN: at line 49'; /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-ar t /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/without.a | /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/count 0 : 'RUN: at line 51'; /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-nm --print-armap /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/without.a | /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/count 0 : 'RUN: at line 54'; not /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-ar qc 2>&1 | /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/FileCheck /scratch/anil/llvm1000_rc1_binary_upload/rc1/llvm-project/llvm/test/tools/llvm-ar/quick-append.test --check-prefix=NO-ARCHIVE : 'RUN: at line 60'; not /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-ar qc /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/missing.a /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/missing.txt 2>&1 | /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/FileCheck /scratch/anil/llvm1000_rc1_binary_upload/rc1/llvm-project/llvm/test/tools/llvm-ar/quick-append.test --check-prefix=MISSING-FILE -DFILE=/scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/missing.txt : 'RUN: at line 66'; /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-ar qcT /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/thin-multiple.a /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/1.o : 'RUN: at line 67'; /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-ar qcT /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/thin-multiple.a /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/2.o : 'RUN: at line 68'; /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-ar t /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/thin-multiple.a | /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/FileCheck /scratch/anil/llvm1000_rc1_binary_upload/rc1/llvm-project/llvm/test/tools/llvm-ar/quick-append.test --check-prefix=MULTIPLE : 'RUN: at line 71'; /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-ar qcT /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/thin-same.a /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/1.o /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/1.o : 'RUN: at line 72'; /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-ar t /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/thin-same.a | /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/FileCheck /scratch/anil/llvm1000_rc1_binary_upload/rc1/llvm-project/llvm/test/tools/llvm-ar/quick-append.test --check-prefix=SAME -- Exit Code: 1 Command Output (stderr): -- + : 'RUN: at line 3' + rm -rf /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp + mkdir -p /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp + : 'RUN: at line 4' + /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/yaml2obj /scratch/anil/llvm1000_rc1_binary_upload/rc1/llvm-project/llvm/test/tools/llvm-ar/quick-append.test -o /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/1.o --docnum=1 + : 'RUN: at line 5' + /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/yaml2obj /scratch/anil/llvm1000_rc1_binary_upload/rc1/llvm-project/llvm/test/tools/llvm-ar/quick-append.test -o /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/2.o --docnum=2 + : 'RUN: at line 8' + /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-ar qc /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/single.a /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/1.o + : 'RUN: at line 9' + /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-ar t /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/single.a + /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/FileCheck /scratch/anil/llvm1000_rc1_binary_upload/rc1/llvm-project/llvm/test/tools/llvm-ar/quick-append.test --check-prefix=SINGLE --match-full-lines --implicit-check-not '{{.}}' + : 'RUN: at line 14' + /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-nm --print-armap /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/single.a + /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/FileCheck /scratch/anil/llvm1000_rc1_binary_upload/rc1/llvm-project/llvm/test/tools/llvm-ar/quick-append.test --check-prefix=SINGLE-SYM + : 'RUN: at line 20' + /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-ar qc /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/multiple.a /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/1.o /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/2.o + : 'RUN: at line 21' + /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-ar t /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/multiple.a + /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/FileCheck /scratch/anil/llvm1000_rc1_binary_upload/rc1/llvm-project/llvm/test/tools/llvm-ar/quick-append.test --check-prefix=MULTIPLE --match-full-lines --implicit-check-not '{{.}}' + : 'RUN: at line 27' + /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-nm --print-armap /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/multiple.a + /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/FileCheck /scratch/anil/llvm1000_rc1_binary_upload/rc1/llvm-project/llvm/test/tools/llvm-ar/quick-append.test --check-prefix=MULTIPLE-SYM + : 'RUN: at line 34' + /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-ar qc /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/same.a /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/1.o /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/1.o + : 'RUN: at line 35' + /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-ar t /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/same.a + /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/FileCheck /scratch/anil/llvm1000_rc1_binary_upload/rc1/llvm-project/llvm/test/tools/llvm-ar/quick-append.test --check-prefix=SAME -DFILE=/scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/2.o --match-full-lines --implicit-check-not '{{.}}' + : 'RUN: at line 41' + /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-nm --print-armap /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/same.a + /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/FileCheck /scratch/anil/llvm1000_rc1_binary_upload/rc1/llvm-project/llvm/test/tools/llvm-ar/quick-append.test --check-prefix=SAME-SYM + : 'RUN: at line 48' + /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-ar qc /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/without.a + : 'RUN: at line 49' + /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-ar t /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/without.a + /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/count 0 + : 'RUN: at line 51' + /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-nm --print-armap /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/without.a + /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/count 0 + : 'RUN: at line 54' + not /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-ar qc + /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/FileCheck /scratch/anil/llvm1000_rc1_binary_upload/rc1/llvm-project/llvm/test/tools/llvm-ar/quick-append.test --check-prefix=NO-ARCHIVE + : 'RUN: at line 60' + not /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-ar qc /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/missing.a /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/missing.txt + /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/FileCheck /scratch/anil/llvm1000_rc1_binary_upload/rc1/llvm-project/llvm/test/tools/llvm-ar/quick-append.test --check-prefix=MISSING-FILE -DFILE=/scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/missing.txt + : 'RUN: at line 66' + /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-ar qcT /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/thin-multiple.a /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/1.o + : 'RUN: at line 67' + /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-ar qcT /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/thin-multiple.a /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/2.o + : 'RUN: at line 68' + /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-ar t /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/thin-multiple.a + /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/FileCheck /scratch/anil/llvm1000_rc1_binary_upload/rc1/llvm-project/llvm/test/tools/llvm-ar/quick-append.test --check-prefix=MULTIPLE + : 'RUN: at line 71' + /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-ar qcT /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/thin-same.a /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/1.o /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/1.o + : 'RUN: at line 72' + /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/llvm-ar t /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/thin-same.a + /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/bin/FileCheck /scratch/anil/llvm1000_rc1_binary_upload/rc1/llvm-project/llvm/test/tools/llvm-ar/quick-append.test --check-prefix=SAME /scratch/anil/llvm1000_rc1_binary_upload/rc1/llvm-project/llvm/test/tools/llvm-ar/quick-append.test:39:14: error: SAME-NEXT: is on the same line as previous match # SAME-NEXT: 1.o ^ <stdin>:1:133: note: 'next' match was here /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/1.o ^ <stdin>:1:82: note: previous match ended here /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/1.o ^ -- On Wed, Feb 5, 2020 at 3:00 PM Anil Mahmud <anil.mahmud.llvm at gmail.com> wrote:> Hello, > > When running test-release.sh using GCC 5.4.0 we encountered this error : > > /home/anil/llvm1000_rc1_binary_upload/rc1/llvm-project/clang-tools-extra/clangd/Hover.cpp: > In function ‘llvm::StringLiteral > clang::clangd::{anonymous}::getNameForExpr(const clang::Expr*)’: > /home/anil/llvm1000_rc1_binary_upload/rc1/llvm-project/clang-tools-extra/clangd/Hover.cpp:450:10: > error: could not convert ‘(const char*)"expression"’ from ‘const char*’ to > ‘llvm::StringLiteral’ > return "expression"; > ^ > > This was fixed by the commit 40514a7d > > commit 40514a7d7a3b745ba43c2d014e54a0d78d65d957 > Author: Michael Liao <michael.hliao at gmail.com> > Date: Thu Jan 16 16:02:47 2020 -0500 > > [clangd] Add workaround for GCC5 host compilers. NFC. > > diff --git a/clang-tools-extra/clangd/Hover.cpp > b/clang-tools-extra/clangd/Hover.cpp > index cfa5e3b..ad715db 100644 > --- a/clang-tools-extra/clangd/Hover.cpp > +++ b/clang-tools-extra/clangd/Hover.cpp > @@ -439,7 +439,13 @@ bool isLiteral(const Expr *E) { > > llvm::StringLiteral getNameForExpr(const Expr *E) { > // FIXME: Come up with names for `special` expressions. > - return "expression"; > + // > + // It's an known issue for GCC5, https://godbolt.org/z/Z_tbgi. Work > around > + // that by using explicit conversion constructor. > + // > + // TODO: Once GCC5 is fully retired and not the minimal requirement as > stated > + // in `GettingStarted`, please remove the explicit conversion > constructor. > + return llvm::StringLiteral("expression"); > } > > Can this be backported to RC1 10.0.0 ? > > Thanks, > Anil Mahmud > > > > On Tue, Feb 4, 2020 at 6:07 AM Dimitry Andric via Release-testers < > release-testers at lists.llvm.org> wrote: > >> On 30 Jan 2020, at 20:38, Hans Wennborg via Release-testers < >> release-testers at lists.llvm.org> wrote: >> > >> > It took a bit longer than planned due to master being a somewhat >> > unstable at the branch point, but Release Candidate 1 has now been >> > tagged as llvmorg-10.0.0-rc1. >> >> I tried building rc1 for 32-bit FreeBSD, but ran into a compile error in >> mlir: >> >> /home/dim/llvm/10.0.0/rc1/llvm-project/mlir/lib/Transforms/DialectConversion.cpp:787:67: >> error: non-constant-expression cannot be narrowed from type 'unsigned int' >> to 'Region::iterator::difference_type' (aka 'int') in initializer list >> [-Wc++11-narrowing] >> blockActions.push_back(BlockAction::getMove(&block, {®ion, >> position})); >> ^~~~~~~~ >> /home/dim/llvm/10.0.0/rc1/llvm-project/mlir/lib/Transforms/DialectConversion.cpp:787:67: >> note: insert an explicit cast to silence this issue >> blockActions.push_back(BlockAction::getMove(&block, {®ion, >> position})); >> ^~~~~~~~ >> >> static_cast<difference_type>( ) >> 1 error generated. >> >> I submitted https://bugs.llvm.org/show_bug.cgi?id=44767 for this. >> >> -Dimitry >> >> _______________________________________________ >> Release-testers mailing list >> Release-testers at lists.llvm.org >> https://lists.llvm.org/cgi-bin/mailman/listinfo/release-testers >> >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200205/59d99ef7/attachment.html>
Hans Wennborg via llvm-dev
2020-Feb-06 09:27 UTC
[llvm-dev] [Release-testers] [10.0.0 Release] Release Candidate 1 is here
On Wed, Feb 5, 2020 at 9:00 PM Anil Mahmud <anil.mahmud.llvm at gmail.com> wrote:> > Hello, > > When running test-release.sh using GCC 5.4.0 we encountered this error : > > /home/anil/llvm1000_rc1_binary_upload/rc1/llvm-project/clang-tools-extra/clangd/Hover.cpp: In function ‘llvm::StringLiteral clang::clangd::{anonymous}::getNameForExpr(const clang::Expr*)’: > /home/anil/llvm1000_rc1_binary_upload/rc1/llvm-project/clang-tools-extra/clangd/Hover.cpp:450:10: error: could not convert ‘(const char*)"expression"’ from ‘const char*’ to ‘llvm::StringLiteral’ > return "expression"; > ^ > > This was fixed by the commit 40514a7d[..]> Can this be backported to RC1 10.0.0 ?Yes, thanks for finding it! Cherry-picked to the 10.x branch as cbec01fe05895abe96f2cb80e24367dec60209ee (We can't backport it to RC1 since that's already been released, but this will be part of RC2.) Thanks, Hans
Hans Wennborg via llvm-dev
2020-Feb-06 09:29 UTC
[llvm-dev] [Release-testers] [10.0.0 Release] Release Candidate 1 is here
On Wed, Feb 5, 2020 at 9:30 PM Anil Mahmud <anil.mahmud.llvm at gmail.com> wrote:> > The following error was found when running test-release.sh on Red Hat 7.4 > > ******************** > FAIL: LLVM :: tools/llvm-ar/quick-append.test (53100 of 59657) > ******************** TEST 'LLVM :: tools/llvm-ar/quick-append.test' FAILED ********************[...]> /scratch/anil/llvm1000_rc1_binary_upload/rc1/llvm-project/llvm/test/tools/llvm-ar/quick-append.test:39:14: error: SAME-NEXT: is on the same line as previous match > # SAME-NEXT: 1.o > ^ > <stdin>:1:133: note: 'next' match was here > /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/1.o > ^ > <stdin>:1:82: note: previous match ended here > /scratch/anil/llvm1000_rc1_binary_upload/rc1/Phase3/Release/llvmCore-10.0.0-rc1.obj/test/tools/llvm-ar/Output/quick-append.test.tmp/1.o > ^This was fixed in f00ab188f4e4214dfbecfdd8968a183e9363cefa on master and cherry-picked to 10.x as e11d70cfe7e2a8537eb774ed1780e9ecd1aa90a0. Thanks, Hans