[clang] [llvm] [CGData][ThinLTO] Global Outlining with Two-CodeGen Rounds (PR #90933)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 9 17:09:42 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-ppc64le-rhel` running on `ppc64le-clang-rhel-test` while building `clang,llvm` at step 5 "build-unified-tree".

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

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 5 (build-unified-tree) failure: build (failure)
...
57.157 [915/26/5334] Creating library symlink lib/libclangSema.so
57.249 [913/27/5335] Linking CXX shared library lib/libclangParse.so.20.0git
57.258 [912/27/5336] Creating library symlink lib/libclangParse.so
57.263 [912/26/5337] Building CXX object tools/lld/Common/CMakeFiles/lldCommon.dir/Version.cpp.o
57.272 [911/26/5338] Linking CXX shared library lib/libclangSerialization.so.20.0git
57.279 [910/26/5339] Creating library symlink lib/libclangSerialization.so
57.318 [909/26/5340] Linking CXX shared library lib/liblldCommon.so.20.0git
57.325 [908/26/5341] Creating library symlink lib/liblldCommon.so
57.376 [908/25/5342] Linking CXX shared library lib/libclangFrontend.so.20.0git
57.379 [907/25/5343] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
FAILED: lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o 
ccache /home/docker/llvm-external-buildbots/clang.17.0.6/bin/clang++ --gcc-toolchain=/gcc-toolchain/usr -DGTEST_HAS_RTTI=0 -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/lib/LTO -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/lib/LTO -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fPIC  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o -MF lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o.d -o lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o -c /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/lib/LTO/LTO.cpp
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/lib/LTO/LTO.cpp:2087:25: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move]
 2087 |       AddStream, Cache, std::move(IR.getResult()), CombinedHash);
      |                         ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/lib/LTO/LTO.cpp:2087:25: note: remove std::move call here
 2087 |       AddStream, Cache, std::move(IR.getResult()), CombinedHash);
      |                         ^~~~~~~~~~              ~
1 error generated.
57.383 [907/24/5344] Creating library symlink lib/libclangFrontend.so
57.498 [907/23/5345] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTOCodeGenerator.cpp.o
57.625 [907/22/5346] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTOBackend.cpp.o
59.215 [907/21/5347] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/BackendUtil.cpp.o
60.250 [907/20/5348] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenAction.cpp.o
62.227 [907/19/5349] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
64.050 [907/18/5350] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/ThinLTOCodeGenerator.cpp.o
74.207 [907/17/5351] Building AMDGPUGenCallingConv.inc...
75.242 [907/16/5352] Building AMDGPUGenMCPseudoLowering.inc...
76.054 [907/15/5353] Building AMDGPUGenPostLegalizeGICombiner.inc...
76.735 [907/14/5354] Building AMDGPUGenSearchableTables.inc...
76.946 [907/13/5355] Building AMDGPUGenRegBankGICombiner.inc...
77.807 [907/12/5356] Building AMDGPUGenSubtargetInfo.inc...
78.199 [907/11/5357] Building AMDGPUGenMCCodeEmitter.inc...
78.693 [907/10/5358] Building AMDGPUGenPreLegalizeGICombiner.inc...
79.413 [907/9/5359] Building AMDGPUGenDisassemblerTables.inc...
84.369 [907/8/5360] Building RISCVGenSubtargetInfo.inc...
89.234 [907/7/5361] Building AMDGPUGenAsmWriter.inc...
93.081 [907/6/5362] Building AMDGPUGenAsmMatcher.inc...
93.126 [907/5/5363] Building AMDGPUGenInstrInfo.inc...
94.300 [907/4/5364] Building AMDGPUGenGlobalISel.inc...
94.956 [907/3/5365] Building AMDGPUGenDAGISel.inc...
101.616 [907/2/5366] Building AMDGPUGenRegisterBank.inc...
103.910 [907/1/5367] Building AMDGPUGenRegisterInfo.inc...
ninja: build stopped: subcommand failed.

```

</details>

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


More information about the cfe-commits mailing list