DEBUG: Executing shell function do_compile
NOTE: cmake --build TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/build --target all --
[1/119] Building CXX object tests/cc/CMakeFiles/debuginfo_test_lib.dir/debuginfo_test_lib.cc.o
[2/119] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/link_all.cc.o
[3/119] Linking CXX shared library tests/cc/libdebuginfo_test_lib.so
[4/119] Generating debuginfo.so
[5/119] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_common.cc.o
[6/119] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend-objects.dir/kbuild_helper.cc.o
[7/119] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/exported_files.cc.o
[8/119] Building CXX object src/cc/api/CMakeFiles/api-static.dir/BPFTable.cc.o
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/api/BPFTable.cc:29:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/api/BPFTable.h:30:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bcc_syms.h:24:
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/compat/linux/bpf.h:7183:1: warning: struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
 7183 | struct bpf_raw_tracepoint_args {
      | ^
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/api/BPFTable.cc:44:12: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
   44 |   char key[desc.key_size];
      |            ^~~~~~~~~~~~~
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/api/BPFTable.cc:44:12: note: implicit use of 'this' pointer is only allowed within the evaluation of a call to a 'constexpr' member function
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/api/BPFTable.cc:45:14: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
   45 |   char value[desc.leaf_size];
      |              ^~~~~~~~~~~~~~
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/api/BPFTable.cc:45:14: note: implicit use of 'this' pointer is only allowed within the evaluation of a call to a 'constexpr' member function
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/api/BPFTable.cc:62:12: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
   62 |   char key[desc.key_size];
      |            ^~~~~~~~~~~~~
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/api/BPFTable.cc:62:12: note: implicit use of 'this' pointer is only allowed within the evaluation of a call to a 'constexpr' member function
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/api/BPFTable.cc:63:14: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
   63 |   char value[desc.leaf_size * ncpus];
      |              ^~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/api/BPFTable.cc:63:14: note: implicit use of 'this' pointer is only allowed within the evaluation of a call to a 'constexpr' member function
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/api/BPFTable.cc:86:12: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
   86 |   char key[desc.key_size];
      |            ^~~~~~~~~~~~~
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/api/BPFTable.cc:86:12: note: implicit use of 'this' pointer is only allowed within the evaluation of a call to a 'constexpr' member function
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/api/BPFTable.cc:87:14: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
   87 |   char value[desc.leaf_size];
      |              ^~~~~~~~~~~~~~
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/api/BPFTable.cc:87:14: note: implicit use of 'this' pointer is only allowed within the evaluation of a call to a 'constexpr' member function
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/api/BPFTable.cc:108:12: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
  108 |   char key[desc.key_size];
      |            ^~~~~~~~~~~~~
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/api/BPFTable.cc:108:12: note: implicit use of 'this' pointer is only allowed within the evaluation of a call to a 'constexpr' member function
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/api/BPFTable.cc:109:14: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
  109 |   char value[desc.leaf_size * ncpus];
      |              ^~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/api/BPFTable.cc:109:14: note: implicit use of 'this' pointer is only allowed within the evaluation of a call to a 'constexpr' member function
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/api/BPFTable.cc:133:12: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
  133 |   char key[desc.key_size];
      |            ^~~~~~~~~~~~~
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/api/BPFTable.cc:133:12: note: implicit use of 'this' pointer is only allowed within the evaluation of a call to a 'constexpr' member function
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/api/BPFTable.cc:29:
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/api/BPFTable.h:99:14: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
   99 |     char buf[8 * desc.leaf_size];
      |              ^~~~~~~~~~~~~~~~~~
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/api/BPFTable.cc:56:10: note: in instantiation of member function 'ebpf::BPFTableBase<void, void>::leaf_to_string' requested here
   56 |   return leaf_to_string(value, value_str);
      |          ^
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/api/BPFTable.h:99:18: note: implicit use of 'this' pointer is only allowed within the evaluation of a call to a 'constexpr' member function
   99 |     char buf[8 * desc.leaf_size];
      |                  ^
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/api/BPFTable.h:91:14: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
   91 |     char buf[8 * desc.key_size];
      |              ^~~~~~~~~~~~~~~~~
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/api/BPFTable.cc:215:11: note: in instantiation of member function 'ebpf::BPFTableBase<void, void>::key_to_string' requested here
  215 |       r = key_to_string(&i, key_str);
      |           ^
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/api/BPFTable.h:91:18: note: implicit use of 'this' pointer is only allowed within the evaluation of a call to a 'constexpr' member function
   91 |     char buf[8 * desc.key_size];
      |                  ^
12 warnings generated.
[9/119] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_btf.cc.o
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bcc_btf.cc:17:
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bcc_btf.h:157:16: warning: private field 'sections_' is not used [-Wunused-private-field]
  157 |   sec_map_def &sections_;
      |                ^
1 warning generated.
[10/119] Building CXX object src/cc/usdt/CMakeFiles/usdt-static.dir/usdt.cc.o
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/usdt/usdt.cc:27:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bcc_proc.h:19:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bcc_syms.h:24:
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/compat/linux/bpf.h:7183:1: warning: struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
 7183 | struct bpf_raw_tracepoint_args {
      | ^
1 warning generated.
[11/119] Building C object src/cc/CMakeFiles/bcc-shared.dir/libbpf.c.o
[12/119] Building C object src/cc/CMakeFiles/bcc-shared.dir/perf_reader.c.o
[13/119] Building CXX object src/cc/api/CMakeFiles/api-static.dir/BPF.cc.o
[14/119] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bpffs_table.cc.o
[15/119] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/shared_table.cc.o
[16/119] Building CXX object src/cc/usdt/CMakeFiles/usdt-static.dir/usdt_args.cc.o
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/usdt/usdt_args.cc:20:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/syms.h:26:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bcc_proc.h:19:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bcc_syms.h:24:
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/compat/linux/bpf.h:7183:1: warning: struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
 7183 | struct bpf_raw_tracepoint_args {
      | ^
1 warning generated.
[17/119] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/table_storage.cc.o
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/table_storage.cc:33:70: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
   33 | void TableStorage::Init(unique_ptr<TableStorageImpl> impl) { impl_ = move(impl); }
      |                                                                      ^
      |                                                                      std::
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/table_storage.cc:38:42: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
   38 |   return impl_->Insert(path.to_string(), move(desc));
      |                                          ^
      |                                          std::
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/table_storage.cc:53:23: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
   53 |   visitors_.push_back(move(visitor));
      |                       ^
      |                       std::
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/table_storage.cc:72:85: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
   72 | TableStorage::iterator::iterator(unique_ptr<TableStorageIteratorImpl> impl) : impl_(move(impl)) {}
      |                                                                                     ^
      |                                                                                     std::
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/table_storage.cc:75:61: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
   75 | TableStorage::iterator::iterator(iterator &&that) { *this = move(that); }
      |                                                             ^
      |                                                             std::
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/table_storage.cc:77:11: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
   77 |   impl_ = move(that.impl_);
      |           ^
      |           std::
6 warnings generated.
[18/119] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_elf.c.o
[19/119] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_perf_map.c.o
[20/119] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_zip.c.o
[21/119] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_proc.c.o
[22/119] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf.c.o
[23/119] Building C object src/cc/CMakeFiles/bpf-shared.dir/perf_reader.c.o
[24/119] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bpf_module_rw_engine.cc.o
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bpf_module_rw_engine.cc:289:54: warning: 'getUnqual' is deprecated: PointerType::getUnqual with pointee type is pending removal. Use Context overload. [-Wdeprecated-declarations]
  289 |   vector<Type *> fn_args({B.getPtrTy(), PointerType::getUnqual(type)});
      |                                                      ^
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/recipe-sysroot/usr/include/llvm/IR/DerivedTypes.h:718:5: note: 'getUnqual' has been explicitly marked deprecated here
  718 |   [[deprecated("PointerType::getUnqual with pointee type is pending removal. "
      |     ^
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bpf_module_rw_engine.cc:357:70: warning: 'getUnqual' is deprecated: PointerType::getUnqual with pointee type is pending removal. Use Context overload. [-Wdeprecated-declarations]
  357 |   vector<Type *> fn_args({B.getPtrTy(), B.getInt64Ty(), PointerType::getUnqual(type)});
      |                                                                      ^
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/recipe-sysroot/usr/include/llvm/IR/DerivedTypes.h:718:5: note: 'getUnqual' has been explicitly marked deprecated here
  718 |   [[deprecated("PointerType::getUnqual with pointee type is pending removal. "
      |     ^
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bpf_module_rw_engine.cc:419:25: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
  419 |   EngineBuilder builder(move(m));
      |                         ^
      |                         std::
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bpf_module_rw_engine.cc:475:28: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
  475 |   rw_engine_ = finalize_rw(move(m));
      |                            ^
      |                            std::
4 warnings generated.
[25/119] Building C object src/cc/CMakeFiles/bpf-shared.dir/bcc_elf.c.o
[26/119] Building C object src/cc/CMakeFiles/bpf-shared.dir/bcc_perf_map.c.o
[27/119] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/common.cc.o
[28/119] Building C object src/cc/CMakeFiles/bpf-shared.dir/bcc_zip.c.o
[29/119] Building C object src/cc/CMakeFiles/bpf-shared.dir/bcc_proc.c.o
[30/119] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_syms.cc.o
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bcc_syms.cc:17:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bcc_syms.h:24:
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/compat/linux/bpf.h:7183:1: warning: struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
 7183 | struct bpf_raw_tracepoint_args {
      | ^
1 warning generated.
[31/119] Building CXX object src/cc/CMakeFiles/bpf-shared.dir/common.cc.o
[32/119] Linking CXX static library src/cc/api/libapi-static.a
[33/119] Linking CXX static library src/cc/usdt/libusdt-static.a
[34/119] Generating debuginfo.so.xz
[35/119] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_debug.cc.o
[36/119] Building CXX object src/cc/CMakeFiles/bpf-shared.dir/bcc_syms.cc.o
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bcc_syms.cc:17:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bcc_syms.h:24:
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/compat/linux/bpf.h:7183:1: warning: struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
 7183 | struct bpf_raw_tracepoint_args {
      | ^
1 warning generated.
[37/119] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_perf_map.c.o
[38/119] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_proc.c.o
[39/119] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_elf.c.o
[40/119] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_zip.c.o
[41/119] Building CXX object tests/cc/CMakeFiles/usdt_test_lib.dir/usdt_test_lib.cc.o
[42/119] Generating with_gnu_debuglink.so
[43/119] Generating with_gnu_debugdata.so
[44/119] Generating archive.zip
  adding: libdebuginfo_test_lib.so (stored 0%)
  adding: zip_subdir/file.txt (stored 0%)
[45/119] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend-objects.dir/loader.cc.o
FAILED: [code=1] src/cc/frontends/clang/CMakeFiles/clang_frontend-objects.dir/loader.cc.o 
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/recipe-sysroot-native/usr/bin/aarch64-yoe-linux-musl/aarch64-yoe-linux-musl-clang++ --sysroot=TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/recipe-sysroot -DEXPORT_USDT -DHAVE_EXTERNAL_LIBBPF -DHAVE_LIBDEBUGINFOD -DHAVE_LIBLZMA -ITMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/recipe-sysroot/usr/include/../tools/clang/include -ITMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src -ITMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/build/src -ITMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/build/src/cc -ITMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc -ITMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/build/src/cc/frontends/b -ITMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/frontends/b -ITMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/frontends/clang -ITMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/compat -mcpu=cortex-a57+crc   --dyld-prefix=/usr -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/recipe-sysroot  -O2 -g  -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0=/usr/src/debug/bcc/0.35.0  -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/build=/usr/src/debug/bcc/0.35.0  -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/recipe-sysroot-native=  -pipe -fvisibility-inlines-hidden -Wall  -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DKERNEL_MODULES_DIR='"/lib/modules"' -DNDEBUG -std=gnu++17 -DEXPERIMENTAL_KEY_INSTRUCTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -MD -MT src/cc/frontends/clang/CMakeFiles/clang_frontend-objects.dir/loader.cc.o -MF src/cc/frontends/clang/CMakeFiles/clang_frontend-objects.dir/loader.cc.o.d -o src/cc/frontends/clang/CMakeFiles/clang_frontend-objects.dir/loader.cc.o -c TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/frontends/clang/loader.cc
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/frontends/clang/loader.cc:57:
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/frontends/clang/b_frontend_action.h:183:24: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
  183 |     fake_fd_map_[fd] = move(map_def);
      |                        ^
      |                        std::
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/frontends/clang/loader.cc:400:26: error: no matching constructor for initialization of 'TextDiagnosticPrinter'
  400 |   auto diag_client = new TextDiagnosticPrinter(llvm::errs(), &*diag_opts);
      |                          ^                     ~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/recipe-sysroot/usr/include/clang/Frontend/TextDiagnosticPrinter.h:41:3: note: candidate constructor not viable: no known conversion from 'clang::DiagnosticOptions *' to 'DiagnosticOptions &' for 2nd argument; remove &
   41 |   TextDiagnosticPrinter(raw_ostream &os, DiagnosticOptions &DiagOpts,
      |   ^                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/recipe-sysroot/usr/include/clang/Frontend/TextDiagnosticPrinter.h:27:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
   27 | class TextDiagnosticPrinter : public DiagnosticConsumer {
      |       ^~~~~~~~~~~~~~~~~~~~~
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/frontends/clang/loader.cc:35:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/recipe-sysroot/usr/include/clang/Basic/FileManager.h:22:
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/recipe-sysroot/usr/include/llvm/ADT/IntrusiveRefCntPtr.h:163:37: error: no member named 'Retain' in 'clang::DiagnosticOptions'
  163 |   static void retain(T *obj) { obj->Retain(); }
      |                                ~~~  ^
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/recipe-sysroot/usr/include/llvm/ADT/IntrusiveRefCntPtr.h:228:34: note: in instantiation of member function 'llvm::IntrusiveRefCntPtrInfo<clang::DiagnosticOptions>::retain' requested here
  228 |       IntrusiveRefCntPtrInfo<T>::retain(Obj);
      |                                  ^
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/recipe-sysroot/usr/include/llvm/ADT/IntrusiveRefCntPtr.h:180:43: note: in instantiation of member function 'llvm::IntrusiveRefCntPtr<clang::DiagnosticOptions>::retain' requested here
  180 |   IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); }
      |                                           ^
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/frontends/clang/loader.cc:399:41: note: in instantiation of member function 'llvm::IntrusiveRefCntPtr<clang::DiagnosticOptions>::IntrusiveRefCntPtr' requested here
  399 |   IntrusiveRefCntPtr<DiagnosticOptions> diag_opts(new DiagnosticOptions());
      |                                         ^
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/frontends/clang/loader.cc:35:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/recipe-sysroot/usr/include/clang/Basic/FileManager.h:22:
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/recipe-sysroot/usr/include/llvm/ADT/IntrusiveRefCntPtr.h:164:38: error: no member named 'Release' in 'clang::DiagnosticOptions'
  164 |   static void release(T *obj) { obj->Release(); }
      |                                 ~~~  ^
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/recipe-sysroot/usr/include/llvm/ADT/IntrusiveRefCntPtr.h:233:34: note: in instantiation of member function 'llvm::IntrusiveRefCntPtrInfo<clang::DiagnosticOptions>::release' requested here
  233 |       IntrusiveRefCntPtrInfo<T>::release(Obj);
      |                                  ^
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/recipe-sysroot/usr/include/llvm/ADT/IntrusiveRefCntPtr.h:196:27: note: in instantiation of member function 'llvm::IntrusiveRefCntPtr<clang::DiagnosticOptions>::release' requested here
  196 |   ~IntrusiveRefCntPtr() { release(); }
      |                           ^
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/frontends/clang/loader.cc:399:41: note: in instantiation of member function 'llvm::IntrusiveRefCntPtr<clang::DiagnosticOptions>::~IntrusiveRefCntPtr' requested here
  399 |   IntrusiveRefCntPtr<DiagnosticOptions> diag_opts(new DiagnosticOptions());
      |                                         ^
1 warning and 3 errors generated.
[46/119] Building CXX object src/cc/CMakeFiles/bpf-shared.dir/usdt/usdt.cc.o
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/usdt/usdt.cc:27:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bcc_proc.h:19:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bcc_syms.h:24:
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/compat/linux/bpf.h:7183:1: warning: struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
 7183 | struct bpf_raw_tracepoint_args {
      | ^
1 warning generated.
[47/119] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bcc_common.cc.o
[48/119] Building CXX object src/cc/CMakeFiles/bcc-loader-static.dir/common.cc.o
[49/119] Building CXX object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_syms.cc.o
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bcc_syms.cc:17:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bcc_syms.h:24:
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/compat/linux/bpf.h:7183:1: warning: struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
 7183 | struct bpf_raw_tracepoint_args {
      | ^
1 warning generated.
[50/119] Building CXX object src/cc/CMakeFiles/bpf-shared.dir/usdt/usdt_args.cc.o
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/usdt/usdt_args.cc:20:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/syms.h:26:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bcc_proc.h:19:
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bcc_syms.h:24:
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/compat/linux/bpf.h:7183:1: warning: struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
 7183 | struct bpf_raw_tracepoint_args {
      | ^
1 warning generated.
[51/119] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bpf_module.cc.o
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bpf_module.cc:68:
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/frontends/clang/b_frontend_action.h:183:24: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
  183 |     fake_fd_map_[fd] = move(map_def);
      |                        ^
      |                        std::
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bpf_module.cc:560:25: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
  560 |   EngineBuilder builder(move(mod_));
      |                         ^
      |                         std::
2 warnings generated.
[52/119] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend-objects.dir/tp_frontend_action.cc.o
[53/119] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/json_map_decl_visitor.cc.o
[54/119] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend-objects.dir/b_frontend_action.cc.o
In file included from TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/frontends/clang/b_frontend_action.cc:31:
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/frontends/clang/b_frontend_action.h:183:24: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
  183 |     fake_fd_map_[fd] = move(map_def);
      |                        ^
      |                        std::
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/frontends/clang/b_frontend_action.cc:1674:44: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
 1674 |     fe_.table_storage().Insert(local_path, move(table));
      |                                            ^
      |                                            std::
TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/sources/bcc-0.35.0/src/cc/frontends/clang/b_frontend_action.cc:1480:14: warning: variable 'i' set but not used [-Wunused-but-set-variable]
 1480 |     unsigned i = 0;
      |              ^
3 warnings generated.
ninja: build stopped: subcommand failed.
WARNING: TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/temp/run.do_compile.1210189:159 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} } cmake --build 'TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'
WARNING: Backtrace (BB generated script): 
	#1: cmake_runcmake_build, TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/temp/run.do_compile.1210189, line 159
	#2: cmake_do_compile, TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/temp/run.do_compile.1210189, line 153
	#3: do_compile, TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/temp/run.do_compile.1210189, line 148
	#4: main, TMPDIR/work/cortexa57-yoe-linux-musl/bcc/0.35.0/temp/run.do_compile.1210189, line 172

Error details

Submitted on:
29/08/25 11:55
Error type:
Recipe
Task:
do_compile
Recipe:
bcc
Recipe version:
0.35.0-r0
Machine:
qemuarm64
Distro:
yoe
Build system:
x86_64-linux
Target system:
aarch64-yoe-linux-musl
Host distro:
ubuntu-22.04/ubuntu-22.04
Branch:
HEAD
Commit:
0486bef1cced4c520b71d7ea6a1d13284eae8bf1
Build:
#215506
Submitter:
ab@rdk
Similar errors:
3
Open a bug