llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `cross-project-tests-sie-ubuntu` running on `doug-worker-1a` while building `clang` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/181/builds/53390 <details> <summary>Here is the relevant piece of the build log for the reference</summary> ``` Step 5 (build-unified-tree) failure: build (failure) ... /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/clang/lib/CIR/CodeGen/CIRGenValue.h:413:52: warning: ‘maybe_unused’ attribute ignored [-Wattributes] 413 | LLVM_PREFERRED_TYPE(bool) unsigned overlapFlag : 1; | ^ In file included from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/clang/lib/CIR/CodeGen/CIRGenBuiltinAMDGPU.cpp:13: /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/clang/lib/CIR/CodeGen/CIRGenFunction.h:723:41: warning: ‘maybe_unused’ attribute ignored [-Wattributes] 723 | [[maybe_unused]] const clang::Decl *calleeDecl; | ^~~~~~~~~~ 251.872 [130/8/102] Linking CXX executable bin/diagtool 252.175 [129/8/103] Linking CXX static library lib/libMLIROpenMPDialect.a 257.072 [128/8/104] Building CXX object tools/clang/lib/CIR/Dialect/IR/CMakeFiles/obj.MLIRCIR.dir/CIRDialect.cpp.o FAILED: tools/clang/lib/CIR/Dialect/IR/CMakeFiles/obj.MLIRCIR.dir/CIRDialect.cpp.o /opt/ccache/bin/g++ -DCLANG_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/tools/clang/lib/CIR/Dialect/IR -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/clang/lib/CIR/Dialect/IR -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/clang/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/tools/clang/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/../mlir/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/tools/mlir/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-unused-but-set-parameter -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/clang/lib/CIR/Dialect/IR/CMakeFiles/obj.MLIRCIR.dir/CIRDialect.cpp.o -MF tools/clang/lib/CIR/Dialect/IR/CMakeFiles/obj.MLIRCIR.dir/CIRDialect.cpp.o.d -o tools/clang/lib/CIR/Dialect/IR/CMakeFiles/obj.MLIRCIR.dir/CIRDialect.cpp.o -c /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/clang/lib/CIR/Dialect/IR/CIRDialect.cpp In file included from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/clang/lib/CIR/Dialect/IR/CIRDialect.cpp:5872: /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/tools/clang/include/clang/CIR/Dialect/IR/CIROps.cpp.inc: In static member function ‘static cir::ACosOp cir::ACosOp::create(mlir::OpBuilder&, mlir::Location, mlir::TypeRange, mlir::ValueRange, llvm::ArrayRef<mlir::NamedAttribute>)’: /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/tools/clang/include/clang/CIR/Dialect/IR/CIROps.cpp.inc:2162:169: warning: ‘static void cir::ACosOp::build(mlir::OpBuilder&, mlir::OperationState&, mlir::TypeRange, mlir::ValueRange, llvm::ArrayRef<mlir::NamedAttribute>)’ is deprecated: use the overload taking Properties and discardableAttributes instead [-Wdeprecated-declarations] 2162 | build(builder, __state__, std::forward<decltype(resultTypes)>(resultTypes), std::forward<decltype(operands)>(operands), std::forward<decltype(attributes)>(attributes)); | ^ /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/tools/clang/include/clang/CIR/Dialect/IR/CIROps.cpp.inc:2152:6: note: declared here 2152 | void ACosOp::build(::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes) { | ^~~~~~ /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/tools/clang/include/clang/CIR/Dialect/IR/CIROps.cpp.inc:2162:169: warning: ‘static void cir::ACosOp::build(mlir::OpBuilder&, mlir::OperationState&, mlir::TypeRange, mlir::ValueRange, llvm::ArrayRef<mlir::NamedAttribute>)’ is deprecated: use the overload taking Properties and discardableAttributes instead [-Wdeprecated-declarations] 2162 | build(builder, __state__, std::forward<decltype(resultTypes)>(resultTypes), std::forward<decltype(operands)>(operands), std::forward<decltype(attributes)>(attributes)); | ^ /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/tools/clang/include/clang/CIR/Dialect/IR/CIROps.cpp.inc:2152:6: note: declared here 2152 | void ACosOp::build(::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes) { | ^~~~~~ /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/tools/clang/include/clang/CIR/Dialect/IR/CIROps.cpp.inc: In static member function ‘static cir::ACosOp cir::ACosOp::create(mlir::ImplicitLocOpBuilder&, mlir::TypeRange, mlir::ValueRange, llvm::ArrayRef<mlir::NamedAttribute>)’: /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/tools/clang/include/clang/CIR/Dialect/IR/CIROps.cpp.inc:2169:184: warning: ‘static cir::ACosOp cir::ACosOp::create(mlir::OpBuilder&, mlir::Location, mlir::TypeRange, mlir::ValueRange, llvm::ArrayRef<mlir::NamedAttribute>)’ is deprecated: use the overload taking Properties and discardableAttributes instead [-Wdeprecated-declarations] 2169 | return create(builder, builder.getLoc(), std::forward<decltype(resultTypes)>(resultTypes), std::forward<decltype(operands)>(operands), std::forward<decltype(attributes)>(attributes)); | ^ /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/tools/clang/include/clang/CIR/Dialect/IR/CIROps.cpp.inc:2160:8: note: declared here 2160 | ACosOp ACosOp::create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes) { | ^~~~~~ /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/tools/clang/include/clang/CIR/Dialect/IR/CIROps.cpp.inc:2169:184: warning: ‘static cir::ACosOp cir::ACosOp::create(mlir::OpBuilder&, mlir::Location, mlir::TypeRange, mlir::ValueRange, llvm::ArrayRef<mlir::NamedAttribute>)’ is deprecated: use the overload taking Properties and discardableAttributes instead [-Wdeprecated-declarations] 2169 | return create(builder, builder.getLoc(), std::forward<decltype(resultTypes)>(resultTypes), std::forward<decltype(operands)>(operands), std::forward<decltype(attributes)>(attributes)); | ^ /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/tools/clang/include/clang/CIR/Dialect/IR/CIROps.cpp.inc:2160:8: note: declared here 2160 | ACosOp ACosOp::create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes) { | ^~~~~~ /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/tools/clang/include/clang/CIR/Dialect/IR/CIROps.cpp.inc: In static member function ‘static cir::ACosOp cir::ACosOp::create(mlir::OpBuilder&, mlir::Location, mlir::ValueRange, llvm::ArrayRef<mlir::NamedAttribute>)’: /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/tools/clang/include/clang/CIR/Dialect/IR/CIROps.cpp.inc:2192:119: warning: ‘static void cir::ACosOp::build(mlir::OpBuilder&, mlir::OperationState&, mlir::ValueRange, llvm::ArrayRef<mlir::NamedAttribute>)’ is deprecated: use the overload taking Properties and discardableAttributes instead [-Wdeprecated-declarations] 2192 | build(builder, __state__, std::forward<decltype(operands)>(operands), std::forward<decltype(attributes)>(attributes)); | ^ /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/tools/clang/include/clang/CIR/Dialect/IR/CIROps.cpp.inc:2172:6: note: declared here 2172 | void ACosOp::build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute> attributes) { | ^~~~~~ /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/tools/clang/include/clang/CIR/Dialect/IR/CIROps.cpp.inc:2192:119: warning: ‘static void cir::ACosOp::build(mlir::OpBuilder&, mlir::OperationState&, mlir::ValueRange, llvm::ArrayRef<mlir::NamedAttribute>)’ is deprecated: use the overload taking Properties and discardableAttributes instead [-Wdeprecated-declarations] 2192 | build(builder, __state__, std::forward<decltype(operands)>(operands), std::forward<decltype(attributes)>(attributes)); | ^ ``` </details> https://github.com/llvm/llvm-project/pull/231449 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
