crystal-community / icr

Interactive console for Crystal programming language
MIT License
505 stars 40 forks source link

build failure (opensuse) #107

Closed kda88 closed 5 years ago

kda88 commented 5 years ago

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 tollvm::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 tovtable 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 functionstd::_Function_handler<llvm::Expected (), llvm::orc::LegacyRTDyldObjectLinkingLayer::ConcreteLinkedObject<std::shared_ptr >::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_11RuntimeDyld13MemoryManagerEEE21getSymbolMaterializerENSt7cxx1112basic_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_11RuntimeDyld13MemoryManagerEEE21getSymbolMaterializerENSt7cxx1112basic_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_11RuntimeDyld13MemoryManagerEEE21getSymbolMaterializerENSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEUlvE_E9_M_invokeERKSt9_Any_data[_ZNSt17_Function_handlerIFN4llvm8ExpectedImEEvEZNS0_3orc30LegacyRTDyldObjectLinkingLayer20ConcreteLinkedObjectISt10shared_ptrINS0_11RuntimeDyld13MemoryManagerEEE21getSymbolMaterializerENSt7cxx1112basic_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_11RuntimeDyld13MemoryManagerEEE21getSymbolMaterializerENSt7cxx1112basic_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 functionbpftrace::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 tollvm::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 tollvm::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 functionbpftrace::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 functionbpftrace::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 functionbpftrace::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 functionbpftrace::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 tollvm::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 tollvm::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 tollvm::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 functionllvm::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_S4S4[_ZN4llvm13IRBuilderBase12CreateMemCpyEPNS_5ValueEjS2_jmbPNS_6MDNodeES4_S4S4]+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 functionllvm::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 functionllvm::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 functionbpftrace::BpfOrc::BpfOrc(llvm::TargetMachine)': codegen_llvm.cpp:(.text._ZN8bpftrace6BpfOrcC2EPN4llvm13TargetMachineE[_ZN8bpftrace6BpfOrcC5EPN4llvm13TargetMachineE]+0x27): undefined reference to llvm::orc::ExecutionSession::ExecutionSession(std::shared_ptr<llvm::orc::SymbolStringPool>)' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ast/libast.a(codegen_llvm.cpp.o): in functionllvm::orc::LegacyRTDyldObjectLinkingLayer::ConcreteLinkedObject<std::shared_ptr >::buildInitialSymbolTable(llvm::object::OwningBinary 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 functionllvm::DenseSet<llvm::orc::SymbolStringPtr, llvm::DenseMapInfo > llvm::orc::lookupWithLegacyFn<bpftrace::BpfOrc::BpfOrc(llvm::TargetMachine)::{lambda(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&)#1}>(llvm::orc::ExecutionSession&, llvm::orc::AsynchronousSymbolQuery&, llvm::DenseMapInfo const&, bpftrace::BpfOrc::BpfOrc(llvm::TargetMachine*)::{lambda(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&)#1})': codegen_llvm.cpp:(.text._ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJT[_ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJT]+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_13TargetMachineEEUlRKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJT[_ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJT]+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 tollvm::orc::AsynchronousSymbolQuery::notifySymbolReady()' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: codegen_llvm.cpp:(.text._ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJT[_ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJT]+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_13TargetMachineEEUlRKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJT[_ZN4llvm3orc18lookupWithLegacyFnIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISG_EEEERNS0_16ExecutionSessionERNS0_23AsynchronousSymbolQueryERKSJT]+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 tollvm::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_13TargetMachineEEUlRKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EE[_ZTIN4llvm3orc22LegacyLookupFnResolverIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7cxx1112basic_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 tollvm::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::less<llvm::StringRef>, std::allocator<llvm::StringRef> > const&, std::function<void (llvm::Expected<std::map<llvm::StringRef, llvm::JITEvaluatedSymbol, std::less<llvm::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 tollvm::LegacyJITSymbolResolver::getResponsibilitySet(std::set<llvm::StringRef, std::less, std::allocator > 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_13TargetMachineEEUlRKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_EE[_ZTVN4llvm3orc22LegacyLookupFnResolverIZN8bpftrace6BpfOrcC4EPNS_13TargetMachineEEUlRKNSt7cxx1112basic_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 functionbpftrace::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 tollvm::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 tollvm::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 tollvm::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<char>, std::allocator<char> > const&)': irbuilderbpf.cpp:(.text+0x798): undefined reference tollvm::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 functionbpftrace::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 tollvm::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 tollvm::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 tollvm::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 tollvm::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 tollvm::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 tollvm::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 tollvm::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 tollvm::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 tollvm::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 tollvm::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 tollvm::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 tollvm::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 tollvm::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 tollvm::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 tollvm::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 tollvm::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 tollvm::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 tollvm::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 tollvm::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 tollvm::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 functionbpftrace::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 functionbpftrace::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 tollvm::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>)'