[llvm] Reapply "[llvm]Add a simple Telemetry framework" (#120769) (PR #121003)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 23 15:12:45 PST 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/5133
<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)
...
[576/5340] Linking CXX executable bin/llvm-opt-report
[577/5340] Linking CXX executable bin/reduce-chunk-list
[578/5340] Building COFFOptions.inc...
[579/5340] Copying clang's __stdarg_va_arg.h...
[580/5340] Copying clang's __stdarg_va_copy.h...
[581/5340] Linking CXX shared module unittests/Analysis/InlineAdvisorPlugin.so
[582/5340] Linking CXX executable bin/llvm-undname
[583/5340] Linking CXX shared library lib/libRemarks.so.20.0git
[584/5340] Linking CXX executable bin/llvm-remarkutil
[585/5340] Building CXX object lib/Telemetry/CMakeFiles/LLVMTelemetry.dir/Telemetry.cpp.o
FAILED: lib/Telemetry/CMakeFiles/LLVMTelemetry.dir/Telemetry.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/lib/Telemetry -I/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/lib/Telemetry -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 lib/Telemetry/CMakeFiles/LLVMTelemetry.dir/Telemetry.cpp.o -MF lib/Telemetry/CMakeFiles/LLVMTelemetry.dir/Telemetry.cpp.o.d -o lib/Telemetry/CMakeFiles/LLVMTelemetry.dir/Telemetry.cpp.o -c /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/lib/Telemetry/Telemetry.cpp
In file included from /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/lib/Telemetry/Telemetry.cpp:1:
/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/include/llvm/Telemetry/Telemetry.h:31:7: error: 'llvm::telemetry::Serializer' has virtual functions but non-virtual destructor [-Werror,-Wnon-virtual-dtor]
31 | class Serializer {
| ^
/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/include/llvm/Telemetry/Telemetry.h:64:8: error: 'llvm::telemetry::Config' has virtual functions but non-virtual destructor [-Werror,-Wnon-virtual-dtor]
64 | struct Config {
| ^
/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/include/llvm/Telemetry/Telemetry.h:133:7: error: 'llvm::telemetry::Manager' has virtual functions but non-virtual destructor [-Werror,-Wnon-virtual-dtor]
133 | class Manager {
| ^
3 errors generated.
[586/5340] Building AArch64GenExegesis.inc...
[587/5340] Building AArch64GenCallingConv.inc...
[588/5340] Building AArch64TargetParserDef.inc...
[589/5340] Building AArch64GenMCPseudoLowering.inc...
[590/5340] Building AArch64GenMCCodeEmitter.inc...
[591/5340] Building AArch64GenAsmWriter.inc...
[592/5340] Building AArch64GenDisassemblerTables.inc...
[593/5340] Building AArch64GenAsmWriter1.inc...
[594/5340] Building AArch64GenAsmMatcher.inc...
[595/5340] Building AArch64GenFastISel.inc...
[596/5340] Building AArch64GenGlobalISel.inc...
[597/5340] Building AArch64GenDAGISel.inc...
[598/5340] Building AArch64GenInstrInfo.inc...
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)
...
[576/5340] Linking CXX executable bin/llvm-opt-report
[577/5340] Linking CXX executable bin/reduce-chunk-list
[578/5340] Building COFFOptions.inc...
[579/5340] Copying clang's __stdarg_va_arg.h...
[580/5340] Copying clang's __stdarg_va_copy.h...
[581/5340] Linking CXX shared module unittests/Analysis/InlineAdvisorPlugin.so
[582/5340] Linking CXX executable bin/llvm-undname
[583/5340] Linking CXX shared library lib/libRemarks.so.20.0git
[584/5340] Linking CXX executable bin/llvm-remarkutil
[585/5340] Building CXX object lib/Telemetry/CMakeFiles/LLVMTelemetry.dir/Telemetry.cpp.o
FAILED: lib/Telemetry/CMakeFiles/LLVMTelemetry.dir/Telemetry.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/lib/Telemetry -I/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/lib/Telemetry -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 lib/Telemetry/CMakeFiles/LLVMTelemetry.dir/Telemetry.cpp.o -MF lib/Telemetry/CMakeFiles/LLVMTelemetry.dir/Telemetry.cpp.o.d -o lib/Telemetry/CMakeFiles/LLVMTelemetry.dir/Telemetry.cpp.o -c /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/lib/Telemetry/Telemetry.cpp
In file included from /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/lib/Telemetry/Telemetry.cpp:1:
/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/include/llvm/Telemetry/Telemetry.h:31:7: error: 'llvm::telemetry::Serializer' has virtual functions but non-virtual destructor [-Werror,-Wnon-virtual-dtor]
31 | class Serializer {
| ^
/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/include/llvm/Telemetry/Telemetry.h:64:8: error: 'llvm::telemetry::Config' has virtual functions but non-virtual destructor [-Werror,-Wnon-virtual-dtor]
64 | struct Config {
| ^
/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/include/llvm/Telemetry/Telemetry.h:133:7: error: 'llvm::telemetry::Manager' has virtual functions but non-virtual destructor [-Werror,-Wnon-virtual-dtor]
133 | class Manager {
| ^
3 errors generated.
[586/5340] Building AArch64GenExegesis.inc...
[587/5340] Building AArch64GenCallingConv.inc...
[588/5340] Building AArch64TargetParserDef.inc...
[589/5340] Building AArch64GenMCPseudoLowering.inc...
[590/5340] Building AArch64GenMCCodeEmitter.inc...
[591/5340] Building AArch64GenAsmWriter.inc...
[592/5340] Building AArch64GenDisassemblerTables.inc...
[593/5340] Building AArch64GenAsmWriter1.inc...
[594/5340] Building AArch64GenAsmMatcher.inc...
[595/5340] Building AArch64GenFastISel.inc...
[596/5340] Building AArch64GenGlobalISel.inc...
[597/5340] Building AArch64GenDAGISel.inc...
[598/5340] Building AArch64GenInstrInfo.inc...
ninja: build stopped: subcommand failed.
How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild
program finished with exit code 2
elapsedTime=56.708472
```
</details>
https://github.com/llvm/llvm-project/pull/121003
More information about the llvm-commits
mailing list