[Mlir-commits] [mlir] [MLIR] Add remark flags to mlir-opt (PR #156825)
LLVM Continuous Integration
llvmlistbot at llvm.org
Fri Sep 12 07:52:49 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `openmp-offload-sles-build-only` running on `rocm-worker-hw-04-sles` while building `mlir` at step 5 "compile-openmp".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/140/builds/30611
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (compile-openmp) failure: build (failure)
...
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/Basic/PointerAuthOptions.h:98:58: warning: ‘clang::PointerAuthSchema::SelectedAuthenticationMode’ is too small to hold all values of ‘enum class clang::PointerAuthenticationMode’
PointerAuthenticationMode SelectedAuthenticationMode : 2;
^
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/Basic/PointerAuthOptions.h:99:39: warning: ‘clang::PointerAuthSchema::DiscriminationKind’ is too small to hold all values of ‘enum class clang::PointerAuthSchema::Discrimination’
Discrimination DiscriminationKind : 2;
^
10.434 [3604/32/3771] Linking CXX static library lib/libLLVMObjCopy.a
10.465 [3603/32/3772] Linking CXX static library lib/libLLVMObjectYAML.a
10.466 [3602/32/3773] Linking CXX static library lib/libLLVMDebugInfoDWARF.a
10.483 [3601/32/3774] Building CXX object tools/mlir/lib/IR/CMakeFiles/obj.MLIRIR.dir/Remarks.cpp.o
FAILED: tools/mlir/lib/IR/CMakeFiles/obj.MLIRIR.dir/Remarks.cpp.o
ccache /usr/bin/c++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/mlir/lib/IR -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/mlir/lib/IR -Itools/mlir/include -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/mlir/include -Iinclude -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/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-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Wno-unused-but-set-parameter -Wno-deprecated-copy -O3 -DNDEBUG -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++1z -MD -MT tools/mlir/lib/IR/CMakeFiles/obj.MLIRIR.dir/Remarks.cpp.o -MF tools/mlir/lib/IR/CMakeFiles/obj.MLIRIR.dir/Remarks.cpp.o.d -o tools/mlir/lib/IR/CMakeFiles/obj.MLIRIR.dir/Remarks.cpp.o -c /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/mlir/lib/IR/Remarks.cpp
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/mlir/lib/IR/Remarks.cpp: In function ‘std::optional<llvm::Regex> buildFilter(const mlir::remark::RemarkCategories&, const std::optional<std::__cxx11::basic_string<char> >&)’:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/mlir/lib/IR/Remarks.cpp:287:10: error: could not convert ‘rx’ from ‘llvm::Regex’ to ‘std::optional<llvm::Regex>’
return rx;
^~
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-deprecated-copy’
10.491 [3601/31/3775] Linking CXX static library lib/libLLVMDebugInfoGSYM.a
10.501 [3601/30/3776] Building CXX object tools/mlir/lib/Remark/CMakeFiles/obj.MLIRRemarkStreamer.dir/RemarkStreamer.cpp.o
10.521 [3601/29/3777] Linking CXX static library lib/libLLVMDebugInfoPDB.a
10.552 [3601/28/3778] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDeclCXX.cpp.o
In file included from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/AST/TypeBase.h:31:0,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/AST/DeclarationName.h:16,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/AST/DeclBase.h:19,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/AST/Decl.h:20,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/AST/Type.h:20,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/AST/CanonicalType.h:17,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/AST/ASTContext.h:18,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/lib/Parse/ParseDeclCXX.cpp:13:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/Basic/PointerAuthOptions.h:94:18: warning: ‘clang::PointerAuthSchema::TheKind’ is too small to hold all values of ‘enum class clang::PointerAuthSchema::Kind’
Kind TheKind : 2;
^
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/Basic/PointerAuthOptions.h:98:58: warning: ‘clang::PointerAuthSchema::SelectedAuthenticationMode’ is too small to hold all values of ‘enum class clang::PointerAuthenticationMode’
PointerAuthenticationMode SelectedAuthenticationMode : 2;
^
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/Basic/PointerAuthOptions.h:99:39: warning: ‘clang::PointerAuthSchema::DiscriminationKind’ is too small to hold all values of ‘enum class clang::PointerAuthSchema::Discrimination’
Discrimination DiscriminationKind : 2;
^
10.566 [3601/27/3779] Linking CXX static library lib/libLLVMJITLink.a
10.575 [3601/26/3780] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExpr.cpp.o
In file included from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/AST/TypeBase.h:31:0,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/AST/DeclarationName.h:16,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/AST/DeclBase.h:19,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/AST/Decl.h:20,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/AST/Type.h:20,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/AST/CanonicalType.h:17,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/AST/ASTContext.h:18,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/lib/Parse/ParseExpr.cpp:23:
```
</details>
https://github.com/llvm/llvm-project/pull/156825
More information about the Mlir-commits
mailing list