DEBUG: Executing shell function do_compile
NOTE: cmake --build TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/build --target all --
[1/152] Building CXX object tests/cc/CMakeFiles/debuginfo_test_lib.dir/debuginfo_test_lib.cc.o
[2/152] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/link_all.cc.o
[3/152] Linking CXX shared library tests/cc/libdebuginfo_test_lib.so
[4/152] Generating debuginfo.so
[5/152] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_common.cc.o
[6/152] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend-objects.dir/kbuild_helper.cc.o
[7/152] Building CXX object src/cc/api/CMakeFiles/api-static.dir/BPFTable.cc.o
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/api/BPFTable.cc:29:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/api/BPFTable.h:30:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bcc_syms.h:24:
TMPDIR/work/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/api/BPFTable.cc:29:
TMPDIR/work/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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.
[8/152] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/exported_files.cc.o
[9/152] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_btf.cc.o
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bcc_btf.cc:17:
TMPDIR/work/riscv64imafdc-yoe-linux/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 §ions_;
| ^
1 warning generated.
[10/152] Building C object src/cc/CMakeFiles/bcc-shared.dir/libbpf.c.o
[11/152] Building CXX object src/cc/usdt/CMakeFiles/usdt-static.dir/usdt.cc.o
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/usdt/usdt.cc:27:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bcc_proc.h:19:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bcc_syms.h:24:
TMPDIR/work/riscv64imafdc-yoe-linux/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.
[12/152] Building C object src/cc/CMakeFiles/bcc-shared.dir/perf_reader.c.o
[13/152] Building CXX object src/cc/api/CMakeFiles/api-static.dir/BPF.cc.o
[14/152] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bpffs_table.cc.o
[15/152] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/shared_table.cc.o
[16/152] Building CXX object src/cc/usdt/CMakeFiles/usdt-static.dir/usdt_args.cc.o
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/usdt/usdt_args.cc:20:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/syms.h:26:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bcc_proc.h:19:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bcc_syms.h:24:
TMPDIR/work/riscv64imafdc-yoe-linux/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/152] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_elf.c.o
[18/152] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_perf_map.c.o
[19/152] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/table_storage.cc.o
TMPDIR/work/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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.
[20/152] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_proc.c.o
[21/152] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_zip.c.o
[22/152] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bpf_module_rw_engine.cc.o
TMPDIR/work/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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.
[23/152] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_elf.c.o
[24/152] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/common.cc.o
[25/152] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_perf_map.c.o
[26/152] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_zip.c.o
[27/152] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_proc.c.o
[28/152] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf.c.o
[29/152] Building C object src/cc/CMakeFiles/bpf-shared.dir/perf_reader.c.o
[30/152] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_syms.cc.o
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bcc_syms.cc:17:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bcc_syms.h:24:
TMPDIR/work/riscv64imafdc-yoe-linux/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/152] Building C object src/cc/CMakeFiles/bpf-shared.dir/bcc_elf.c.o
[32/152] Building C object src/cc/CMakeFiles/bpf-shared.dir/bcc_perf_map.c.o
[33/152] Building C object src/cc/CMakeFiles/bpf-shared.dir/bcc_proc.c.o
[34/152] Building C object src/cc/CMakeFiles/bpf-shared.dir/bcc_zip.c.o
[35/152] Building CXX object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_syms.cc.o
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bcc_syms.cc:17:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bcc_syms.h:24:
TMPDIR/work/riscv64imafdc-yoe-linux/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.
[36/152] Building CXX object src/cc/CMakeFiles/bcc-loader-static.dir/common.cc.o
[37/152] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_debug.cc.o
[38/152] Linking CXX static library src/cc/api/libapi-static.a
[39/152] Linking CXX static library src/cc/usdt/libusdt-static.a
[40/152] Generating debuginfo.so.xz
[41/152] Linking CXX static library src/cc/libbcc-loader-static.a
[42/152] 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/riscv64imafdc-yoe-linux/bcc/0.35.0/recipe-sysroot-native/usr/bin/riscv64-yoe-linux/riscv64-yoe-linux-clang++ --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/recipe-sysroot -DEXPORT_USDT -DHAVE_EXTERNAL_LIBBPF -DHAVE_LIBDEBUGINFOD -DHAVE_LIBLZMA -ITMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/recipe-sysroot/usr/include/../tools/clang/include -ITMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src -ITMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/build/src -ITMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/build/src/cc -ITMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc -ITMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/build/src/cc/frontends/b -ITMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/frontends/b -ITMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/frontends/clang -ITMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/compat -march=rv64imafdc_zicsr_zifencei -mabi=lp64d --dyld-prefix=/usr -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/recipe-sysroot -O2 -g -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0=/usr/src/debug/bcc/0.35.0 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/build=/usr/src/debug/bcc/0.35.0 -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/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 -D_GNU_SOURCE -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/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/frontends/clang/loader.cc
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/frontends/clang/loader.cc:57:
TMPDIR/work/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/frontends/clang/loader.cc:35:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/recipe-sysroot/usr/include/clang/Basic/FileManager.h:22:
TMPDIR/work/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/frontends/clang/loader.cc:35:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/recipe-sysroot/usr/include/clang/Basic/FileManager.h:22:
TMPDIR/work/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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.
[43/152] Building CXX object src/cc/CMakeFiles/bpf-shared.dir/common.cc.o
[44/152] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bcc_common.cc.o
[45/152] Building CXX object src/cc/CMakeFiles/bpf-shared.dir/bcc_syms.cc.o
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bcc_syms.cc:17:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bcc_syms.h:24:
TMPDIR/work/riscv64imafdc-yoe-linux/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.
[46/152] Building CXX object src/cc/CMakeFiles/bpf-shared.dir/usdt/usdt.cc.o
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/usdt/usdt.cc:27:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bcc_proc.h:19:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bcc_syms.h:24:
TMPDIR/work/riscv64imafdc-yoe-linux/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/152] Building CXX object src/cc/CMakeFiles/bpf-shared.dir/usdt/usdt_args.cc.o
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/usdt/usdt_args.cc:20:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/syms.h:26:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bcc_proc.h:19:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bcc_syms.h:24:
TMPDIR/work/riscv64imafdc-yoe-linux/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.
[48/152] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bpf_module.cc.o
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/bpf_module.cc:68:
TMPDIR/work/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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.
[49/152] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend-objects.dir/tp_frontend_action.cc.o
[50/152] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/json_map_decl_visitor.cc.o
[51/152] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend-objects.dir/b_frontend_action.cc.o
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/sources/bcc-0.35.0/src/cc/frontends/clang/b_frontend_action.cc:31:
TMPDIR/work/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/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/riscv64imafdc-yoe-linux/bcc/0.35.0/temp/run.do_compile.3331094:159 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} } cmake --build 'TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'
WARNING: Backtrace (BB generated script):
#1: cmake_runcmake_build, TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/temp/run.do_compile.3331094, line 159
#2: cmake_do_compile, TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/temp/run.do_compile.3331094, line 153
#3: do_compile, TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/temp/run.do_compile.3331094, line 148
#4: main, TMPDIR/work/riscv64imafdc-yoe-linux/bcc/0.35.0/temp/run.do_compile.3331094, line 172