[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 16:09:48 PST 2024


llvm-ci wrote:

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

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

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

```
Step 5 (build-unified-tree) failure: build (failure)
...
4.126 [5560/34/753] Copying clang's llvm_libc_wrappers/inttypes.h...
4.126 [5560/33/754] Copying clang's llvm_libc_wrappers/time.h...
4.225 [5560/32/755] Copying clang's arm_cde.h...
4.240 [5560/31/756] Copying clang's arm_bf16.h...
4.292 [5560/30/757] Copying clang's arm_fp16.h...
4.297 [5560/29/758] Copying clang's arm_vector_types.h...
4.315 [5560/28/759] Copying clang's arm_sme.h...
4.346 [5560/27/760] Building arm_sve_sema_rangechecks.inc...
4.366 [5560/26/761] Copying clang's riscv_vector.h...
4.431 [5560/25/762] Building CXX object lib/Telemetry/CMakeFiles/LLVMTelemetry.dir/Telemetry.cpp.o
FAILED: lib/Telemetry/CMakeFiles/LLVMTelemetry.dir/Telemetry.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/Telemetry -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/lib/Telemetry -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/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 /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/lib/Telemetry/Telemetry.cpp
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/lib/Telemetry/Telemetry.cpp:1:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/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 {
      |       ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/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 {
      |        ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/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.
4.675 [5560/24/763] Copying clang's arm_mve.h...
4.753 [5560/23/764] Copying clang's arm_neon.h...
4.824 [5560/22/765] Building IntrinsicsXCore.h...
4.825 [5560/21/766] Copying clang's arm_sve.h...
4.921 [5560/20/767] Building IntrinsicsWebAssembly.h...
5.072 [5560/19/768] Building IntrinsicsMips.h...
5.114 [5560/18/769] Building IntrinsicsNVPTX.h...
5.134 [5560/17/770] Building IntrinsicsR600.h...
5.184 [5560/16/771] Building IntrinsicsAArch64.h...
5.188 [5560/15/772] Building IntrinsicsS390.h...
5.193 [5560/14/773] Building IntrinsicEnums.inc...
5.203 [5560/13/774] Building IntrinsicsDirectX.h...
5.206 [5560/12/775] Building IntrinsicsVE.h...
5.213 [5560/11/776] Building IntrinsicsARM.h...
5.218 [5560/10/777] Building IntrinsicsPowerPC.h...
5.240 [5560/9/778] Building IntrinsicsX86.h...
5.253 [5560/8/779] Building IntrinsicsSPIRV.h...
5.260 [5560/7/780] Building IntrinsicsBPF.h...
5.274 [5560/6/781] Building IntrinsicsHexagon.h...
5.288 [5560/5/782] Building IntrinsicsLoongArch.h...
5.296 [5560/4/783] Building IntrinsicsAMDGPU.h...
5.308 [5560/3/784] Building IntrinsicsRISCV.h...
5.449 [5560/2/785] Building IntrinsicImpl.inc...
5.874 [5560/1/786] Building ARMTargetParserDef.inc...
ninja: build stopped: subcommand failed.

```

</details>

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


More information about the llvm-commits mailing list