[clang] Reapply "[Clang] [NFC] Introduce a helper for emitting compatibility diagnostics (#132348)" (PR #134043)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 2 03:39:21 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-aarch64-sve-vls` running on `linaro-g3-02` while building `clang` at step 7 "ninja check 1".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/143/builds/6630
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 7 (ninja check 1) failure: stage 1 checked (failure)
...
[165/173] Generating GwpAsanTestObjects.gtest-all.cc.aarch64.o
[166/173] Generating FuzzerUtils-aarch64-Test
[167/173] Generating GwpAsan-aarch64-Test
[168/173] Generating FuzzerTestObjects.gtest-all.cc.aarch64.o
[169/173] Generating Fuzzer-aarch64-Test
[170/173] Building CXX object flang-rt/unittests/third-party/unittest/CMakeFiles/llvm_gtest.dir/googletest/src/gtest-all.cc.o
[171/173] Linking CXX static library /home/tcwg-buildbot/worker/clang-aarch64-sve-vls/stage1/lib/libllvm_gtest.a
[172/173] Linking CXX static library /home/tcwg-buildbot/worker/clang-aarch64-sve-vls/stage1/lib/libllvm_gtest_main.a
[173/173] Linking CXX executable flang-rt/unittests/Runtime/RuntimeTests
[1380/1388] Linking CXX executable tools/clang/unittests/AST/ASTTests
FAILED: tools/clang/unittests/AST/ASTTests
: && /usr/local/bin/c++ -mcpu=neoverse-512tvb -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -fuse-ld=lld -Wl,--color-diagnostics -Wl,--gc-sections tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ASTContextParentMapTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ASTDumperTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ASTExprTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterFixtures.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterObjCTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterGenericRedeclTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterODRStrategiesTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterVisibilityTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ASTTraverserTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ASTTypeTraitsTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ASTVectorTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/AttrTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/CommentLexer.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/CommentParser.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/CommentTextTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ConceptPrinterTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/DataCollectionTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/DeclBaseTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/DeclPrinterTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/DeclTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/EvaluateAsRValueTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ExternalASTSourceTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/NamedDeclPrinterTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ProfilingTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/RandstructTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/RawCommentForDeclTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/RecursiveASTVisitorTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/SizelessTypesTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/SourceLocationTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/StmtPrinterTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/StructuralEquivalenceTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/TemplateNameTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/TypePrinterTest.cpp.o tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/UnresolvedSetTest.cpp.o -o tools/clang/unittests/AST/ASTTests lib/libLLVMFrontendOpenMP.a lib/libLLVMSupport.a lib/libLLVMTargetParser.a lib/libLLVMSupport.a lib/libllvm_gtest_main.a lib/libllvm_gtest.a lib/libclangAST.a lib/libclangASTMatchers.a lib/libclangBasic.a lib/libclangFrontend.a lib/libclangLex.a lib/libclangSerialization.a lib/libclangTooling.a lib/libclangTesting.a lib/libLLVMTestingAnnotations.a lib/libLLVMTestingSupport.a lib/libclangFormat.a lib/libclangToolingInclusions.a lib/libclangToolingCore.a lib/libclangRewrite.a lib/libclangFrontend.a lib/libclangDriver.a lib/libLLVMWindowsDriver.a lib/libclangParse.a lib/libLLVMOption.a lib/libclangSerialization.a lib/libclangSema.a lib/libclangAPINotes.a lib/libclangEdit.a lib/libclangAnalysis.a lib/libclangASTMatchers.a lib/libclangAST.a lib/libclangLex.a lib/libclangBasic.a lib/libLLVMFrontendOpenMP.a lib/libLLVMScalarOpts.a lib/libLLVMAggressiveInstCombine.a lib/libLLVMInstCombine.a lib/libLLVMFrontendOffloading.a lib/libLLVMTransformUtils.a lib/libLLVMObjectYAML.a lib/libLLVMFrontendAtomic.a lib/libLLVMAnalysis.a lib/libLLVMProfileData.a lib/libLLVMSymbolize.a lib/libLLVMDebugInfoPDB.a lib/libLLVMDebugInfoCodeView.a lib/libLLVMDebugInfoMSF.a lib/libLLVMDebugInfoBTF.a lib/libLLVMDebugInfoDWARF.a lib/libclangSupport.a lib/libLLVMFrontendHLSL.a lib/libLLVMObject.a lib/libLLVMMCParser.a lib/libLLVMIRReader.a lib/libLLVMBitReader.a lib/libLLVMAsmParser.a lib/libLLVMCore.a lib/libLLVMRemarks.a lib/libLLVMBitstreamReader.a lib/libLLVMTextAPI.a lib/libLLVMMC.a lib/libLLVMBinaryFormat.a lib/libLLVMTargetParser.a lib/libllvm_gtest.a lib/libLLVMSupport.a lib/libLLVMDemangle.a -lrt -ldl -lm /usr/lib/aarch64-linux-gnu/libz.so -lpthread && :
ld.lld: error: cannot open lib/libllvm_gtest.a: No such file or directory
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
[1382/1388] Building CXX object tools/flang/unittests/Frontend/CMakeFiles/FlangFrontendTests.dir/FrontendActionTest.cpp.o
[1383/1388] Building CXX object tools/flang/unittests/Frontend/CMakeFiles/FlangFrontendTests.dir/CompilerInstanceTest.cpp.o
[1384/1388] Building CXX object tools/flang/unittests/Frontend/CMakeFiles/FlangFrontendTests.dir/CodeGenActionTest.cpp.o
ninja: build stopped: subcommand failed.
```
</details>
https://github.com/llvm/llvm-project/pull/134043
More information about the cfe-commits
mailing list