[llvm] Reland [CGData] llvm-cgdata #89884 (PR #101461)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 20 08:41:50 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux-android` running on `sanitizer-buildbot-android` while building `llvm` at step 2 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/186/builds/1583
Here is the relevant piece of the build log for the reference:
```
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
[4952/5220] Linking CXX executable bin/llvm-libtool-darwin
[4953/5220] Linking CXX executable bin/llvm-extract
[4954/5220] Building CXX object tools/llvm-mca/CMakeFiles/llvm-mca.dir/Views/TimelineView.cpp.o
[4955/5220] Building CXX object tools/llvm-mca/CMakeFiles/llvm-mca.dir/Views/SchedulerStatistics.cpp.o
[4956/5220] Building CXX object tools/llvm-mca/CMakeFiles/llvm-mca.dir/Views/SummaryView.cpp.o
[4957/5220] Building CXX object tools/llvm-microsoft-demangle-fuzzer/CMakeFiles/llvm-microsoft-demangle-fuzzer.dir/llvm-microsoft-demangle-fuzzer.cpp.o
[4958/5220] Building CXX object tools/llvm-microsoft-demangle-fuzzer/CMakeFiles/llvm-microsoft-demangle-fuzzer.dir/DummyDemanglerFuzzer.cpp.o
[4959/5220] Building Opts.inc...
[4960/5220] Building CXX object tools/llvm-ml/CMakeFiles/llvm-ml.dir/llvm-ml.cpp.o
[4961/5220] Building CXX object tools/llvm-cgdata/CMakeFiles/llvm-cgdata.dir/llvm-cgdata.cpp.o
FAILED: tools/llvm-cgdata/CMakeFiles/llvm-cgdata.dir/llvm-cgdata.cpp.o
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm_build0/bin/clang++ -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/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm_build64/tools/llvm-cgdata -I/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/tools/llvm-cgdata -I/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm_build64/include -I/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/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 tools/llvm-cgdata/CMakeFiles/llvm-cgdata.dir/llvm-cgdata.cpp.o -MF tools/llvm-cgdata/CMakeFiles/llvm-cgdata.dir/llvm-cgdata.cpp.o.d -o tools/llvm-cgdata/CMakeFiles/llvm-cgdata.dir/llvm-cgdata.cpp.o -c /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/tools/llvm-cgdata/llvm-cgdata.cpp
/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/tools/llvm-cgdata/llvm-cgdata.cpp:349:3: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
349 | default:
| ^
1 error generated.
[4962/5220] Building CXX object tools/llvm-ml/CMakeFiles/llvm-ml.dir/Disassembler.cpp.o
[4963/5220] Linking CXX executable bin/llvm-lipo
[4964/5220] Linking CXX executable bin/llvm-mc
[4965/5220] Linking CXX executable bin/llvm-microsoft-demangle-fuzzer
[4966/5220] Linking CXX executable bin/llvm-jitlink
[4967/5220] Linking CXX executable bin/llvm-mca
[4968/5220] Linking CXX executable bin/llvm-exegesis
[4969/5220] Linking CXX executable bin/llvm-dwarfutil
[4970/5220] Linking CXX shared library lib/libclang.so.20.0.0git
[4971/5220] Linking CXX executable bin/llvm-gsymutil
[4972/5220] Linking CXX executable bin/llvm-dwp
[4973/5220] Linking CXX executable bin/llvm-isel-fuzzer
[4974/5220] Linking CXX executable bin/llvm-lto2
ninja: build stopped: subcommand failed.
How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild
@@@STEP_FAILURE@@@
Step 8 (bootstrap clang) failure: bootstrap clang (failure)
...
[4952/5220] Linking CXX executable bin/llvm-libtool-darwin
[4953/5220] Linking CXX executable bin/llvm-extract
[4954/5220] Building CXX object tools/llvm-mca/CMakeFiles/llvm-mca.dir/Views/TimelineView.cpp.o
[4955/5220] Building CXX object tools/llvm-mca/CMakeFiles/llvm-mca.dir/Views/SchedulerStatistics.cpp.o
[4956/5220] Building CXX object tools/llvm-mca/CMakeFiles/llvm-mca.dir/Views/SummaryView.cpp.o
[4957/5220] Building CXX object tools/llvm-microsoft-demangle-fuzzer/CMakeFiles/llvm-microsoft-demangle-fuzzer.dir/llvm-microsoft-demangle-fuzzer.cpp.o
[4958/5220] Building CXX object tools/llvm-microsoft-demangle-fuzzer/CMakeFiles/llvm-microsoft-demangle-fuzzer.dir/DummyDemanglerFuzzer.cpp.o
[4959/5220] Building Opts.inc...
[4960/5220] Building CXX object tools/llvm-ml/CMakeFiles/llvm-ml.dir/llvm-ml.cpp.o
[4961/5220] Building CXX object tools/llvm-cgdata/CMakeFiles/llvm-cgdata.dir/llvm-cgdata.cpp.o
FAILED: tools/llvm-cgdata/CMakeFiles/llvm-cgdata.dir/llvm-cgdata.cpp.o
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm_build0/bin/clang++ -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/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm_build64/tools/llvm-cgdata -I/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/tools/llvm-cgdata -I/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm_build64/include -I/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/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 tools/llvm-cgdata/CMakeFiles/llvm-cgdata.dir/llvm-cgdata.cpp.o -MF tools/llvm-cgdata/CMakeFiles/llvm-cgdata.dir/llvm-cgdata.cpp.o.d -o tools/llvm-cgdata/CMakeFiles/llvm-cgdata.dir/llvm-cgdata.cpp.o -c /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/tools/llvm-cgdata/llvm-cgdata.cpp
/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/tools/llvm-cgdata/llvm-cgdata.cpp:349:3: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
349 | default:
| ^
1 error generated.
[4962/5220] Building CXX object tools/llvm-ml/CMakeFiles/llvm-ml.dir/Disassembler.cpp.o
[4963/5220] Linking CXX executable bin/llvm-lipo
[4964/5220] Linking CXX executable bin/llvm-mc
[4965/5220] Linking CXX executable bin/llvm-microsoft-demangle-fuzzer
[4966/5220] Linking CXX executable bin/llvm-jitlink
[4967/5220] Linking CXX executable bin/llvm-mca
[4968/5220] Linking CXX executable bin/llvm-exegesis
[4969/5220] Linking CXX executable bin/llvm-dwarfutil
[4970/5220] Linking CXX shared library lib/libclang.so.20.0.0git
[4971/5220] Linking CXX executable bin/llvm-gsymutil
[4972/5220] Linking CXX executable bin/llvm-dwp
[4973/5220] Linking CXX executable bin/llvm-isel-fuzzer
[4974/5220] Linking CXX executable bin/llvm-lto2
ninja: build stopped: subcommand failed.
How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild
program finished with exit code 2
elapsedTime=199.810782
```
https://github.com/llvm/llvm-project/pull/101461
More information about the llvm-commits
mailing list