[llvm] [DWARFLinker] Fix matching logic to remove type 1 missing offsets (PR #149618)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 30 16:45:59 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `sanitizer-ppc64le-linux` running on `ppc64le-sanitizer` while building `llvm` at step 2 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/72/builds/13664
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
[4080/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/EhFrame.cpp.o
[4081/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/ICF.cpp.o
[4082/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/InputSection.cpp.o
[4083/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/LinkerScript.cpp.o
[4084/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/MapFile.cpp.o
[4085/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/MarkLive.cpp.o
[4086/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/ScriptLexer.cpp.o
[4087/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/SymbolTable.cpp.o
[4088/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/Target.cpp.o
[4089/4271] Building CXX object lib/DWARFLinker/Classic/CMakeFiles/LLVMDWARFLinkerClassic.dir/DWARFLinker.cpp.o
FAILED: lib/DWARFLinker/Classic/CMakeFiles/LLVMDWARFLinkerClassic.dir/DWARFLinker.cpp.o
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm_build0/bin/clang++ -DEXPERIMENTAL_KEY_INSTRUCTIONS -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 -D__SHORT_FILE__=\"DWARFLinker.cpp\" -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/lib/DWARFLinker/Classic -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/DWARFLinker/Classic -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/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 -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT lib/DWARFLinker/Classic/CMakeFiles/LLVMDWARFLinkerClassic.dir/DWARFLinker.cpp.o -MF lib/DWARFLinker/Classic/CMakeFiles/LLVMDWARFLinkerClassic.dir/DWARFLinker.cpp.o.d -o lib/DWARFLinker/Classic/CMakeFiles/LLVMDWARFLinkerClassic.dir/DWARFLinker.cpp.o -c /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp:479:37: error: captured structured bindings are a C++20 extension [-Werror,-Wc++20-extensions]
479 | auto StmtAttrSmallerThanNext = [NextSeqOff](const PatchLocation &SA) {
| ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp:478:14: note: 'NextSeqOff' declared here
478 | for (auto [NextSeqOff, NextRow] : LineTableMapping) {
| ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp:482:37: error: captured structured bindings are a C++20 extension [-Werror,-Wc++20-extensions]
482 | auto SeqStartSmallerThanNext = [NextRow](const size_t &Row) {
| ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp:478:26: note: 'NextRow' declared here
478 | for (auto [NextSeqOff, NextRow] : LineTableMapping) {
| ^
2 errors generated.
[4090/4271] Linking CXX executable bin/offload-arch
[4091/4271] Linking CXX executable bin/apinotes-test
[4092/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/Driver.cpp.o
[4093/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/InputFiles.cpp.o
[4094/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/LTO.cpp.o
[4095/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/OutputSections.cpp.o
[4096/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/Relocations.cpp.o
[4097/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/ScriptParser.cpp.o
[4098/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/Symbols.cpp.o
[4099/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/SyntheticSections.cpp.o
[4100/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/Thunks.cpp.o
[4101/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/Writer.cpp.o
[4102/4271] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Arch/ARM64.cpp.o
[4103/4271] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Arch/ARM64Common.cpp.o
[4104/4271] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Arch/ARM64_32.cpp.o
[4105/4271] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Arch/X86_64.cpp.o
[4106/4271] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/ConcatOutputSection.cpp.o
[4107/4271] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Driver.cpp.o
[4108/4271] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/DriverUtils.cpp.o
[4109/4271] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Dwarf.cpp.o
[4110/4271] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/EhFrame.cpp.o
[4111/4271] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/ExportTrie.cpp.o
[4112/4271] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/ICF.cpp.o
[4113/4271] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/InputFiles.cpp.o
Step 8 (build compiler-rt debug) failure: build compiler-rt debug (failure)
...
[4080/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/EhFrame.cpp.o
[4081/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/ICF.cpp.o
[4082/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/InputSection.cpp.o
[4083/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/LinkerScript.cpp.o
[4084/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/MapFile.cpp.o
[4085/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/MarkLive.cpp.o
[4086/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/ScriptLexer.cpp.o
[4087/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/SymbolTable.cpp.o
[4088/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/Target.cpp.o
[4089/4271] Building CXX object lib/DWARFLinker/Classic/CMakeFiles/LLVMDWARFLinkerClassic.dir/DWARFLinker.cpp.o
FAILED: lib/DWARFLinker/Classic/CMakeFiles/LLVMDWARFLinkerClassic.dir/DWARFLinker.cpp.o
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm_build0/bin/clang++ -DEXPERIMENTAL_KEY_INSTRUCTIONS -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 -D__SHORT_FILE__=\"DWARFLinker.cpp\" -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/lib/DWARFLinker/Classic -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/DWARFLinker/Classic -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/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 -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT lib/DWARFLinker/Classic/CMakeFiles/LLVMDWARFLinkerClassic.dir/DWARFLinker.cpp.o -MF lib/DWARFLinker/Classic/CMakeFiles/LLVMDWARFLinkerClassic.dir/DWARFLinker.cpp.o.d -o lib/DWARFLinker/Classic/CMakeFiles/LLVMDWARFLinkerClassic.dir/DWARFLinker.cpp.o -c /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp:479:37: error: captured structured bindings are a C++20 extension [-Werror,-Wc++20-extensions]
479 | auto StmtAttrSmallerThanNext = [NextSeqOff](const PatchLocation &SA) {
| ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp:478:14: note: 'NextSeqOff' declared here
478 | for (auto [NextSeqOff, NextRow] : LineTableMapping) {
| ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp:482:37: error: captured structured bindings are a C++20 extension [-Werror,-Wc++20-extensions]
482 | auto SeqStartSmallerThanNext = [NextRow](const size_t &Row) {
| ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp:478:26: note: 'NextRow' declared here
478 | for (auto [NextSeqOff, NextRow] : LineTableMapping) {
| ^
2 errors generated.
[4090/4271] Linking CXX executable bin/offload-arch
[4091/4271] Linking CXX executable bin/apinotes-test
[4092/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/Driver.cpp.o
[4093/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/InputFiles.cpp.o
[4094/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/LTO.cpp.o
[4095/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/OutputSections.cpp.o
[4096/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/Relocations.cpp.o
[4097/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/ScriptParser.cpp.o
[4098/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/Symbols.cpp.o
[4099/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/SyntheticSections.cpp.o
[4100/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/Thunks.cpp.o
[4101/4271] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/Writer.cpp.o
[4102/4271] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Arch/ARM64.cpp.o
[4103/4271] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Arch/ARM64Common.cpp.o
[4104/4271] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Arch/ARM64_32.cpp.o
[4105/4271] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Arch/X86_64.cpp.o
[4106/4271] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/ConcatOutputSection.cpp.o
[4107/4271] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Driver.cpp.o
[4108/4271] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/DriverUtils.cpp.o
[4109/4271] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Dwarf.cpp.o
[4110/4271] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/EhFrame.cpp.o
[4111/4271] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/ExportTrie.cpp.o
[4112/4271] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/ICF.cpp.o
[4113/4271] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/InputFiles.cpp.o
Step 10 (build compiler-rt tsan_debug) failure: build compiler-rt tsan_debug (failure)
...
[4096/4249] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Arch/ARM64Common.cpp.o
[4097/4249] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Arch/ARM64_32.cpp.o
[4098/4249] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Arch/X86_64.cpp.o
[4099/4249] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/ConcatOutputSection.cpp.o
[4100/4249] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Dwarf.cpp.o
[4101/4249] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/ExportTrie.cpp.o
[4102/4249] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/ICF.cpp.o
[4103/4249] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/MapFile.cpp.o
[4104/4249] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/MarkLive.cpp.o
[4105/4249] Building CXX object lib/DWARFLinker/Classic/CMakeFiles/LLVMDWARFLinkerClassic.dir/DWARFLinker.cpp.o
FAILED: lib/DWARFLinker/Classic/CMakeFiles/LLVMDWARFLinkerClassic.dir/DWARFLinker.cpp.o
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm_build0/bin/clang++ -DEXPERIMENTAL_KEY_INSTRUCTIONS -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 -D__SHORT_FILE__=\"DWARFLinker.cpp\" -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/lib/DWARFLinker/Classic -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/DWARFLinker/Classic -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/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 -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT lib/DWARFLinker/Classic/CMakeFiles/LLVMDWARFLinkerClassic.dir/DWARFLinker.cpp.o -MF lib/DWARFLinker/Classic/CMakeFiles/LLVMDWARFLinkerClassic.dir/DWARFLinker.cpp.o.d -o lib/DWARFLinker/Classic/CMakeFiles/LLVMDWARFLinkerClassic.dir/DWARFLinker.cpp.o -c /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp:479:37: error: captured structured bindings are a C++20 extension [-Werror,-Wc++20-extensions]
479 | auto StmtAttrSmallerThanNext = [NextSeqOff](const PatchLocation &SA) {
| ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp:478:14: note: 'NextSeqOff' declared here
478 | for (auto [NextSeqOff, NextRow] : LineTableMapping) {
| ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp:482:37: error: captured structured bindings are a C++20 extension [-Werror,-Wc++20-extensions]
482 | auto SeqStartSmallerThanNext = [NextRow](const size_t &Row) {
| ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp:478:26: note: 'NextRow' declared here
478 | for (auto [NextSeqOff, NextRow] : LineTableMapping) {
| ^
2 errors generated.
[4106/4249] Linking CXX executable bin/llvm-profgen
[4107/4249] Linking CXX executable bin/clang-fuzzer-dictionary
[4108/4249] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/SyntheticSections.cpp.o
[4109/4249] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/Writer.cpp.o
[4110/4249] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Driver.cpp.o
[4111/4249] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/DriverUtils.cpp.o
[4112/4249] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/EhFrame.cpp.o
[4113/4249] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/InputFiles.cpp.o
[4114/4249] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/InputSection.cpp.o
[4115/4249] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/LinkerOptimizationHints.cpp.o
[4116/4249] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/LTO.cpp.o
[4117/4249] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/ObjC.cpp.o
[4118/4249] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/OutputSection.cpp.o
[4119/4249] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/OutputSegment.cpp.o
[4120/4249] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Relocations.cpp.o
[4121/4249] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/BPSectionOrderer.cpp.o
[4122/4249] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/SectionPriorities.cpp.o
[4123/4249] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Sections.cpp.o
[4124/4249] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/SymbolTable.cpp.o
[4125/4249] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Symbols.cpp.o
[4126/4249] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/SyntheticSections.cpp.o
[4127/4249] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Target.cpp.o
[4128/4249] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/UnwindInfoSection.cpp.o
[4129/4249] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Writer.cpp.o
Step 11 (build compiler-rt default) failure: build compiler-rt default (failure)
...
[4211/4271] Linking CXX executable bin/llvm-extract
[4212/4271] Linking CXX executable bin/clang-linker-wrapper
[4213/4271] Linking CXX executable bin/llvm-opt-fuzzer
[4214/4271] Linking CXX static library lib/libclangInterpreter.a
[4215/4271] Linking CXX executable bin/bugpoint
[4216/4271] Linking CXX executable bin/llvm-reduce
[4217/4271] Building CXX object tools/bugpoint-passes/CMakeFiles/BugpointPasses.dir/TestPasses.cpp.o
[4218/4271] Linking CXX executable bin/lli
[4219/4271] Linking CXX executable bin/llvm-exegesis
[4220/4271] Building CXX object lib/DWARFLinker/Classic/CMakeFiles/LLVMDWARFLinkerClassic.dir/DWARFLinker.cpp.o
FAILED: lib/DWARFLinker/Classic/CMakeFiles/LLVMDWARFLinkerClassic.dir/DWARFLinker.cpp.o
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm_build0/bin/clang++ -DEXPERIMENTAL_KEY_INSTRUCTIONS -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 -D__SHORT_FILE__=\"DWARFLinker.cpp\" -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/lib/DWARFLinker/Classic -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/DWARFLinker/Classic -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/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 -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT lib/DWARFLinker/Classic/CMakeFiles/LLVMDWARFLinkerClassic.dir/DWARFLinker.cpp.o -MF lib/DWARFLinker/Classic/CMakeFiles/LLVMDWARFLinkerClassic.dir/DWARFLinker.cpp.o.d -o lib/DWARFLinker/Classic/CMakeFiles/LLVMDWARFLinkerClassic.dir/DWARFLinker.cpp.o -c /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp:479:37: error: captured structured bindings are a C++20 extension [-Werror,-Wc++20-extensions]
479 | auto StmtAttrSmallerThanNext = [NextSeqOff](const PatchLocation &SA) {
| ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp:478:14: note: 'NextSeqOff' declared here
478 | for (auto [NextSeqOff, NextRow] : LineTableMapping) {
| ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp:482:37: error: captured structured bindings are a C++20 extension [-Werror,-Wc++20-extensions]
482 | auto SeqStartSmallerThanNext = [NextRow](const size_t &Row) {
| ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp:478:26: note: 'NextRow' declared here
478 | for (auto [NextSeqOff, NextRow] : LineTableMapping) {
| ^
2 errors generated.
[4221/4271] Linking CXX shared module lib/BugpointPasses.so
[4222/4271] Linking CXX executable bin/llc
[4223/4271] Linking CXX executable bin/llvm-lto
[4224/4271] Linking CXX shared library lib/libLTO.so.22.0git
[4225/4271] Linking CXX executable bin/diagtool
[4226/4271] Linking CXX executable bin/clang-nvlink-wrapper
[4227/4271] Linking CXX executable bin/llvm-lto2
[4228/4271] Linking CXX executable bin/clang-diff
[4229/4271] Linking CXX executable bin/lld
[4230/4271] Linking CXX executable bin/clang-refactor
[4231/4271] Linking CXX executable bin/clang-scan-deps
[4232/4271] Linking CXX executable bin/opt
[4233/4271] Linking CXX executable bin/clang-installapi
[4234/4271] Linking CXX executable bin/clang-extdef-mapping
[4235/4271] Linking CXX shared module lib/SampleAnalyzerPlugin.so
[4236/4271] Linking CXX shared module lib/CheckerOptionHandlingAnalyzerPlugin.so
[4237/4271] Linking CXX shared module lib/CheckerDependencyHandlingAnalyzerPlugin.so
[4238/4271] Linking CXX shared library lib/libclang.so.22.0.0git
[4239/4271] Linking CXX executable bin/clang-check
[4240/4271] Linking CXX executable bin/clang-import-test
[4241/4271] Linking CXX executable bin/clang-22
[4242/4271] Linking CXX shared library lib/libclang-cpp.so.22.0git
[4243/4271] Linking CXX executable bin/clang-repl
ninja: build stopped: subcommand failed.
```
</details>
https://github.com/llvm/llvm-project/pull/149618
More information about the llvm-commits
mailing list