[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:33 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `cross-project-tests-sie-ubuntu-dwarf5` running on `doug-worker-1b` while building `llvm` at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference:
```
Step 5 (build-unified-tree) failure: build (failure)
0.019 [120/5/1] Building CXX object tools/llvm-config/CMakeFiles/llvm-config.dir/llvm-config.cpp.o
0.036 [119/5/2] Generating VCSRevision.h
0.048 [116/7/3] Generating VCSVersion.inc
0.054 [115/7/4] Generating VCSVersion.inc
0.102 [114/7/5] Linking CXX executable bin/llvm-config
1.148 [114/6/6] Building CXX object tools/lldb/source/Version/CMakeFiles/lldbVersion.dir/Version.cpp.o
1.172 [113/6/7] Linking CXX static library lib/liblldbVersion.a
1.479 [113/5/8] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o
2.401 [113/4/9] Building CXX object lib/SandboxIR/CMakeFiles/LLVMSandboxIR.dir/SandboxIR.cpp.o
FAILED: lib/SandboxIR/CMakeFiles/LLVMSandboxIR.dir/SandboxIR.cpp.o 
/opt/ccache/bin/g++ -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/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/build/lib/SandboxIR -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/lib/SandboxIR -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/build/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include -fPIC -fno-semantic-interposition -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 -Wctad-maybe-unsupported -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/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/lib/SandboxIR/SandboxIR.cpp
In file included from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/lib/SandboxIR/SandboxIR.cpp:9:
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/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/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/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/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/lib/SandboxIR/SandboxIR.cpp:9:
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/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/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/lib/SandboxIR/SandboxIR.cpp:9:
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include/llvm/SandboxIR/SandboxIR.h:81:7: note: ‘Use’ declared here as ‘class llvm::sandboxir::Use’
   81 | class Use {
      |       ^~~
4.358 [113/3/10] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
18.208 [113/2/11] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
18.483 [113/1/12] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
ninja: build stopped: subcommand failed.

```

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


More information about the llvm-commits mailing list