[llvm] [SandboxIR] sandboxir::Use operands (part 1) and uses (part 2) (PR #98251)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 10 15:11:41 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `mlir-s390x-linux` running on `systemz-1` while building `llvm` at step 5 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/117/builds/566

Here is the relevant piece of the build log for the reference:
```
Step 5 (build-unified-tree) failure: build (failure)
...
22.734 [2738/4/1851] Building CXX object lib/TextAPI/CMakeFiles/LLVMTextAPI.dir/Utils.cpp.o
22.750 [2737/4/1852] Linking CXX static library lib/libLLVMTextAPI.a
22.812 [2736/4/1853] Linking CXX static library lib/libLLVMObject.a
22.823 [2735/4/1854] Linking CXX static library lib/libLLVMInterfaceStub.a
22.850 [2734/4/1855] Linking CXX static library lib/libLLVMObjCopy.a
22.904 [2733/4/1856] Linking CXX static library lib/libLLVMObjectYAML.a
22.942 [2732/4/1857] Linking CXX static library lib/libLLVMDebugInfoDWARF.a
22.955 [2731/4/1858] Linking CXX static library lib/libLLVMDebugInfoGSYM.a
23.007 [2730/4/1859] Linking CXX static library lib/libLLVMDebugInfoPDB.a
23.044 [2729/4/1860] Building CXX object lib/SandboxIR/CMakeFiles/LLVMSandboxIR.dir/SandboxIR.cpp.o
FAILED: lib/SandboxIR/CMakeFiles/LLVMSandboxIR.dir/SandboxIR.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /usr/bin/c++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/uweigand/sandbox/buildbot/mlir-s390x-linux/build/lib/SandboxIR -I/home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/lib/SandboxIR -I/home/uweigand/sandbox/buildbot/mlir-s390x-linux/build/include -I/home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -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-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/SandboxIR/CMakeFiles/LLVMSandboxIR.dir/SandboxIR.cpp.o -MF lib/SandboxIR/CMakeFiles/LLVMSandboxIR.dir/SandboxIR.cpp.o.d -o lib/SandboxIR/CMakeFiles/LLVMSandboxIR.dir/SandboxIR.cpp.o -c /home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/lib/SandboxIR/SandboxIR.cpp
In file included from /home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/lib/SandboxIR/SandboxIR.cpp:9:
/home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/include/llvm/SandboxIR/SandboxIR.h:115:7: error: declaration of 'llvm::sandboxir::Use llvm::sandboxir::OperandUseIterator::Use' changes meaning of 'Use' [-fpermissive]
  115 |   Use Use;
      |       ^~~
/home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/include/llvm/SandboxIR/SandboxIR.h:81:7: note: 'Use' declared here as 'class llvm::sandboxir::Use'
   81 | class Use {
      |       ^~~
In file included from /home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/lib/SandboxIR/SandboxIR.cpp:9:
/home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/include/llvm/SandboxIR/SandboxIR.h:142:7: error: declaration of 'llvm::sandboxir::Use llvm::sandboxir::UserUseIterator::Use' changes meaning of 'Use' [-fpermissive]
  142 |   Use Use;
      |       ^~~
In file included from /home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/lib/SandboxIR/SandboxIR.cpp:9:
/home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/include/llvm/SandboxIR/SandboxIR.h:81:7: note: 'Use' declared here as 'class llvm::sandboxir::Use'
   81 | class Use {
      |       ^~~
23.045 [2729/3/1861] Linking CXX static library lib/libLLVMDebugInfoLogicalView.a
23.074 [2729/2/1862] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
25.457 [2729/1/1863] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
ninja: build stopped: subcommand failed.

```

https://github.com/llvm/llvm-project/pull/98251


More information about the llvm-commits mailing list