We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've built a latest version of llvm. Now I'm getting the fololowing: /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: CMakeFiles/bpftrace.dir/main.cpp.o: in function llvm::orc::LegacyRTDyldObjectLinkingLayer::ConcreteLinkedObject<std::shared_ptr<llvm::RuntimeDyld::MemoryManager> >::finalize()': main.cpp:(.text._ZN4llvm3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS_11RuntimeDyld13MemoryManagerEEE8finalizeEv[_ZN4llvm3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS_11RuntimeDyld13MemoryManagerEEE8finalizeEv]+0x30): undefined reference to llvm::orc::JITSymbolResolverAdapter::JITSymbolResolverAdapter(llvm::orc::ExecutionSession&, llvm::orc::SymbolResolver&, llvm::orc::MaterializationResponsibility*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: main.cpp:(.text._ZN4llvm3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS_11RuntimeDyld13MemoryManagerEEE8finalizeEv[_ZN4llvm3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS_11RuntimeDyld13MemoryManagerEEE8finalizeEv]+0xac): undefined reference to llvm::RuntimeDyld::getSymbolTable() const' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: main.cpp:(.text._ZN4llvm3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS_11RuntimeDyld13MemoryManagerEEE8finalizeEv[_ZN4llvm3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS_11RuntimeDyld13MemoryManagerEEE8finalizeEv]+0x358): undefined reference to vtable for llvm::orc::JITSymbolResolverAdapter' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: main.cpp:(.text._ZN4llvm3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS_11RuntimeDyld13MemoryManagerEEE8finalizeEv[_ZN4llvm3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS_11RuntimeDyld13MemoryManagerEEE8finalizeEv]+0x46b): undefined reference to vtable for llvm::orc::JITSymbolResolverAdapter' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: CMakeFiles/bpftrace.dir/main.cpp.o: in function std::_Function_handler<llvm::Expected (), llvm::orc::LegacyRTDyldObjectLinkingLayer::ConcreteLinkedObject<std::shared_ptrllvm::RuntimeDyld::MemoryManager >::getSymbolMaterializer(std::__cxx11::basic_string<char, std::char_traits, std::allocator >)::{lambda()#1}>::_M_invoke(std::_Any_data const&)': main.cpp:(.text._ZNSt17_Function_handlerIFN4llvm8ExpectedImEEvEZNS0_3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS0_11RuntimeDyld13MemoryManagerEEE21getSymbolMaterializerENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEUlvE_E9_M_invokeERKSt9_Any_data[_ZNSt17_Function_handlerIFN4llvm8ExpectedImEEvEZNS0_3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS0_11RuntimeDyld13MemoryManagerEEE21getSymbolMaterializerENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEUlvE_E9_M_invokeERKSt9_Any_data]+0x5b): undefined reference to llvm::orc::JITSymbolResolverAdapter::JITSymbolResolverAdapter(llvm::orc::ExecutionSession&, llvm::orc::SymbolResolver&, llvm::orc::MaterializationResponsibility*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: main.cpp:(.text._ZNSt17_Function_handlerIFN4llvm8ExpectedImEEvEZNS0_3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS0_11RuntimeDyld13MemoryManagerEEE21getSymbolMaterializerENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEUlvE_E9_M_invokeERKSt9_Any_data[_ZNSt17_Function_handlerIFN4llvm8ExpectedImEEvEZNS0_3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS0_11RuntimeDyld13MemoryManagerEEE21getSymbolMaterializerENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEUlvE_E9_M_invokeERKSt9_Any_data]+0xdf): undefined reference to llvm::RuntimeDyld::getSymbolTable() const' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: main.cpp:(.text._ZNSt17_Function_handlerIFN4llvm8ExpectedImEEvEZNS0_3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS0_11RuntimeDyld13MemoryManagerEEE21getSymbolMaterializerENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEUlvE_E9_M_invokeERKSt9_Any_data[_ZNSt17_Function_handlerIFN4llvm8ExpectedImEEvEZNS0_3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS0_11RuntimeDyld13MemoryManagerEEE21getSymbolMaterializerENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEUlvE_E9_M_invokeERKSt9_Any_data]+0x6ba): undefined reference to vtable for llvm::orc::JITSymbolResolverAdapter' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: main.cpp:(.text._ZNSt17_Function_handlerIFN4llvm8ExpectedImEEvEZNS0_3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS0_11RuntimeDyld13MemoryManagerEEE21getSymbolMaterializerENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEUlvE_E9_M_invokeERKSt9_Any_data[_ZNSt17_Function_handlerIFN4llvm8ExpectedImEEvEZNS0_3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS0_11RuntimeDyld13MemoryManagerEEE21getSymbolMaterializerENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEUlvE_E9_M_invokeERKSt9_Any_data]+0x96f): undefined reference to vtable for llvm::orc::JITSymbolResolverAdapter' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function bpftrace::ast::CodegenLLVM::getHistMapKey(bpftrace::ast::Map&, llvm::Value*)': codegen_llvm.cpp:(.text+0x93b): undefined reference to llvm::IRBuilderBase::CreateMemCpy(llvm::Value*, unsigned int, llvm::Value*, unsigned int, llvm::Value*, bool, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function bpftrace::ast::CodegenLLVM::getMapKey(bpftrace::ast::Map&)': codegen_llvm.cpp:(.text+0xd4e): undefined reference to llvm::IRBuilderBase::CreateMemCpy(llvm::Value*, unsigned int, llvm::Value*, unsigned int, llvm::Value*, bool, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function bpftrace::ast::CodegenLLVM::visit(bpftrace::ast::Ternary&)': codegen_llvm.cpp:(.text+0x1ac1): undefined reference to llvm::IRBuilderBase::CreateMemCpy(llvm::Value*, unsigned int, llvm::Value*, unsigned int, llvm::Value*, bool, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: codegen_llvm.cpp:(.text+0x1b2c): undefined reference to llvm::IRBuilderBase::CreateMemCpy(llvm::Value*, unsigned int, llvm::Value*, unsigned int, llvm::Value*, bool, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function bpftrace::ast::CodegenLLVM::createLog2Function()': codegen_llvm.cpp:(.text+0x2ff1): undefined reference to llvm::Function::Function(llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, unsigned int, llvm::Twine const&, llvm::Module*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function bpftrace::ast::CodegenLLVM::createLinearFunction()': codegen_llvm.cpp:(.text+0x39c4): undefined reference to llvm::Function::Function(llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, unsigned int, llvm::Twine const&, llvm::Module*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function bpftrace::ast::CodegenLLVM::visit(bpftrace::ast::AssignVarStatement&)': codegen_llvm.cpp:(.text+0x903f): undefined reference to llvm::IRBuilderBase::CreateMemCpy(llvm::Value*, unsigned int, llvm::Value*, unsigned int, llvm::Value*, bool, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function bpftrace::ast::CodegenLLVM::visit(bpftrace::ast::Probe&)': codegen_llvm.cpp:(.text+0x985e): undefined reference to llvm::Function::Function(llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, unsigned int, llvm::Twine const&, llvm::Module*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: codegen_llvm.cpp:(.text+0x9e60): undefined reference to llvm::Function::Function(llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, unsigned int, llvm::Twine const&, llvm::Module*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function bpftrace::ast::CodegenLLVM::compile(bpftrace::DebugLevel, std::ostream&)': codegen_llvm.cpp:(.text+0xb3ba): undefined reference to llvm::orc::SimpleCompiler::operator()(llvm::Module&)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function std::_Function_handler<llvm::orc::LegacyRTDyldObjectLinkingLayer::Resources (unsigned long), bpftrace::BpfOrc::BpfOrc(llvm::TargetMachine*)::{lambda(unsigned long)#3}>::_M_invoke(std::_Any_data const&, unsigned long&&)': codegen_llvm.cpp:(.text._ZNSt17_Function_handlerIFN4llvm3orc30LegacyRTDyldObjectLinkingLayer9ResourcesEmEZN8bpftrace6BpfOrcC4EPNS0_13TargetMachineEEUlmE1_E9_M_invokeERKSt9_Any_dataOm[_ZNSt17_Function_handlerIFN4llvm3orc30LegacyRTDyldObjectLinkingLayer9ResourcesEmEZN8bpftrace6BpfOrcC4EPNS0_13TargetMachineEEUlmE1_E9_M_invokeERKSt9_Any_dataOm]+0x43): undefined reference to llvm::SectionMemoryManager::SectionMemoryManager(llvm::SectionMemoryManager::MemoryMapper*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function llvm::IRBuilderBase::SetInstDebugLocation(llvm::Instruction*) const': codegen_llvm.cpp:(.text._ZNK4llvm13IRBuilderBase20SetInstDebugLocationEPNS_11InstructionE[_ZNK4llvm13IRBuilderBase20SetInstDebugLocationEPNS_11InstructionE]+0x25): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function llvm::IRBuilderBase::CreateMemCpy(llvm::Value*, unsigned int, llvm::Value*, unsigned int, unsigned long, bool, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*)': codegen_llvm.cpp:(.text._ZN4llvm13IRBuilderBase12CreateMemCpyEPNS_5ValueEjS2_jmbPNS_6MDNodeES4_S4_S4_[_ZN4llvm13IRBuilderBase12CreateMemCpyEPNS_5ValueEjS2_jmbPNS_6MDNodeES4_S4_S4_]+0xa3): undefined reference to llvm::IRBuilderBase::CreateMemCpy(llvm::Value*, unsigned int, llvm::Value*, unsigned int, llvm::Value*, bool, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>::CreateICmp(llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*, llvm::Twine const&)': codegen_llvm.cpp:(.text._ZN4llvm9IRBuilderINS_14ConstantFolderENS_24IRBuilderDefaultInserterEE10CreateICmpENS_7CmpInst9PredicateEPNS_5ValueES7_RKNS_5TwineE[_ZN4llvm9IRBuilderINS_14ConstantFolderENS_24IRBuilderDefaultInserterEE10CreateICmpENS_7CmpInst9PredicateEPNS_5ValueES7_RKNS_5TwineE]+0x87): undefined reference to llvm::CmpInst::CmpInst(llvm::Type*, llvm::Instruction::OtherOps, llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*, llvm::Instruction*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>::CreateLoad(llvm::Type*, llvm::Value*, llvm::Twine const&)': codegen_llvm.cpp:(.text._ZN4llvm9IRBuilderINS_14ConstantFolderENS_24IRBuilderDefaultInserterEE10CreateLoadEPNS_4TypeEPNS_5ValueERKNS_5TwineE[_ZN4llvm9IRBuilderINS_14ConstantFolderENS_24IRBuilderDefaultInserterEE10CreateLoadEPNS_4TypeEPNS_5ValueERKNS_5TwineE]+0x44): undefined reference to llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function bpftrace::BpfOrc::BpfOrc(llvm::TargetMachine*)': codegen_llvm.cpp:(.text._ZN8bpftrace6BpfOrcC2EPN4llvm13TargetMachineE[_ZN8bpftrace6BpfOrcC5EPN4llvm13TargetMachineE]+0x27): undefined reference to llvm::orc::ExecutionSession::ExecutionSession(std::shared_ptrllvm::orc::SymbolStringPool)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function llvm::orc::LegacyRTDyldObjectLinkingLayer::ConcreteLinkedObject<std::shared_ptr<llvm::RuntimeDyld::MemoryManager> >::buildInitialSymbolTable(llvm::object::OwningBinary<llvm::object::ObjectFile> const&)': codegen_llvm.cpp:(.text._ZN4llvm3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS_11RuntimeDyld13MemoryManagerEEE23buildInitialSymbolTableERKNS_6object12OwningBinaryINS8_10ObjectFileEEE[_ZN4llvm3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS_11RuntimeDyld13MemoryManagerEEE23buildInitialSymbolTableERKNS_6object12OwningBinaryINS8_10ObjectFileEEE]+0xbb): undefined reference to llvm::JITSymbolFlags::fromObjectSymbol(llvm::object::SymbolRef const&)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function llvm::DenseSet<llvm::orc::SymbolStringPtr, llvm::DenseMapInfo<llvm::DenseSet> > llvm::orc::lookupWithLegacyFn<bpftrace::BpfOrc::BpfOrc(llvm::TargetMachine*)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#1}>(llvm::orc::ExecutionSession&, llvm::orc::AsynchronousSymbolQuery&, llvm::DenseMapInfo<llvm::DenseSet> const&, bpftrace::BpfOrc::BpfOrc(llvm::TargetMachine*)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#1})': codegen_llvm.cpp:(.text._ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJ_T_[_ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJ_T_]+0x157): undefined reference to llvm::orc::ExecutionSession::legacyFailQuery(llvm::orc::AsynchronousSymbolQuery&, llvm::Error)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: codegen_llvm.cpp:(.text.ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJ_T[ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJ_T]+0x40d): undefined reference to llvm::orc::AsynchronousSymbolQuery::resolve(llvm::orc::SymbolStringPtr const&, llvm::JITEvaluatedSymbol)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: codegen_llvm.cpp:(.text._ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJ_T_[_ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJ_T_]+0x416): undefined reference to llvm::orc::AsynchronousSymbolQuery::notifySymbolReady()' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: codegen_llvm.cpp:(.text.ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJ_T[ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJ_T]+0x445): undefined reference to llvm::orc::ExecutionSession::legacyFailQuery(llvm::orc::AsynchronousSymbolQuery&, llvm::Error)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: codegen_llvm.cpp:(.text._ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJ_T_[_ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJ_T_]+0x542): undefined reference to llvm::orc::AsynchronousSymbolQuery::handleFullyReady()' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: codegen_llvm.cpp:(.text.ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJ_T[ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJ_T]+0x54f): undefined reference to llvm::orc::AsynchronousSymbolQuery::handleFullyResolved()' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o):(.rodata._ZTIN4llvm3orc22LegacyLookupFnResolverIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EE[_ZTIN4llvm3orc22LegacyLookupFnResolverIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EE]+0x10): undefined reference to typeinfo for llvm::orc::SymbolResolver' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o):(.rodata._ZTVN8bpftrace13MemoryManagerE[_ZTVN8bpftrace13MemoryManagerE]+0x60): undefined reference to llvm::SectionMemoryManager::anchor()' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o):(.rodata._ZTVN8bpftrace13MemoryManagerE[_ZTVN8bpftrace13MemoryManagerE]+0xc0): undefined reference to llvm::LegacyJITSymbolResolver::lookup(std::set<llvm::StringRef, std::lessllvm::StringRef, std::allocatorllvm::StringRef > const&, std::function<void (llvm::Expected<std::map<llvm::StringRef, llvm::JITEvaluatedSymbol, std::lessllvm::StringRef, std::allocator<std::pair<llvm::StringRef const, llvm::JITEvaluatedSymbol> > > >)>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o):(.rodata._ZTVN8bpftrace13MemoryManagerE[_ZTVN8bpftrace13MemoryManagerE]+0xc8): undefined reference to llvm::LegacyJITSymbolResolver::getResponsibilitySet(std::set<llvm::StringRef, std::less<llvm::StringRef>, std::allocator<llvm::StringRef> > const&)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o):(.rodata._ZTVN8bpftrace13MemoryManagerE[_ZTVN8bpftrace13MemoryManagerE]+0xd0): undefined reference to non-virtual thunk to llvm::SectionMemoryManager::anchor()' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o):(.rodata._ZTVN4llvm3orc22LegacyLookupFnResolverIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EE[_ZTVN4llvm3orc22LegacyLookupFnResolverIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EE]+0x30): undefined reference to llvm::orc::SymbolResolver::anchor()' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function bpftrace::ast::IRBuilderBPF::CreateAllocaBPF(llvm::Type*, llvm::Value*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) [clone .constprop.218]': irbuilderbpf.cpp:(.text+0x78): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x15a): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x1d1): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function bpftrace::ast::IRBuilderBPF::IRBuilderBPF(llvm::LLVMContext&, llvm::Module&, bpftrace::BPFtrace&)': irbuilderbpf.cpp:(.text+0x3ce): undefined reference to llvm::Function::Function(llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, unsigned int, llvm::Twine const&, llvm::Module*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function bpftrace::ast::IRBuilderBPF::CreateAllocaBPF(llvm::Type*, llvm::Value*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)': irbuilderbpf.cpp:(.text+0x48f): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x573): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5e8): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function bpftrace::ast::IRBuilderBPF::CreateAllocaBPF(llvm::Type*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)': irbuilderbpf.cpp:(.text+0x798): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x87a): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o):irbuilderbpf.cpp:(.text+0x8f1): more undefined references to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' follow /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function bpftrace::ast::IRBuilderBPF::CreateUSDTReadArgument(llvm::Value*, bcc_usdt_argument*, bpftrace::ast::Builtin&)': irbuilderbpf.cpp:(.text+0x35e3): undefined reference to llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x363e): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x39c7): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x3a55): undefined reference to llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x3aba): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function bpftrace::ast::IRBuilderBPF::CreateStrcmp(llvm::Value*, std::__cxx11::basic_string<char, std::char_traits, std::allocator >, bool)': irbuilderbpf.cpp:(.text+0x428c): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x4325): undefined reference to llvm::CmpInst::CmpInst(llvm::Type*, llvm::Instruction::OtherOps, llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*, llvm::Instruction*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x437e): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x444c): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x4617): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x46bc): undefined reference to llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x471e): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x4906): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x49c0): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x4a4c): undefined reference to llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x4aaa): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function bpftrace::ast::IRBuilderBPF::CreateStrcmp(llvm::Value*, llvm::Value*, bool)': irbuilderbpf.cpp:(.text+0x4f86): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5034): undefined reference to llvm::CmpInst::CmpInst(llvm::Type*, llvm::Instruction::OtherOps, llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*, llvm::Instruction*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5093): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x515b): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x522a): undefined reference to llvm::CmpInst::CmpInst(llvm::Type*, llvm::Instruction::OtherOps, llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*, llvm::Instruction*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5289): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5359): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5555): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x55ea): undefined reference to llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5649): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5797): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5842): undefined reference to llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x589b): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5a75): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5b6d): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5c28): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5cb5): undefined reference to llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5d12): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function bpftrace::ast::IRBuilderBPF::CreateGetNs()': irbuilderbpf.cpp:(.text+0x64cc): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function bpftrace::ast::IRBuilderBPF::CreateGetPidTgid()': irbuilderbpf.cpp:(.text+0x68ac): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function bpftrace::ast::IRBuilderBPF::CreateGetUidGid()': irbuilderbpf.cpp:(.text+0x6cbc): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function bpftrace::ast::IRBuilderBPF::CreateGetCpuId()': irbuilderbpf.cpp:(.text+0x709c): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o):irbuilderbpf.cpp:(.text+0x747c): more undefined references to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' follow /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function bpftrace::ast::IRBuilderBPF::CreateMapLookupElem(bpftrace::ast::Map&, llvm::AllocaInst*)': irbuilderbpf.cpp:(.text+0x99fa): undefined reference to llvm::CmpInst::CmpInst(llvm::Type*, llvm::Instruction::OtherOps, llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*, llvm::Instruction*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x9a66): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x9b3c): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x9be0): undefined reference to llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x9c40): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x9d16): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x9de5): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/[ 97%] Building CXX object tests/CMakeFiles/bpftrace_test.dir/__/src/types.cpp.o bin/ld: irbuilderbpf.cpp:(.text+0x9eef): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x9fb5): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0xa060): undefined reference to llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0xa0c2): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0xa207): undefined reference to llvm::IRBuilderBase::CreateMemCpy(llvm::Value*, unsigned int, llvm::Value*, unsigned int, llvm::Value*, bool, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function bpftrace::ast::IRBuilderBPF::CreateMapUpdateElem(bpftrace::ast::Map&, llvm::AllocaInst*, llvm::Value*)': irbuilderbpf.cpp:(.text+0xaa1b): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function bpftrace::ast::IRBuilderBPF::CreateMapDeleteElem(bpftrace::ast::Map&, llvm::AllocaInst*)': irbuilderbpf.cpp:(.text+0xae9f): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function bpftrace::ast::IRBuilderBPF::CreateGetStackId(llvm::Value*, bool, bpftrace::StackType)': irbuilderbpf.cpp:(.text+0xb2fa): undefined reference to llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0xb69f): undefined reference to `llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'
llvm::orc::LegacyRTDyldObjectLinkingLayer::ConcreteLinkedObject<std::shared_ptr<llvm::RuntimeDyld::MemoryManager> >::finalize()': main.cpp:(.text._ZN4llvm3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS_11RuntimeDyld13MemoryManagerEEE8finalizeEv[_ZN4llvm3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS_11RuntimeDyld13MemoryManagerEEE8finalizeEv]+0x30): undefined reference to
llvm::RuntimeDyld::getSymbolTable() const' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: main.cpp:(.text._ZN4llvm3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS_11RuntimeDyld13MemoryManagerEEE8finalizeEv[_ZN4llvm3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS_11RuntimeDyld13MemoryManagerEEE8finalizeEv]+0x358): undefined reference to
vtable for llvm::orc::JITSymbolResolverAdapter' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: CMakeFiles/bpftrace.dir/main.cpp.o: in function
llvm::orc::JITSymbolResolverAdapter::JITSymbolResolverAdapter(llvm::orc::ExecutionSession&, llvm::orc::SymbolResolver&, llvm::orc::MaterializationResponsibility*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: main.cpp:(.text._ZNSt17_Function_handlerIFN4llvm8ExpectedImEEvEZNS0_3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS0_11RuntimeDyld13MemoryManagerEEE21getSymbolMaterializerENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEUlvE_E9_M_invokeERKSt9_Any_data[_ZNSt17_Function_handlerIFN4llvm8ExpectedImEEvEZNS0_3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS0_11RuntimeDyld13MemoryManagerEEE21getSymbolMaterializerENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEUlvE_E9_M_invokeERKSt9_Any_data]+0xdf): undefined reference to
vtable for llvm::orc::JITSymbolResolverAdapter' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: main.cpp:(.text._ZNSt17_Function_handlerIFN4llvm8ExpectedImEEvEZNS0_3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS0_11RuntimeDyld13MemoryManagerEEE21getSymbolMaterializerENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEUlvE_E9_M_invokeERKSt9_Any_data[_ZNSt17_Function_handlerIFN4llvm8ExpectedImEEvEZNS0_3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS0_11RuntimeDyld13MemoryManagerEEE21getSymbolMaterializerENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEUlvE_E9_M_invokeERKSt9_Any_data]+0x96f): undefined reference to
bpftrace::ast::CodegenLLVM::getHistMapKey(bpftrace::ast::Map&, llvm::Value*)': codegen_llvm.cpp:(.text+0x93b): undefined reference to
bpftrace::ast::CodegenLLVM::getMapKey(bpftrace::ast::Map&)': codegen_llvm.cpp:(.text+0xd4e): undefined reference to
bpftrace::ast::CodegenLLVM::visit(bpftrace::ast::Ternary&)': codegen_llvm.cpp:(.text+0x1ac1): undefined reference to
llvm::IRBuilderBase::CreateMemCpy(llvm::Value*, unsigned int, llvm::Value*, unsigned int, llvm::Value*, bool, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function
llvm::Function::Function(llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, unsigned int, llvm::Twine const&, llvm::Module*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function
llvm::Function::Function(llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, unsigned int, llvm::Twine const&, llvm::Module*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: codegen_llvm.cpp:(.text+0x9e60): undefined reference to
bpftrace::ast::CodegenLLVM::compile(bpftrace::DebugLevel, std::ostream&)': codegen_llvm.cpp:(.text+0xb3ba): undefined reference to
std::_Function_handler<llvm::orc::LegacyRTDyldObjectLinkingLayer::Resources (unsigned long), bpftrace::BpfOrc::BpfOrc(llvm::TargetMachine*)::{lambda(unsigned long)#3}>::_M_invoke(std::_Any_data const&, unsigned long&&)': codegen_llvm.cpp:(.text._ZNSt17_Function_handlerIFN4llvm3orc30LegacyRTDyldObjectLinkingLayer9ResourcesEmEZN8bpftrace6BpfOrcC4EPNS0_13TargetMachineEEUlmE1_E9_M_invokeERKSt9_Any_dataOm[_ZNSt17_Function_handlerIFN4llvm3orc30LegacyRTDyldObjectLinkingLayer9ResourcesEmEZN8bpftrace6BpfOrcC4EPNS0_13TargetMachineEEUlmE1_E9_M_invokeERKSt9_Any_dataOm]+0x43): undefined reference to
llvm::IRBuilderBase::SetInstDebugLocation(llvm::Instruction*) const': codegen_llvm.cpp:(.text._ZNK4llvm13IRBuilderBase20SetInstDebugLocationEPNS_11InstructionE[_ZNK4llvm13IRBuilderBase20SetInstDebugLocationEPNS_11InstructionE]+0x25): undefined reference to
llvm::IRBuilderBase::CreateMemCpy(llvm::Value*, unsigned int, llvm::Value*, unsigned int, unsigned long, bool, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*)': codegen_llvm.cpp:(.text._ZN4llvm13IRBuilderBase12CreateMemCpyEPNS_5ValueEjS2_jmbPNS_6MDNodeES4_S4_S4_[_ZN4llvm13IRBuilderBase12CreateMemCpyEPNS_5ValueEjS2_jmbPNS_6MDNodeES4_S4_S4_]+0xa3): undefined reference to
llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>::CreateICmp(llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*, llvm::Twine const&)': codegen_llvm.cpp:(.text._ZN4llvm9IRBuilderINS_14ConstantFolderENS_24IRBuilderDefaultInserterEE10CreateICmpENS_7CmpInst9PredicateEPNS_5ValueES7_RKNS_5TwineE[_ZN4llvm9IRBuilderINS_14ConstantFolderENS_24IRBuilderDefaultInserterEE10CreateICmpENS_7CmpInst9PredicateEPNS_5ValueES7_RKNS_5TwineE]+0x87): undefined reference to
llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>::CreateLoad(llvm::Type*, llvm::Value*, llvm::Twine const&)': codegen_llvm.cpp:(.text._ZN4llvm9IRBuilderINS_14ConstantFolderENS_24IRBuilderDefaultInserterEE10CreateLoadEPNS_4TypeEPNS_5ValueERKNS_5TwineE[_ZN4llvm9IRBuilderINS_14ConstantFolderENS_24IRBuilderDefaultInserterEE10CreateLoadEPNS_4TypeEPNS_5ValueERKNS_5TwineE]+0x44): undefined reference to
bpftrace::BpfOrc::BpfOrc(llvm::TargetMachine*)': codegen_llvm.cpp:(.text._ZN8bpftrace6BpfOrcC2EPN4llvm13TargetMachineE[_ZN8bpftrace6BpfOrcC5EPN4llvm13TargetMachineE]+0x27): undefined reference to
llvm::orc::LegacyRTDyldObjectLinkingLayer::ConcreteLinkedObject<std::shared_ptr<llvm::RuntimeDyld::MemoryManager> >::buildInitialSymbolTable(llvm::object::OwningBinary<llvm::object::ObjectFile> const&)': codegen_llvm.cpp:(.text._ZN4llvm3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS_11RuntimeDyld13MemoryManagerEEE23buildInitialSymbolTableERKNS_6object12OwningBinaryINS8_10ObjectFileEEE[_ZN4llvm3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS_11RuntimeDyld13MemoryManagerEEE23buildInitialSymbolTableERKNS_6object12OwningBinaryINS8_10ObjectFileEEE]+0xbb): undefined reference to
llvm::DenseSet<llvm::orc::SymbolStringPtr, llvm::DenseMapInfo<llvm::DenseSet> > llvm::orc::lookupWithLegacyFn<bpftrace::BpfOrc::BpfOrc(llvm::TargetMachine*)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#1}>(llvm::orc::ExecutionSession&, llvm::orc::AsynchronousSymbolQuery&, llvm::DenseMapInfo<llvm::DenseSet> const&, bpftrace::BpfOrc::BpfOrc(llvm::TargetMachine*)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#1})': codegen_llvm.cpp:(.text._ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJ_T_[_ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJ_T_]+0x157): undefined reference to
llvm::orc::AsynchronousSymbolQuery::resolve(llvm::orc::SymbolStringPtr const&, llvm::JITEvaluatedSymbol)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: codegen_llvm.cpp:(.text._ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJ_T_[_ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJ_T_]+0x416): undefined reference to
llvm::orc::ExecutionSession::legacyFailQuery(llvm::orc::AsynchronousSymbolQuery&, llvm::Error)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: codegen_llvm.cpp:(.text._ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJ_T_[_ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJ_T_]+0x542): undefined reference to
llvm::orc::AsynchronousSymbolQuery::handleFullyResolved()' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o):(.rodata._ZTIN4llvm3orc22LegacyLookupFnResolverIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EE[_ZTIN4llvm3orc22LegacyLookupFnResolverIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EE]+0x10): undefined reference to
llvm::SectionMemoryManager::anchor()' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o):(.rodata._ZTVN8bpftrace13MemoryManagerE[_ZTVN8bpftrace13MemoryManagerE]+0xc0): undefined reference to
llvm::LegacyJITSymbolResolver::getResponsibilitySet(std::set<llvm::StringRef, std::less<llvm::StringRef>, std::allocator<llvm::StringRef> > const&)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o):(.rodata._ZTVN8bpftrace13MemoryManagerE[_ZTVN8bpftrace13MemoryManagerE]+0xd0): undefined reference to
llvm::orc::SymbolResolver::anchor()' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x15a): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function
llvm::Function::Function(llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, unsigned int, llvm::Twine const&, llvm::Module*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x573): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x87a): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' follow /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function
llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x363e): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x3a55): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x4325): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x444c): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x46bc): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x4906): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x4a4c): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5034): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x515b): undefined reference to
llvm::CmpInst::CmpInst(llvm::Type*, llvm::Instruction::OtherOps, llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*, llvm::Instruction*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5289): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5555): undefined reference to
llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5649): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5842): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5a75): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5c28): undefined reference to
llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5d12): undefined reference to
bpftrace::ast::IRBuilderBPF::CreateGetNs()': irbuilderbpf.cpp:(.text+0x64cc): undefined reference to
bpftrace::ast::IRBuilderBPF::CreateGetPidTgid()': irbuilderbpf.cpp:(.text+0x68ac): undefined reference to
bpftrace::ast::IRBuilderBPF::CreateGetUidGid()': irbuilderbpf.cpp:(.text+0x6cbc): undefined reference to
bpftrace::ast::IRBuilderBPF::CreateGetCpuId()': irbuilderbpf.cpp:(.text+0x709c): undefined reference to
llvm::CmpInst::CmpInst(llvm::Type*, llvm::Instruction::OtherOps, llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*, llvm::Instruction*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x9a66): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x9be0): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x9d16): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/[ 97%] Building CXX object tests/CMakeFiles/bpftrace_test.dir/__/src/types.cpp.o bin/ld: irbuilderbpf.cpp:(.text+0x9eef): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0xa060): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0xa207): undefined reference to
bpftrace::ast::IRBuilderBPF::CreateMapUpdateElem(bpftrace::ast::Map&, llvm::AllocaInst*, llvm::Value*)': irbuilderbpf.cpp:(.text+0xaa1b): undefined reference to
bpftrace::ast::IRBuilderBPF::CreateMapDeleteElem(bpftrace::ast::Map&, llvm::AllocaInst*)': irbuilderbpf.cpp:(.text+0xae9f): undefined reference to
bpftrace::ast::IRBuilderBPF::CreateGetStackId(llvm::Value*, bool, bpftrace::StackType)': irbuilderbpf.cpp:(.text+0xb2fa): undefined reference to
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I've built a latest version of llvm. Now I'm getting the fololowing:
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: CMakeFiles/bpftrace.dir/main.cpp.o: in function
llvm::orc::LegacyRTDyldObjectLinkingLayer::ConcreteLinkedObject<std::shared_ptr<llvm::RuntimeDyld::MemoryManager> >::finalize()': main.cpp:(.text._ZN4llvm3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS_11RuntimeDyld13MemoryManagerEEE8finalizeEv[_ZN4llvm3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS_11RuntimeDyld13MemoryManagerEEE8finalizeEv]+0x30): undefined reference to
llvm::orc::JITSymbolResolverAdapter::JITSymbolResolverAdapter(llvm::orc::ExecutionSession&, llvm::orc::SymbolResolver&, llvm::orc::MaterializationResponsibility*)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: main.cpp:(.text._ZN4llvm3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS_11RuntimeDyld13MemoryManagerEEE8finalizeEv[_ZN4llvm3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS_11RuntimeDyld13MemoryManagerEEE8finalizeEv]+0xac): undefined reference to
llvm::RuntimeDyld::getSymbolTable() const' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: main.cpp:(.text._ZN4llvm3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS_11RuntimeDyld13MemoryManagerEEE8finalizeEv[_ZN4llvm3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS_11RuntimeDyld13MemoryManagerEEE8finalizeEv]+0x358): undefined reference to
vtable for llvm::orc::JITSymbolResolverAdapter'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: main.cpp:(.text._ZN4llvm3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS_11RuntimeDyld13MemoryManagerEEE8finalizeEv[_ZN4llvm3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS_11RuntimeDyld13MemoryManagerEEE8finalizeEv]+0x46b): undefined reference to
vtable for llvm::orc::JITSymbolResolverAdapter' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: CMakeFiles/bpftrace.dir/main.cpp.o: in function
std::_Function_handler<llvm::Expected (), llvm::orc::LegacyRTDyldObjectLinkingLayer::ConcreteLinkedObject<std::shared_ptrllvm::RuntimeDyld::MemoryManager >::getSymbolMaterializer(std::__cxx11::basic_string<char, std::char_traits, std::allocator >)::{lambda()#1}>::_M_invoke(std::_Any_data const&)':main.cpp:(.text._ZNSt17_Function_handlerIFN4llvm8ExpectedImEEvEZNS0_3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS0_11RuntimeDyld13MemoryManagerEEE21getSymbolMaterializerENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEUlvE_E9_M_invokeERKSt9_Any_data[_ZNSt17_Function_handlerIFN4llvm8ExpectedImEEvEZNS0_3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS0_11RuntimeDyld13MemoryManagerEEE21getSymbolMaterializerENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEUlvE_E9_M_invokeERKSt9_Any_data]+0x5b): undefined reference to
llvm::orc::JITSymbolResolverAdapter::JITSymbolResolverAdapter(llvm::orc::ExecutionSession&, llvm::orc::SymbolResolver&, llvm::orc::MaterializationResponsibility*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: main.cpp:(.text._ZNSt17_Function_handlerIFN4llvm8ExpectedImEEvEZNS0_3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS0_11RuntimeDyld13MemoryManagerEEE21getSymbolMaterializerENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEUlvE_E9_M_invokeERKSt9_Any_data[_ZNSt17_Function_handlerIFN4llvm8ExpectedImEEvEZNS0_3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS0_11RuntimeDyld13MemoryManagerEEE21getSymbolMaterializerENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEUlvE_E9_M_invokeERKSt9_Any_data]+0xdf): undefined reference to
llvm::RuntimeDyld::getSymbolTable() const'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: main.cpp:(.text._ZNSt17_Function_handlerIFN4llvm8ExpectedImEEvEZNS0_3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS0_11RuntimeDyld13MemoryManagerEEE21getSymbolMaterializerENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEUlvE_E9_M_invokeERKSt9_Any_data[_ZNSt17_Function_handlerIFN4llvm8ExpectedImEEvEZNS0_3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS0_11RuntimeDyld13MemoryManagerEEE21getSymbolMaterializerENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEUlvE_E9_M_invokeERKSt9_Any_data]+0x6ba): undefined reference to
vtable for llvm::orc::JITSymbolResolverAdapter' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: main.cpp:(.text._ZNSt17_Function_handlerIFN4llvm8ExpectedImEEvEZNS0_3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS0_11RuntimeDyld13MemoryManagerEEE21getSymbolMaterializerENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEUlvE_E9_M_invokeERKSt9_Any_data[_ZNSt17_Function_handlerIFN4llvm8ExpectedImEEvEZNS0_3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS0_11RuntimeDyld13MemoryManagerEEE21getSymbolMaterializerENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEUlvE_E9_M_invokeERKSt9_Any_data]+0x96f): undefined reference to
vtable for llvm::orc::JITSymbolResolverAdapter'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function
bpftrace::ast::CodegenLLVM::getHistMapKey(bpftrace::ast::Map&, llvm::Value*)': codegen_llvm.cpp:(.text+0x93b): undefined reference to
llvm::IRBuilderBase::CreateMemCpy(llvm::Value*, unsigned int, llvm::Value*, unsigned int, llvm::Value*, bool, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function
bpftrace::ast::CodegenLLVM::getMapKey(bpftrace::ast::Map&)': codegen_llvm.cpp:(.text+0xd4e): undefined reference to
llvm::IRBuilderBase::CreateMemCpy(llvm::Value*, unsigned int, llvm::Value*, unsigned int, llvm::Value*, bool, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function
bpftrace::ast::CodegenLLVM::visit(bpftrace::ast::Ternary&)': codegen_llvm.cpp:(.text+0x1ac1): undefined reference to
llvm::IRBuilderBase::CreateMemCpy(llvm::Value*, unsigned int, llvm::Value*, unsigned int, llvm::Value*, bool, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: codegen_llvm.cpp:(.text+0x1b2c): undefined reference to
llvm::IRBuilderBase::CreateMemCpy(llvm::Value*, unsigned int, llvm::Value*, unsigned int, llvm::Value*, bool, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function
bpftrace::ast::CodegenLLVM::createLog2Function()':codegen_llvm.cpp:(.text+0x2ff1): undefined reference to
llvm::Function::Function(llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, unsigned int, llvm::Twine const&, llvm::Module*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function
bpftrace::ast::CodegenLLVM::createLinearFunction()':codegen_llvm.cpp:(.text+0x39c4): undefined reference to
llvm::Function::Function(llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, unsigned int, llvm::Twine const&, llvm::Module*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function
bpftrace::ast::CodegenLLVM::visit(bpftrace::ast::AssignVarStatement&)':codegen_llvm.cpp:(.text+0x903f): undefined reference to
llvm::IRBuilderBase::CreateMemCpy(llvm::Value*, unsigned int, llvm::Value*, unsigned int, llvm::Value*, bool, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function
bpftrace::ast::CodegenLLVM::visit(bpftrace::ast::Probe&)':codegen_llvm.cpp:(.text+0x985e): undefined reference to
llvm::Function::Function(llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, unsigned int, llvm::Twine const&, llvm::Module*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: codegen_llvm.cpp:(.text+0x9e60): undefined reference to
llvm::Function::Function(llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, unsigned int, llvm::Twine const&, llvm::Module*)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function
bpftrace::ast::CodegenLLVM::compile(bpftrace::DebugLevel, std::ostream&)': codegen_llvm.cpp:(.text+0xb3ba): undefined reference to
llvm::orc::SimpleCompiler::operator()(llvm::Module&)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function
std::_Function_handler<llvm::orc::LegacyRTDyldObjectLinkingLayer::Resources (unsigned long), bpftrace::BpfOrc::BpfOrc(llvm::TargetMachine*)::{lambda(unsigned long)#3}>::_M_invoke(std::_Any_data const&, unsigned long&&)': codegen_llvm.cpp:(.text._ZNSt17_Function_handlerIFN4llvm3orc30LegacyRTDyldObjectLinkingLayer9ResourcesEmEZN8bpftrace6BpfOrcC4EPNS0_13TargetMachineEEUlmE1_E9_M_invokeERKSt9_Any_dataOm[_ZNSt17_Function_handlerIFN4llvm3orc30LegacyRTDyldObjectLinkingLayer9ResourcesEmEZN8bpftrace6BpfOrcC4EPNS0_13TargetMachineEEUlmE1_E9_M_invokeERKSt9_Any_dataOm]+0x43): undefined reference to
llvm::SectionMemoryManager::SectionMemoryManager(llvm::SectionMemoryManager::MemoryMapper*)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function
llvm::IRBuilderBase::SetInstDebugLocation(llvm::Instruction*) const': codegen_llvm.cpp:(.text._ZNK4llvm13IRBuilderBase20SetInstDebugLocationEPNS_11InstructionE[_ZNK4llvm13IRBuilderBase20SetInstDebugLocationEPNS_11InstructionE]+0x25): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function
llvm::IRBuilderBase::CreateMemCpy(llvm::Value*, unsigned int, llvm::Value*, unsigned int, unsigned long, bool, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*)': codegen_llvm.cpp:(.text._ZN4llvm13IRBuilderBase12CreateMemCpyEPNS_5ValueEjS2_jmbPNS_6MDNodeES4_S4_S4_[_ZN4llvm13IRBuilderBase12CreateMemCpyEPNS_5ValueEjS2_jmbPNS_6MDNodeES4_S4_S4_]+0xa3): undefined reference to
llvm::IRBuilderBase::CreateMemCpy(llvm::Value*, unsigned int, llvm::Value*, unsigned int, llvm::Value*, bool, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function
llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>::CreateICmp(llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*, llvm::Twine const&)': codegen_llvm.cpp:(.text._ZN4llvm9IRBuilderINS_14ConstantFolderENS_24IRBuilderDefaultInserterEE10CreateICmpENS_7CmpInst9PredicateEPNS_5ValueES7_RKNS_5TwineE[_ZN4llvm9IRBuilderINS_14ConstantFolderENS_24IRBuilderDefaultInserterEE10CreateICmpENS_7CmpInst9PredicateEPNS_5ValueES7_RKNS_5TwineE]+0x87): undefined reference to
llvm::CmpInst::CmpInst(llvm::Type*, llvm::Instruction::OtherOps, llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*, llvm::Instruction*)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function
llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>::CreateLoad(llvm::Type*, llvm::Value*, llvm::Twine const&)': codegen_llvm.cpp:(.text._ZN4llvm9IRBuilderINS_14ConstantFolderENS_24IRBuilderDefaultInserterEE10CreateLoadEPNS_4TypeEPNS_5ValueERKNS_5TwineE[_ZN4llvm9IRBuilderINS_14ConstantFolderENS_24IRBuilderDefaultInserterEE10CreateLoadEPNS_4TypeEPNS_5ValueERKNS_5TwineE]+0x44): undefined reference to
llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function
bpftrace::BpfOrc::BpfOrc(llvm::TargetMachine*)': codegen_llvm.cpp:(.text._ZN8bpftrace6BpfOrcC2EPN4llvm13TargetMachineE[_ZN8bpftrace6BpfOrcC5EPN4llvm13TargetMachineE]+0x27): undefined reference to
llvm::orc::ExecutionSession::ExecutionSession(std::shared_ptrllvm::orc::SymbolStringPool)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function
llvm::orc::LegacyRTDyldObjectLinkingLayer::ConcreteLinkedObject<std::shared_ptr<llvm::RuntimeDyld::MemoryManager> >::buildInitialSymbolTable(llvm::object::OwningBinary<llvm::object::ObjectFile> const&)': codegen_llvm.cpp:(.text._ZN4llvm3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS_11RuntimeDyld13MemoryManagerEEE23buildInitialSymbolTableERKNS_6object12OwningBinaryINS8_10ObjectFileEEE[_ZN4llvm3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS_11RuntimeDyld13MemoryManagerEEE23buildInitialSymbolTableERKNS_6object12OwningBinaryINS8_10ObjectFileEEE]+0xbb): undefined reference to
llvm::JITSymbolFlags::fromObjectSymbol(llvm::object::SymbolRef const&)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in function
llvm::DenseSet<llvm::orc::SymbolStringPtr, llvm::DenseMapInfo<llvm::DenseSet> > llvm::orc::lookupWithLegacyFn<bpftrace::BpfOrc::BpfOrc(llvm::TargetMachine*)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#1}>(llvm::orc::ExecutionSession&, llvm::orc::AsynchronousSymbolQuery&, llvm::DenseMapInfo<llvm::DenseSet> const&, bpftrace::BpfOrc::BpfOrc(llvm::TargetMachine*)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#1})': codegen_llvm.cpp:(.text._ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJ_T_[_ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJ_T_]+0x157): undefined reference to
llvm::orc::ExecutionSession::legacyFailQuery(llvm::orc::AsynchronousSymbolQuery&, llvm::Error)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: codegen_llvm.cpp:(.text.ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJ_T[ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJ_T]+0x40d): undefined reference to
llvm::orc::AsynchronousSymbolQuery::resolve(llvm::orc::SymbolStringPtr const&, llvm::JITEvaluatedSymbol)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: codegen_llvm.cpp:(.text._ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJ_T_[_ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJ_T_]+0x416): undefined reference to
llvm::orc::AsynchronousSymbolQuery::notifySymbolReady()'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: codegen_llvm.cpp:(.text.ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJ_T[ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJ_T]+0x445): undefined reference to
llvm::orc::ExecutionSession::legacyFailQuery(llvm::orc::AsynchronousSymbolQuery&, llvm::Error)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: codegen_llvm.cpp:(.text._ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJ_T_[_ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJ_T_]+0x542): undefined reference to
llvm::orc::AsynchronousSymbolQuery::handleFullyReady()'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: codegen_llvm.cpp:(.text.ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJ_T[ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJ_T]+0x54f): undefined reference to
llvm::orc::AsynchronousSymbolQuery::handleFullyResolved()' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o):(.rodata._ZTIN4llvm3orc22LegacyLookupFnResolverIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EE[_ZTIN4llvm3orc22LegacyLookupFnResolverIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EE]+0x10): undefined reference to
typeinfo for llvm::orc::SymbolResolver'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o):(.rodata._ZTVN8bpftrace13MemoryManagerE[_ZTVN8bpftrace13MemoryManagerE]+0x60): undefined reference to
llvm::SectionMemoryManager::anchor()' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o):(.rodata._ZTVN8bpftrace13MemoryManagerE[_ZTVN8bpftrace13MemoryManagerE]+0xc0): undefined reference to
llvm::LegacyJITSymbolResolver::lookup(std::set<llvm::StringRef, std::lessllvm::StringRef, std::allocatorllvm::StringRef > const&, std::function<void (llvm::Expected<std::map<llvm::StringRef, llvm::JITEvaluatedSymbol, std::lessllvm::StringRef, std::allocator<std::pair<llvm::StringRef const, llvm::JITEvaluatedSymbol> > > >)>)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o):(.rodata._ZTVN8bpftrace13MemoryManagerE[_ZTVN8bpftrace13MemoryManagerE]+0xc8): undefined reference to
llvm::LegacyJITSymbolResolver::getResponsibilitySet(std::set<llvm::StringRef, std::less<llvm::StringRef>, std::allocator<llvm::StringRef> > const&)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o):(.rodata._ZTVN8bpftrace13MemoryManagerE[_ZTVN8bpftrace13MemoryManagerE]+0xd0): undefined reference to
non-virtual thunk to llvm::SectionMemoryManager::anchor()'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o):(.rodata._ZTVN4llvm3orc22LegacyLookupFnResolverIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EE[_ZTVN4llvm3orc22LegacyLookupFnResolverIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EE]+0x30): undefined reference to
llvm::orc::SymbolResolver::anchor()' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function
bpftrace::ast::IRBuilderBPF::CreateAllocaBPF(llvm::Type*, llvm::Value*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) [clone .constprop.218]':irbuilderbpf.cpp:(.text+0x78): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x15a): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x1d1): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function
bpftrace::ast::IRBuilderBPF::IRBuilderBPF(llvm::LLVMContext&, llvm::Module&, bpftrace::BPFtrace&)':irbuilderbpf.cpp:(.text+0x3ce): undefined reference to
llvm::Function::Function(llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, unsigned int, llvm::Twine const&, llvm::Module*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function
bpftrace::ast::IRBuilderBPF::CreateAllocaBPF(llvm::Type*, llvm::Value*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)':irbuilderbpf.cpp:(.text+0x48f): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x573): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5e8): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function
bpftrace::ast::IRBuilderBPF::CreateAllocaBPF(llvm::Type*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)':irbuilderbpf.cpp:(.text+0x798): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x87a): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o):irbuilderbpf.cpp:(.text+0x8f1): more undefined references to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' follow /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function
bpftrace::ast::IRBuilderBPF::CreateUSDTReadArgument(llvm::Value*, bcc_usdt_argument*, bpftrace::ast::Builtin&)':irbuilderbpf.cpp:(.text+0x35e3): undefined reference to
llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x363e): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x39c7): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x3a55): undefined reference to
llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x3aba): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function
bpftrace::ast::IRBuilderBPF::CreateStrcmp(llvm::Value*, std::__cxx11::basic_string<char, std::char_traits, std::allocator >, bool)':irbuilderbpf.cpp:(.text+0x428c): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x4325): undefined reference to
llvm::CmpInst::CmpInst(llvm::Type*, llvm::Instruction::OtherOps, llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*, llvm::Instruction*)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x437e): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x444c): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x4617): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x46bc): undefined reference to
llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x471e): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x4906): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x49c0): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x4a4c): undefined reference to
llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x4aaa): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function
bpftrace::ast::IRBuilderBPF::CreateStrcmp(llvm::Value*, llvm::Value*, bool)':irbuilderbpf.cpp:(.text+0x4f86): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5034): undefined reference to
llvm::CmpInst::CmpInst(llvm::Type*, llvm::Instruction::OtherOps, llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*, llvm::Instruction*)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5093): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x515b): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x522a): undefined reference to
llvm::CmpInst::CmpInst(llvm::Type*, llvm::Instruction::OtherOps, llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*, llvm::Instruction*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5289): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5359): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5555): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x55ea): undefined reference to
llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5649): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5797): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5842): undefined reference to
llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x589b): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5a75): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5b6d): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5c28): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5cb5): undefined reference to
llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x5d12): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function
bpftrace::ast::IRBuilderBPF::CreateGetNs()': irbuilderbpf.cpp:(.text+0x64cc): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function
bpftrace::ast::IRBuilderBPF::CreateGetPidTgid()': irbuilderbpf.cpp:(.text+0x68ac): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function
bpftrace::ast::IRBuilderBPF::CreateGetUidGid()': irbuilderbpf.cpp:(.text+0x6cbc): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function
bpftrace::ast::IRBuilderBPF::CreateGetCpuId()': irbuilderbpf.cpp:(.text+0x709c): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o):irbuilderbpf.cpp:(.text+0x747c): more undefined references to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' follow /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function
bpftrace::ast::IRBuilderBPF::CreateMapLookupElem(bpftrace::ast::Map&, llvm::AllocaInst*)':irbuilderbpf.cpp:(.text+0x99fa): undefined reference to
llvm::CmpInst::CmpInst(llvm::Type*, llvm::Instruction::OtherOps, llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*, llvm::Instruction*)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x9a66): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x9b3c): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x9be0): undefined reference to
llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x9c40): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x9d16): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x9de5): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/[ 97%] Building CXX object tests/CMakeFiles/bpftrace_test.dir/__/src/types.cpp.o bin/ld: irbuilderbpf.cpp:(.text+0x9eef): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0x9fb5): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0xa060): undefined reference to
llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0xa0c2): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0xa207): undefined reference to
llvm::IRBuilderBase::CreateMemCpy(llvm::Value*, unsigned int, llvm::Value*, unsigned int, llvm::Value*, bool, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function
bpftrace::ast::IRBuilderBPF::CreateMapUpdateElem(bpftrace::ast::Map&, llvm::AllocaInst*, llvm::Value*)': irbuilderbpf.cpp:(.text+0xaa1b): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function
bpftrace::ast::IRBuilderBPF::CreateMapDeleteElem(bpftrace::ast::Map&, llvm::AllocaInst*)': irbuilderbpf.cpp:(.text+0xae9f): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(irbuilderbpf.cpp.o): in function
bpftrace::ast::IRBuilderBPF::CreateGetStackId(llvm::Value*, bool, bpftrace::StackType)': irbuilderbpf.cpp:(.text+0xb2fa): undefined reference to
llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: irbuilderbpf.cpp:(.text+0xb69f): undefined reference to `llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'
The text was updated successfully, but these errors were encountered: