DEBUG: Executing shell function do_compile
NOTE: cmake --build TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/build --target all --
[1/138] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/link_all.cc.o
[2/138] Building C object src/cc/CMakeFiles/bcc-shared.dir/perf_reader.c.o
[3/138] Building C object src/cc/CMakeFiles/bcc-shared.dir/libbpf.c.o
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/libbpf.c:1549:9: warning: 'bpf_set_link_xdp_fd' is deprecated: libbpf v0.8+: use bpf_xdp_attach() instead [-Wdeprecated-declarations]
ret = bpf_set_link_xdp_fd(ifindex, progfd, flags);
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/bpf/libbpf.h:1163:1: note: 'bpf_set_link_xdp_fd' has been explicitly marked deprecated here
LIBBPF_DEPRECATED_SINCE(0, 8, "use bpf_xdp_attach() instead")
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/bpf/libbpf_common.h:24:4: note: expanded from macro 'LIBBPF_DEPRECATED_SINCE'
(LIBBPF_DEPRECATED("libbpf v" # major "." # minor "+: " msg))
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/bpf/libbpf_common.h:19:47: note: expanded from macro 'LIBBPF_DEPRECATED'
#define LIBBPF_DEPRECATED(msg) __attribute__((deprecated(msg)))
^
1 warning generated.
[4/138] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bpffs_table.cc.o
[5/138] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_common.cc.o
[6/138] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/exported_files.cc.o
[7/138] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_perf_map.c.o
[8/138] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_elf.c.o
[9/138] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_proc.c.o
[10/138] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_btf.cc.o
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/bcc_btf.cc:742:10: warning: 'btf__get_map_kv_tids' is deprecated: libbpf v0.7+: this API is not necessary when BTF-defined maps are used [-Wdeprecated-declarations]
return btf__get_map_kv_tids(btf_, map_name.c_str(),
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/bpf/btf.h:153:1: note: 'btf__get_map_kv_tids' has been explicitly marked deprecated here
LIBBPF_DEPRECATED_SINCE(0, 7, "this API is not necessary when BTF-defined maps are used")
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/bpf/libbpf_common.h:24:4: note: expanded from macro 'LIBBPF_DEPRECATED_SINCE'
(LIBBPF_DEPRECATED("libbpf v" # major "." # minor "+: " msg))
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/bpf/libbpf_common.h:19:47: note: expanded from macro 'LIBBPF_DEPRECATED'
#define LIBBPF_DEPRECATED(msg) __attribute__((deprecated(msg)))
^
In file included from TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/bcc_btf.cc:17:
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/bcc_btf.h:156:16: warning: private field 'sections_' is not used [-Wunused-private-field]
sec_map_def §ions_;
^
2 warnings generated.
[11/138] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/shared_table.cc.o
[12/138] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_elf.c.o
[13/138] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_perf_map.c.o
[14/138] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/table_storage.cc.o
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/table_storage.cc:33:70: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
void TableStorage::Init(unique_ptr<TableStorageImpl> impl) { impl_ = move(impl); }
^
std::
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/table_storage.cc:38:42: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
return impl_->Insert(path.to_string(), move(desc));
^
std::
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/table_storage.cc:53:23: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
visitors_.push_back(move(visitor));
^
std::
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/table_storage.cc:72:85: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
TableStorage::iterator::iterator(unique_ptr<TableStorageIteratorImpl> impl) : impl_(move(impl)) {}
^
std::
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/table_storage.cc:75:61: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
TableStorage::iterator::iterator(iterator &&that) { *this = move(that); }
^
std::
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/table_storage.cc:77:11: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
impl_ = move(that.impl_);
^
std::
6 warnings generated.
[15/138] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_proc.c.o
[16/138] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bcc_common.cc.o
[17/138] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/common.cc.o
[18/138] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bpf_module_rw_engine.cc.o
FAILED: src/cc/CMakeFiles/bcc-shared.dir/bpf_module_rw_engine.cc.o
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot-native/usr/bin/aarch64-yoe-linux/aarch64-yoe-linux-clang++ -DEXPORT_USDT -DHAVE_EXTERNAL_LIBBPF -DHAVE_LIBDEBUGINFOD -Dbcc_shared_EXPORTS -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/../tools/clang/include -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/build/src -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/build/src/cc -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/build/src/cc/frontends/b -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/frontends/b -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/frontends/clang -target aarch64-yoe-linux -mcpu=cortex-a57 -march=armv8-a+crc -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -ffile-compilation-dir=. -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0=/usr/src/debug/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0=/usr/src/debug/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -Wall -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=15 -DNDEBUG -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -MD -MT src/cc/CMakeFiles/bcc-shared.dir/bpf_module_rw_engine.cc.o -MF src/cc/CMakeFiles/bcc-shared.dir/bpf_module_rw_engine.cc.o.d -o src/cc/CMakeFiles/bcc-shared.dir/bpf_module_rw_engine.cc.o -c TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/bpf_module_rw_engine.cc
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/bpf_module_rw_engine.cc:53:40: warning: 'getPointerElementType' is deprecated: Deprecated without replacement, see https://llvm.org/docs/OpaquePointers.html for context and migration instructions [-Wdeprecated-declarations]
return B.CreateLoad(addr->getType()->getPointerElementType(), addr, isVolatile);
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/llvm/IR/Type.h:377:5: note: 'getPointerElementType' has been explicitly marked deprecated here
[[deprecated("Deprecated without replacement, see "
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/bpf_module_rw_engine.cc:62:63: warning: 'getPointerElementType' is deprecated: Deprecated without replacement, see https://llvm.org/docs/OpaquePointers.html for context and migration instructions [-Wdeprecated-declarations]
return B.CreateInBoundsGEP(ptr->getType()->getScalarType()->getPointerElementType(),
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/llvm/IR/Type.h:377:5: note: 'getPointerElementType' has been explicitly marked deprecated here
[[deprecated("Deprecated without replacement, see "
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/bpf_module_rw_engine.cc:376:25: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
EngineBuilder builder(move(m));
^
std::
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/bpf_module_rw_engine.cc:404:53: error: no member named 'getElementType' in 'llvm::PointerType'
if (StructType *st = dyn_cast<StructType>(pt->getElementType())) {
~~ ^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/bpf_module_rw_engine.cc:425:28: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
rw_engine_ = finalize_rw(move(m));
^
std::
4 warnings and 1 error generated.
[19/138] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_debug.cc.o
FAILED: src/cc/CMakeFiles/bcc-shared.dir/bcc_debug.cc.o
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot-native/usr/bin/aarch64-yoe-linux/aarch64-yoe-linux-clang++ -DEXPORT_USDT -DHAVE_EXTERNAL_LIBBPF -DHAVE_LIBDEBUGINFOD -Dbcc_shared_EXPORTS -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/../tools/clang/include -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/build/src -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/build/src/cc -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/build/src/cc/frontends/b -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/frontends/b -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/frontends/clang -target aarch64-yoe-linux -mcpu=cortex-a57 -march=armv8-a+crc -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -ffile-compilation-dir=. -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0=/usr/src/debug/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0=/usr/src/debug/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -Wall -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=15 -DNDEBUG -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -MD -MT src/cc/CMakeFiles/bcc-shared.dir/bcc_debug.cc.o -MF src/cc/CMakeFiles/bcc-shared.dir/bcc_debug.cc.o.d -o src/cc/CMakeFiles/bcc-shared.dir/bcc_debug.cc.o -c TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/bcc_debug.cc
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/bcc_debug.cc:183:47: error: no matching member function for call to 'getLineTableForUnit'
const DWARFLineTable *LineTable = DwarfCtx->getLineTableForUnit(CU);
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/llvm/DebugInfo/DWARF/DWARFContext.h:328:36: note: candidate function not viable: cannot convert argument of incomplete type 'llvm::DWARFCompileUnit *' to 'llvm::DWARFUnit *' for 1st argument
const DWARFDebugLine::LineTable *getLineTableForUnit(DWARFUnit *U);
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/llvm/DebugInfo/DWARF/DWARFContext.h:333:3: note: candidate function not viable: requires 2 arguments, but 1 was provided
getLineTableForUnit(DWARFUnit *U,
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/bcc_debug.cc:234:17: error: member access into incomplete type 'llvm::DWARFCompileUnit'
CU->getCompilationDir(),
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/llvm/DebugInfo/DWARF/DWARFContext.h:33:7: note: forward declaration of 'llvm::DWARFCompileUnit'
class DWARFCompileUnit;
^
In file included from TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/bcc_debug.cc:17:
In file included from TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/c++/v1/map:541:
In file included from TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/c++/v1/__node_handle:63:
In file included from TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/c++/v1/memory:860:
In file included from TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/c++/v1/__memory/shared_ptr.h:28:
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/c++/v1/__memory/unique_ptr.h:46:19: error: invalid application of 'sizeof' to an incomplete type 'llvm::MCSubtargetInfo'
static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
^~~~~~~~~~~
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/c++/v1/__memory/unique_ptr.h:305:7: note: in instantiation of member function 'std::default_delete<llvm::MCSubtargetInfo>::operator()' requested here
__ptr_.second()(__tmp);
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/c++/v1/__memory/unique_ptr.h:259:19: note: in instantiation of member function 'std::unique_ptr<llvm::MCSubtargetInfo>::reset' requested here
~unique_ptr() { reset(); }
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/bcc_debug.cc:135:36: note: in instantiation of member function 'std::unique_ptr<llvm::MCSubtargetInfo>::~unique_ptr' requested here
std::unique_ptr<MCSubtargetInfo> STI(
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/llvm/MC/MCAsmInfo.h:30:7: note: forward declaration of 'llvm::MCSubtargetInfo'
class MCSubtargetInfo;
^
3 errors generated.
[20/138] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bcc_btf.cc.o
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/bcc_btf.cc:742:10: warning: 'btf__get_map_kv_tids' is deprecated: libbpf v0.7+: this API is not necessary when BTF-defined maps are used [-Wdeprecated-declarations]
return btf__get_map_kv_tids(btf_, map_name.c_str(),
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/bpf/btf.h:153:1: note: 'btf__get_map_kv_tids' has been explicitly marked deprecated here
LIBBPF_DEPRECATED_SINCE(0, 7, "this API is not necessary when BTF-defined maps are used")
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/bpf/libbpf_common.h:24:4: note: expanded from macro 'LIBBPF_DEPRECATED_SINCE'
(LIBBPF_DEPRECATED("libbpf v" # major "." # minor "+: " msg))
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/bpf/libbpf_common.h:19:47: note: expanded from macro 'LIBBPF_DEPRECATED'
#define LIBBPF_DEPRECATED(msg) __attribute__((deprecated(msg)))
^
In file included from TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/bcc_btf.cc:17:
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/bcc_btf.h:156:16: warning: private field 'sections_' is not used [-Wunused-private-field]
sec_map_def §ions_;
^
2 warnings generated.
[21/138] Building CXX object src/cc/CMakeFiles/bcc-static.dir/exported_files.cc.o
[22/138] Building CXX object src/cc/CMakeFiles/bcc-loader-static.dir/common.cc.o
[23/138] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_syms.cc.o
[24/138] Building CXX object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_syms.cc.o
[25/138] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bcc_debug.cc.o
FAILED: src/cc/CMakeFiles/bcc-static.dir/bcc_debug.cc.o
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot-native/usr/bin/aarch64-yoe-linux/aarch64-yoe-linux-clang++ -DEXPORT_USDT -DHAVE_EXTERNAL_LIBBPF -DHAVE_LIBDEBUGINFOD -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/../tools/clang/include -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/build/src -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/build/src/cc -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/build/src/cc/frontends/b -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/frontends/b -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/frontends/clang -target aarch64-yoe-linux -mcpu=cortex-a57 -march=armv8-a+crc -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -ffile-compilation-dir=. -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0=/usr/src/debug/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0=/usr/src/debug/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -Wall -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=15 -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -MD -MT src/cc/CMakeFiles/bcc-static.dir/bcc_debug.cc.o -MF src/cc/CMakeFiles/bcc-static.dir/bcc_debug.cc.o.d -o src/cc/CMakeFiles/bcc-static.dir/bcc_debug.cc.o -c TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/bcc_debug.cc
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/bcc_debug.cc:183:47: error: no matching member function for call to 'getLineTableForUnit'
const DWARFLineTable *LineTable = DwarfCtx->getLineTableForUnit(CU);
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/llvm/DebugInfo/DWARF/DWARFContext.h:328:36: note: candidate function not viable: cannot convert argument of incomplete type 'llvm::DWARFCompileUnit *' to 'llvm::DWARFUnit *' for 1st argument
const DWARFDebugLine::LineTable *getLineTableForUnit(DWARFUnit *U);
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/llvm/DebugInfo/DWARF/DWARFContext.h:333:3: note: candidate function not viable: requires 2 arguments, but 1 was provided
getLineTableForUnit(DWARFUnit *U,
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/bcc_debug.cc:234:17: error: member access into incomplete type 'llvm::DWARFCompileUnit'
CU->getCompilationDir(),
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/llvm/DebugInfo/DWARF/DWARFContext.h:33:7: note: forward declaration of 'llvm::DWARFCompileUnit'
class DWARFCompileUnit;
^
In file included from TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/bcc_debug.cc:17:
In file included from TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/c++/v1/map:541:
In file included from TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/c++/v1/__node_handle:63:
In file included from TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/c++/v1/memory:860:
In file included from TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/c++/v1/__memory/shared_ptr.h:28:
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/c++/v1/__memory/unique_ptr.h:46:19: error: invalid application of 'sizeof' to an incomplete type 'llvm::MCSubtargetInfo'
static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
^~~~~~~~~~~
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/c++/v1/__memory/unique_ptr.h:305:7: note: in instantiation of member function 'std::default_delete<llvm::MCSubtargetInfo>::operator()' requested here
__ptr_.second()(__tmp);
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/c++/v1/__memory/unique_ptr.h:259:19: note: in instantiation of member function 'std::unique_ptr<llvm::MCSubtargetInfo>::reset' requested here
~unique_ptr() { reset(); }
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/bcc_debug.cc:135:36: note: in instantiation of member function 'std::unique_ptr<llvm::MCSubtargetInfo>::~unique_ptr' requested here
std::unique_ptr<MCSubtargetInfo> STI(
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/llvm/MC/MCAsmInfo.h:30:7: note: forward declaration of 'llvm::MCSubtargetInfo'
class MCSubtargetInfo;
^
3 errors generated.
[26/138] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bpf_module.cc.o
FAILED: src/cc/CMakeFiles/bcc-shared.dir/bpf_module.cc.o
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot-native/usr/bin/aarch64-yoe-linux/aarch64-yoe-linux-clang++ -DEXPORT_USDT -DHAVE_EXTERNAL_LIBBPF -DHAVE_LIBDEBUGINFOD -Dbcc_shared_EXPORTS -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/../tools/clang/include -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/build/src -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/build/src/cc -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/build/src/cc/frontends/b -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/frontends/b -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/frontends/clang -target aarch64-yoe-linux -mcpu=cortex-a57 -march=armv8-a+crc -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -ffile-compilation-dir=. -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0=/usr/src/debug/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0=/usr/src/debug/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -Wall -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=15 -DNDEBUG -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -MD -MT src/cc/CMakeFiles/bcc-shared.dir/bpf_module.cc.o -MF src/cc/CMakeFiles/bcc-shared.dir/bpf_module.cc.o.d -o src/cc/CMakeFiles/bcc-shared.dir/bpf_module.cc.o -c TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/bpf_module.cc
In file included from TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/bpf_module.cc:42:
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/frontends/clang/b_frontend_action.h:182:24: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
fake_fd_map_[fd] = move(map_def);
^
std::
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/bpf_module.cc:200:10: error: cannot initialize a parameter of type 'llvm::Pass *' with an rvalue of type 'llvm::ModulePass *'
PM.add(createPrintModulePass(errs()));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/llvm/IR/IRPrintingPasses.h:30:7: note: 'llvm::ModulePass' is not defined, but forward declared here; conversion would be valid if it was derived from 'llvm::Pass'
class ModulePass;
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/llvm/IR/LegacyPassManager.h:58:18: note: passing argument to parameter 'P' here
void add(Pass *P) override;
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/bpf_module.cc:225:12: error: cannot initialize a parameter of type 'llvm::Pass *' with an rvalue of type 'llvm::ModulePass *'
PM.add(createPrintModulePass(outs()));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/llvm/IR/IRPrintingPasses.h:30:7: note: 'llvm::ModulePass' is not defined, but forward declared here; conversion would be valid if it was derived from 'llvm::Pass'
class ModulePass;
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/llvm/IR/LegacyPassManager.h:58:18: note: passing argument to parameter 'P' here
void add(Pass *P) override;
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/bpf_module.cc:475:25: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
EngineBuilder builder(move(mod_));
^
std::
2 warnings and 2 errors generated.
[27/138] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bpf_module.cc.o
FAILED: src/cc/CMakeFiles/bcc-static.dir/bpf_module.cc.o
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot-native/usr/bin/aarch64-yoe-linux/aarch64-yoe-linux-clang++ -DEXPORT_USDT -DHAVE_EXTERNAL_LIBBPF -DHAVE_LIBDEBUGINFOD -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/../tools/clang/include -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/build/src -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/build/src/cc -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/build/src/cc/frontends/b -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/frontends/b -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/frontends/clang -target aarch64-yoe-linux -mcpu=cortex-a57 -march=armv8-a+crc -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -ffile-compilation-dir=. -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0=/usr/src/debug/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0=/usr/src/debug/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -Wall -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=15 -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -MD -MT src/cc/CMakeFiles/bcc-static.dir/bpf_module.cc.o -MF src/cc/CMakeFiles/bcc-static.dir/bpf_module.cc.o.d -o src/cc/CMakeFiles/bcc-static.dir/bpf_module.cc.o -c TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/bpf_module.cc
In file included from TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/bpf_module.cc:42:
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/frontends/clang/b_frontend_action.h:182:24: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
fake_fd_map_[fd] = move(map_def);
^
std::
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/bpf_module.cc:200:10: error: cannot initialize a parameter of type 'llvm::Pass *' with an rvalue of type 'llvm::ModulePass *'
PM.add(createPrintModulePass(errs()));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/llvm/IR/IRPrintingPasses.h:30:7: note: 'llvm::ModulePass' is not defined, but forward declared here; conversion would be valid if it was derived from 'llvm::Pass'
class ModulePass;
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/llvm/IR/LegacyPassManager.h:58:18: note: passing argument to parameter 'P' here
void add(Pass *P) override;
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/bpf_module.cc:225:12: error: cannot initialize a parameter of type 'llvm::Pass *' with an rvalue of type 'llvm::ModulePass *'
PM.add(createPrintModulePass(outs()));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/llvm/IR/IRPrintingPasses.h:30:7: note: 'llvm::ModulePass' is not defined, but forward declared here; conversion would be valid if it was derived from 'llvm::Pass'
class ModulePass;
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/recipe-sysroot/usr/include/llvm/IR/LegacyPassManager.h:58:18: note: passing argument to parameter 'P' here
void add(Pass *P) override;
^
TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/git/src/cc/bpf_module.cc:475:25: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
EngineBuilder builder(move(mod_));
^
std::
2 warnings and 2 errors generated.
[28/138] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/json_map_decl_visitor.cc.o
ninja: build stopped: subcommand failed.
WARNING: TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/temp/run.do_compile.1787632:160 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} } cmake --build 'TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'
WARNING: Backtrace (BB generated script):
#1: cmake_runcmake_build, TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/temp/run.do_compile.1787632, line 160
#2: cmake_do_compile, TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/temp/run.do_compile.1787632, line 154
#3: do_compile, TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/temp/run.do_compile.1787632, line 149
#4: main, TOPDIR/build/tmp/work/cortexa57-yoe-linux/bcc/0.24.0+gitAUTOINC+8f40d6f57a-r0/temp/run.do_compile.1787632, line 173