Created
October 20, 2023 17:01
-
-
Save chantra/d2277d500d150ec2cc863dd412bd3264 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 73%] Built target clang_frontend-objects | |
[ 73%] Linking CXX static library libclang_frontend.a | |
[ 73%] Built target clang_frontend | |
[ 73%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bpf_module.cc.o | |
[ 74%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bcc_common.cc.o | |
[ 74%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/exported_files.cc.o | |
[ 75%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bcc_debug.cc.o | |
[ 75%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bcc_btf.cc.o | |
[ 75%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_common.cc.o | |
[ 75%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/link_all.cc.o | |
[ 75%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bpf_module_rw_engine.cc.o | |
[ 76%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/shared_table.cc.o | |
[ 76%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/exported_files.cc.o | |
[ 76%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/table_storage.cc.o | |
[ 77%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bpf_module.cc.o | |
[ 77%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_btf.cc.o | |
[ 77%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/shared_table.cc.o | |
[ 77%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/table_storage.cc.o | |
[ 78%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_debug.cc.o | |
[ 78%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/json_map_decl_visitor.cc.o | |
[ 78%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bpf_module_rw_engine.cc.o | |
[ 78%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_syms.cc.o | |
[ 79%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bpffs_table.cc.o | |
[ 80%] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_elf.c.o | |
[ 80%] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_perf_map.c.o | |
[ 80%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/json_map_decl_visitor.cc.o | |
[ 80%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bpffs_table.cc.o | |
[ 80%] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_proc.c.o | |
[ 81%] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_zip.c.o | |
[ 81%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/common.cc.o | |
[ 82%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/common.cc.o | |
[ 82%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/usdt/usdt.cc.o | |
[ 82%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/usdt/usdt_args.cc.o | |
[ 83%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bcc_syms.cc.o | |
[ 83%] Building C object src/cc/CMakeFiles/bcc-static.dir/bcc_elf.c.o | |
[ 83%] Building C object src/cc/CMakeFiles/bcc-static.dir/bcc_perf_map.c.o | |
[ 84%] Building C object src/cc/CMakeFiles/bcc-static.dir/bcc_proc.c.o | |
[ 84%] Building C object src/cc/CMakeFiles/bcc-static.dir/bcc_zip.c.o | |
/home/chantra/devel/iovisor-bcc/src/cc/bcc_debug.cc: In member function ‘void ebpf::SourceDebugger::dump()’: | |
/home/chantra/devel/iovisor-bcc/src/cc/bcc_debug.cc:189:66: error: no matching function for call to ‘llvm::DWARFContext::getLineTableForUnit(llvm::DWARFCompileUnit*&)’ | |
189 | const DWARFLineTable *LineTable = DwarfCtx->getLineTableForUnit(CU); | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ | |
In file included from /home/chantra/devel/iovisor-bcc/src/cc/bcc_debug.cc:25: | |
/usr/lib/llvm-15/include/llvm/DebugInfo/DWARF/DWARFContext.h:328:36: note: candidate: ‘const llvm::DWARFDebugLine::LineTable* llvm::DWARFContext::getLineTableForUnit(llvm::DWARFUnit*)’ | |
328 | const DWARFDebugLine::LineTable *getLineTableForUnit(DWARFUnit *U); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/usr/lib/llvm-15/include/llvm/DebugInfo/DWARF/DWARFContext.h:328:67: note: no known conversion for argument 1 from ‘llvm::DWARFCompileUnit*’ to ‘llvm::DWARFUnit*’ | |
328 | const DWARFDebugLine::LineTable *getLineTableForUnit(DWARFUnit *U); | |
| ~~~~~~~~~~~^ | |
/usr/lib/llvm-15/include/llvm/DebugInfo/DWARF/DWARFContext.h:333:3: note: candidate: ‘llvm::Expected<const llvm::DWARFDebugLine::LineTable*> llvm::DWARFContext::getLineTableForUnit(llvm::DWARFUnit*, llvm::function_ref<void(llvm::Error)>)’ | |
333 | getLineTableForUnit(DWARFUnit *U, | |
| ^~~~~~~~~~~~~~~~~~~ | |
/usr/lib/llvm-15/include/llvm/DebugInfo/DWARF/DWARFContext.h:333:3: note: candidate expects 2 arguments, 1 provided | |
/home/chantra/devel/iovisor-bcc/src/cc/bcc_debug.cc: In lambda function: | |
/home/chantra/devel/iovisor-bcc/src/cc/bcc_debug.cc:240:15: error: invalid use of incomplete type ‘class llvm::DWARFCompileUnit’ | |
240 | CU->getCompilationDir(), | |
| ^~ | |
/usr/lib/llvm-15/include/llvm/DebugInfo/DWARF/DWARFContext.h:33:7: note: forward declaration of ‘class llvm::DWARFCompileUnit’ | |
33 | class DWARFCompileUnit; | |
| ^~~~~~~~~~~~~~~~ | |
/home/chantra/devel/iovisor-bcc/src/cc/bcc_debug.cc: In member function ‘void ebpf::SourceDebugger::dump()’: | |
/home/chantra/devel/iovisor-bcc/src/cc/bcc_debug.cc:189:66: error: no matching function for call to ‘llvm::DWARFContext::getLineTableForUnit(llvm::DWARFCompileUnit*&)’ | |
189 | const DWARFLineTable *LineTable = DwarfCtx->getLineTableForUnit(CU); | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ | |
In file included from /home/chantra/devel/iovisor-bcc/src/cc/bcc_debug.cc:25: | |
/usr/lib/llvm-15/include/llvm/DebugInfo/DWARF/DWARFContext.h:328:36: note: candidate: ‘const llvm::DWARFDebugLine::LineTable* llvm::DWARFContext::getLineTableForUnit(llvm::DWARFUnit*)’ | |
328 | const DWARFDebugLine::LineTable *getLineTableForUnit(DWARFUnit *U); | |
| ^~~~~~~~~~~~~~~~~~~ | |
/usr/lib/llvm-15/include/llvm/DebugInfo/DWARF/DWARFContext.h:328:67: note: no known conversion for argument 1 from ‘llvm::DWARFCompileUnit*’ to ‘llvm::DWARFUnit*’ | |
328 | const DWARFDebugLine::LineTable *getLineTableForUnit(DWARFUnit *U); | |
| ~~~~~~~~~~~^ | |
/usr/lib/llvm-15/include/llvm/DebugInfo/DWARF/DWARFContext.h:333:3: note: candidate: ‘llvm::Expected<const llvm::DWARFDebugLine::LineTable*> llvm::DWARFContext::getLineTableForUnit(llvm::DWARFUnit*, llvm::function_ref<void(llvm::Error)>)’ | |
333 | getLineTableForUnit(DWARFUnit *U, | |
| ^~~~~~~~~~~~~~~~~~~ | |
/usr/lib/llvm-15/include/llvm/DebugInfo/DWARF/DWARFContext.h:333:3: note: candidate expects 2 arguments, 1 provided | |
/home/chantra/devel/iovisor-bcc/src/cc/bcc_debug.cc: In lambda function: | |
/home/chantra/devel/iovisor-bcc/src/cc/bcc_debug.cc:240:15: error: invalid use of incomplete type ‘class llvm::DWARFCompileUnit’ | |
240 | CU->getCompilationDir(), | |
| ^~ | |
/usr/lib/llvm-15/include/llvm/DebugInfo/DWARF/DWARFContext.h:33:7: note: forward declaration of ‘class llvm::DWARFCompileUnit’ | |
33 | class DWARFCompileUnit; | |
| ^~~~~~~~~~~~~~~~ | |
In file included from /usr/lib/llvm-15/include/llvm/Support/CBindingWrapping.h:17, | |
from /usr/lib/llvm-15/include/llvm/Object/Binary.h:19, | |
from /usr/lib/llvm-15/include/llvm/Object/ObjectFile.h:23, | |
from /usr/lib/llvm-15/include/llvm/DebugInfo/DIContext.h:18, | |
from /usr/lib/llvm-15/include/llvm/DebugInfo/DWARF/DWARFContext.h:15: | |
/usr/lib/llvm-15/include/llvm/Support/Casting.h: In instantiation of ‘static bool llvm::isa_impl<To, From, Enabler>::doit(const From&) [with To = llvm::DWARFCompileUnit; From = llvm::DWARFUnit; Enabler = void]’: | |
/usr/lib/llvm-15/include/llvm/Support/Casting.h:110:36: required from ‘static bool llvm::isa_impl_cl<To, const From*>::doit(const From*) [with To = llvm::DWARFCompileUnit; From = llvm::DWARFUnit]’ | |
/usr/lib/llvm-15/include/llvm/Support/Casting.h:137:41: required from ‘static bool llvm::isa_impl_wrap<To, FromTy, FromTy>::doit(const FromTy&) [with To = llvm::DWARFCompileUnit; FromTy = const llvm::DWARFUnit*]’ | |
/usr/lib/llvm-15/include/llvm/Support/Casting.h:129:13: required from ‘static bool llvm::isa_impl_wrap<To, From, SimpleFrom>::doit(const From&) [with To = llvm::DWARFCompileUnit; From = const llvm::DWARFUnit* const; SimpleFrom = const llvm::DWARFUnit*]’ | |
/usr/lib/llvm-15/include/llvm/Support/Casting.h:257:62: required from ‘static bool llvm::CastIsPossible<To, From, Enable>::isPossible(const From&) [with To = llvm::DWARFCompileUnit; From = const llvm::DWARFUnit*; Enable = void]’ | |
/usr/lib/llvm-15/include/llvm/Support/Casting.h:510:38: required from ‘static bool llvm::CastInfo<To, From, typename std::enable_if<(! llvm::is_simple_type<From>::value), void>::type>::isPossible(From&) [with To = llvm::DWARFCompileUnit; From = llvm::DWARFUnit* const]’ | |
/usr/lib/llvm-15/include/llvm/Support/Casting.h:549:46: required from ‘bool llvm::isa(const From&) [with To = DWARFCompileUnit; From = DWARFUnit*]’ | |
/usr/lib/llvm-15/include/llvm/Support/Casting.h:578:3: required from ‘decltype(auto) llvm::cast(From*) [with To = DWARFCompileUnit; From = DWARFUnit]’ | |
/home/chantra/devel/iovisor-bcc/src/cc/bcc_debug.cc:180:48: required from here | |
/usr/lib/llvm-15/include/llvm/Support/Casting.h:64:64: error: incomplete type ‘llvm::DWARFCompileUnit’ used in nested name specifier | |
64 | static inline bool doit(const From &Val) { return To::classof(&Val); } | |
| ~~~~~~~~~~~^~~~~~ | |
make[2]: *** [src/cc/CMakeFiles/bcc-static.dir/build.make:132: src/cc/CMakeFiles/bcc-static.dir/bcc_debug.cc.o] Error 1 | |
make[2]: *** Waiting for unfinished jobs.... | |
In file included from /usr/lib/llvm-15/include/llvm/Support/CBindingWrapping.h:17, | |
from /usr/lib/llvm-15/include/llvm/Object/Binary.h:19, | |
from /usr/lib/llvm-15/include/llvm/Object/ObjectFile.h:23, | |
from /usr/lib/llvm-15/include/llvm/DebugInfo/DIContext.h:18, | |
from /usr/lib/llvm-15/include/llvm/DebugInfo/DWARF/DWARFContext.h:15: | |
/usr/lib/llvm-15/include/llvm/Support/Casting.h: In instantiation of ‘static bool llvm::isa_impl<To, From, Enabler>::doit(const From&) [with To = llvm::DWARFCompileUnit; From = llvm::DWARFUnit; Enabler = void]’: | |
/usr/lib/llvm-15/include/llvm/Support/Casting.h:110:36: required from ‘static bool llvm::isa_impl_cl<To, const From*>::doit(const From*) [with To = llvm::DWARFCompileUnit; From = llvm::DWARFUnit]’ | |
/usr/lib/llvm-15/include/llvm/Support/Casting.h:137:41: required from ‘static bool llvm::isa_impl_wrap<To, FromTy, FromTy>::doit(const FromTy&) [with To = llvm::DWARFCompileUnit; FromTy = const llvm::DWARFUnit*]’ | |
/usr/lib/llvm-15/include/llvm/Support/Casting.h:129:13: required from ‘static bool llvm::isa_impl_wrap<To, From, SimpleFrom>::doit(const From&) [with To = llvm::DWARFCompileUnit; From = const llvm::DWARFUnit* const; SimpleFrom = const llvm::DWARFUnit*]’ | |
/usr/lib/llvm-15/include/llvm/Support/Casting.h:257:62: required from ‘static bool llvm::CastIsPossible<To, From, Enable>::isPossible(const From&) [with To = llvm::DWARFCompileUnit; From = const llvm::DWARFUnit*; Enable = void]’ | |
/usr/lib/llvm-15/include/llvm/Support/Casting.h:510:38: required from ‘static bool llvm::CastInfo<To, From, typename std::enable_if<(! llvm::is_simple_type<From>::value), void>::type>::isPossible(From&) [with To = llvm::DWARFCompileUnit; From = llvm::DWARFUnit* const]’ | |
/usr/lib/llvm-15/include/llvm/Support/Casting.h:549:46: required from ‘bool llvm::isa(const From&) [with To = DWARFCompileUnit; From = DWARFUnit*]’ | |
/usr/lib/llvm-15/include/llvm/Support/Casting.h:578:3: required from ‘decltype(auto) llvm::cast(From*) [with To = DWARFCompileUnit; From = DWARFUnit]’ | |
/home/chantra/devel/iovisor-bcc/src/cc/bcc_debug.cc:180:48: required from here | |
/usr/lib/llvm-15/include/llvm/Support/Casting.h:64:64: error: incomplete type ‘llvm::DWARFCompileUnit’ used in nested name specifier | |
64 | static inline bool doit(const From &Val) { return To::classof(&Val); } | |
| ~~~~~~~~~~~^~~~~~ | |
make[2]: *** [src/cc/CMakeFiles/bcc-shared.dir/build.make:146: src/cc/CMakeFiles/bcc-shared.dir/bcc_debug.cc.o] Error 1 | |
make[2]: *** Waiting for unfinished jobs.... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment