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


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while building `llvm` at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference:
```
Step 5 (build-unified-tree) failure: build (failure)
0.012 [127/4/1] Building CXX object tools/llvm-config/CMakeFiles/llvm-config.dir/llvm-config.cpp.o
0.018 [126/4/2] Generating VCSRevision.h
0.027 [123/6/3] Generating VCSVersion.inc
0.053 [122/6/4] Linking CXX executable bin/llvm-config
0.565 [122/5/5] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o
1.288 [122/4/6] 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/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/llvm-clang-x86_64-sie-ubuntu-fast/build/lib/SandboxIR -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/lib/SandboxIR -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/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/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/lib/SandboxIR/SandboxIR.cpp
In file included from /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/lib/SandboxIR/SandboxIR.cpp:9:
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/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/llvm-clang-x86_64-sie-ubuntu-fast/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/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/lib/SandboxIR/SandboxIR.cpp:9:
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/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/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/lib/SandboxIR/SandboxIR.cpp:9:
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/include/llvm/SandboxIR/SandboxIR.h:81:7: note: ‘Use’ declared here as ‘class llvm::sandboxir::Use’
   81 | class Use {
      |       ^~~
2.281 [122/3/7] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
10.912 [122/2/8] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
11.361 [122/1/9] 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