Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save hughperkins/baa7a942f5e02ea527a02cc2157b82b0 to your computer and use it in GitHub Desktop.
Save hughperkins/baa7a942f5e02ea527a02cc2157b82b0 to your computer and use it in GitHub Desktop.
Allright; now linker errors!
[ 1%] Building CXX object CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o
[ 2%] Building CXX object CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o
[ 3%] Building CXX object CMakeFiles/patch_hostside.dir/src/mutations.cpp.o
[ 4%] Building CXX object CMakeFiles/patch_hostside.dir/src/readIR.cpp.o
[ 5%] Building CXX object CMakeFiles/patch_hostside.dir/third_party/argparsecpp/argparsecpp.cpp.o
[ 6%] Building CXX object CMakeFiles/patch_hostside.dir/src/type_dumper.cpp.o
[ 7%] Building CXX object CMakeFiles/patch_hostside.dir/src/GlobalNames.cpp.o
[ 8%] Building CXX object CMakeFiles/patch_hostside.dir/src/EasyCL/util/easycl_stringhelper.cpp.o
[ 9%] Building CXX object CMakeFiles/patch_hostside.dir/src/cocl_logging.cpp.o
[ 10%] Linking CXX executable patch_hostside
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `raw_os_ostream':
/usr/local/include/llvm/Support/raw_os_ostream.h:36: undefined reference to `vtable for llvm::raw_os_ostream'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::raw_ostream::operator<<(llvm::StringRef)':
/usr/local/include/llvm/Support/raw_ostream.h:166: undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::raw_ostream::operator<<(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)':
/usr/local/include/llvm/Support/raw_ostream.h:184: undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::raw_ostream::operator<<(llvm::StringRef)':
/usr/local/include/llvm/Support/raw_ostream.h:166: undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/local/include/llvm/Support/raw_ostream.h:166: undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/local/include/llvm/Support/raw_ostream.h:166: undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o:/usr/local/include/llvm/Support/raw_ostream.h:166: more undefined references to `llvm::raw_ostream::write(char const*, unsigned long)' follow
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::operator<<(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, cocl::LaunchCallInfo const&)':
/home/naths/srcs/coriander/src/patch_hostside.cpp:106: undefined reference to `llvm::Type::print(llvm::raw_ostream&, bool, bool) const'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::raw_ostream::operator<<(llvm::StringRef)':
/usr/local/include/llvm/Support/raw_ostream.h:166: undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/local/include/llvm/Support/raw_ostream.h:166: undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/local/include/llvm/Support/raw_ostream.h:166: undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::raw_ostream::operator<<(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)':
/usr/local/include/llvm/Support/raw_ostream.h:184: undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::operator<<(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, cocl::LaunchCallInfo const&)':
/home/naths/srcs/coriander/src/patch_hostside.cpp:124: undefined reference to `llvm::raw_os_ostream::~raw_os_ostream()'
/home/naths/srcs/coriander/src/patch_hostside.cpp:124: undefined reference to `llvm::raw_os_ostream::~raw_os_ostream()'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::PatchHostside::addSetKernelArgInst_int(llvm::Instruction*, llvm::Value*, llvm::IntegerType*)':
/home/naths/srcs/coriander/src/patch_hostside.cpp:142: undefined reference to `llvm::Instruction::getModule()'
/home/naths/srcs/coriander/src/patch_hostside.cpp:157: undefined reference to `llvm::Type::getVoidTy(llvm::LLVMContext&)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:158: undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:155: undefined reference to `llvm::Module::getOrInsertFunction(llvm::StringRef, llvm::Type*, ...)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:161: undefined reference to `llvm::Instruction::insertAfter(llvm::Instruction*)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::PatchHostside::addSetKernelArgInst_float(llvm::Instruction*, llvm::Value*)':
/home/naths/srcs/coriander/src/patch_hostside.cpp:169: undefined reference to `llvm::Instruction::getModule()'
/home/naths/srcs/coriander/src/patch_hostside.cpp:189: undefined reference to `llvm::Type::getVoidTy(llvm::LLVMContext&)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:190: undefined reference to `llvm::Type::getFloatTy(llvm::LLVMContext&)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:187: undefined reference to `llvm::Module::getOrInsertFunction(llvm::StringRef, llvm::Type*, ...)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:193: undefined reference to `llvm::Instruction::insertAfter(llvm::Instruction*)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::PatchHostside::addSetKernelArgInst_pointer(llvm::Instruction*, llvm::Value*)':
/home/naths/srcs/coriander/src/patch_hostside.cpp:207: undefined reference to `llvm::Instruction::getModule()'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::UnaryInstruction::operator new(unsigned long)':
/usr/local/include/llvm/IR/InstrTypes.h:295: undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::PatchHostside::addSetKernelArgInst_pointer(llvm::Instruction*, llvm::Value*)':
/home/naths/srcs/coriander/src/patch_hostside.cpp:234: undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:234: undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:234: undefined reference to `llvm::BitCastInst::BitCastInst(llvm::Value*, llvm::Type*, llvm::Twine const&, llvm::Instruction*)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:235: undefined reference to `llvm::Instruction::insertAfter(llvm::Instruction*)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:238: undefined reference to `llvm::Module::getDataLayout() const'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::DataLayout::getTypeAllocSize(llvm::Type*) const':
/usr/local/include/llvm/IR/DataLayout.h:410: undefined reference to `llvm::DataLayout::getABITypeAlignment(llvm::Type*) const'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::PatchHostside::addSetKernelArgInst_pointer(llvm::Instruction*, llvm::Value*)':
/home/naths/srcs/coriander/src/patch_hostside.cpp:245: undefined reference to `llvm::Type::getVoidTy(llvm::LLVMContext&)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:246: undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:246: undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:247: undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:243: undefined reference to `llvm::Module::getOrInsertFunction(llvm::StringRef, llvm::Type*, ...)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:251: undefined reference to `llvm::Instruction::insertAfter(llvm::Instruction*)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:234: undefined reference to `llvm::User::operator delete(void*)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::PatchHostside::addSetKernelArgInst_pointerstruct(llvm::Instruction*, llvm::Value*)':
/home/naths/srcs/coriander/src/patch_hostside.cpp:266: undefined reference to `llvm::Instruction::getModule()'
/home/naths/srcs/coriander/src/patch_hostside.cpp:276: undefined reference to `llvm::Value::dump() const'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::PatchHostside::addSetKernelArgInst_byvaluevector(llvm::Instruction*, llvm::Value*)':
/home/naths/srcs/coriander/src/patch_hostside.cpp:301: undefined reference to `llvm::Type::getPrimitiveSizeInBits() const'
/home/naths/srcs/coriander/src/patch_hostside.cpp:315: undefined reference to `llvm::Instruction::getModule()'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::UnaryInstruction::operator new(unsigned long)':
/usr/local/include/llvm/IR/InstrTypes.h:295: undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::PatchHostside::addSetKernelArgInst_byvaluevector(llvm::Instruction*, llvm::Value*)':
/home/naths/srcs/coriander/src/patch_hostside.cpp:317: undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:317: undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:317: undefined reference to `llvm::BitCastInst::BitCastInst(llvm::Value*, llvm::Type*, llvm::Twine const&, llvm::Instruction*)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:318: undefined reference to `llvm::Instruction::insertAfter(llvm::Instruction*)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:327: undefined reference to `llvm::Type::getVoidTy(llvm::LLVMContext&)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:328: undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:328: undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:329: undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:325: undefined reference to `llvm::Module::getOrInsertFunction(llvm::StringRef, llvm::Type*, ...)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:334: undefined reference to `llvm::Instruction::insertAfter(llvm::Instruction*)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:308: undefined reference to `llvm::Type::dump() const'
/home/naths/srcs/coriander/src/patch_hostside.cpp:317: undefined reference to `llvm::User::operator delete(void*)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::addMetadata(llvm::Instruction*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)':
/home/naths/srcs/coriander/src/patch_hostside.cpp:343: undefined reference to `llvm::MDString::get(llvm::LLVMContext&, llvm::StringRef)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::MDTuple::get(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>)':
/usr/local/include/llvm/IR/Metadata.h:1075: undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::addMetadata(llvm::Instruction*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)':
/home/naths/srcs/coriander/src/patch_hostside.cpp:344: undefined reference to `llvm::Instruction::setMetadata(llvm::StringRef, llvm::MDNode*)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::PatchHostside::addSetKernelArgInst_byvaluestruct(llvm::Instruction*, cocl::ParamInfo*, llvm::Value*)':
/home/naths/srcs/coriander/src/patch_hostside.cpp:354: undefined reference to `llvm::Instruction::getModule()'
/home/naths/srcs/coriander/src/patch_hostside.cpp:370: undefined reference to `llvm::Type::dump() const'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::UnaryInstruction::operator new(unsigned long)':
/usr/local/include/llvm/IR/InstrTypes.h:295: undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::PatchHostside::addSetKernelArgInst_byvaluestruct(llvm::Instruction*, cocl::ParamInfo*, llvm::Value*)':
/home/naths/srcs/coriander/src/patch_hostside.cpp:374: undefined reference to `llvm::BitCastInst::BitCastInst(llvm::Value*, llvm::Type*, llvm::Twine const&, llvm::Instruction*)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:375: undefined reference to `llvm::Instruction::insertAfter(llvm::Instruction*)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:376: undefined reference to `llvm::Value::dump() const'
/home/naths/srcs/coriander/src/patch_hostside.cpp:387: undefined reference to `llvm::Type::dump() const'
/home/naths/srcs/coriander/src/patch_hostside.cpp:389: undefined reference to `llvm::Type::dump() const'
/home/naths/srcs/coriander/src/patch_hostside.cpp:394: undefined reference to `llvm::StructType::getName() const'
/home/naths/srcs/coriander/src/patch_hostside.cpp:408: undefined reference to `llvm::Module::getDataLayout() const'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::DataLayout::getTypeAllocSize(llvm::Type*) const':
/usr/local/include/llvm/IR/DataLayout.h:410: undefined reference to `llvm::DataLayout::getABITypeAlignment(llvm::Type*) const'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::UnaryInstruction::operator new(unsigned long)':
/usr/local/include/llvm/IR/InstrTypes.h:295: undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::PatchHostside::addSetKernelArgInst_byvaluestruct(llvm::Instruction*, cocl::ParamInfo*, llvm::Value*)':
/home/naths/srcs/coriander/src/patch_hostside.cpp:415: undefined reference to `llvm::AllocaInst::AllocaInst(llvm::Type*, llvm::Twine const&, llvm::Instruction*)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:416: undefined reference to `llvm::Instruction::insertAfter(llvm::Instruction*)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::UnaryInstruction::operator new(unsigned long)':
/usr/local/include/llvm/IR/InstrTypes.h:295: undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::PatchHostside::addSetKernelArgInst_byvaluestruct(llvm::Instruction*, cocl::ParamInfo*, llvm::Value*)':
/home/naths/srcs/coriander/src/patch_hostside.cpp:427: undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:427: undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:427: undefined reference to `llvm::BitCastInst::BitCastInst(llvm::Value*, llvm::Type*, llvm::Twine const&, llvm::Instruction*)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:428: undefined reference to `llvm::Instruction::insertAfter(llvm::Instruction*)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:437: undefined reference to `llvm::Type::getVoidTy(llvm::LLVMContext&)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:438: undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:438: undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:439: undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:435: undefined reference to `llvm::Module::getOrInsertFunction(llvm::StringRef, llvm::Type*, ...)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:444: undefined reference to `llvm::Instruction::insertAfter(llvm::Instruction*)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::GetElementPtrInst::CreateInBounds(llvm::Type*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::Twine const&, llvm::Instruction*)':
/usr/local/include/llvm/IR/Instructions.h:879: undefined reference to `llvm::GetElementPtrInst::setIsInBounds(bool)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::PatchHostside::addSetKernelArgInst_byvaluestruct(llvm::Instruction*, cocl::ParamInfo*, llvm::Value*)':
/home/naths/srcs/coriander/src/patch_hostside.cpp:463: undefined reference to `llvm::Instruction::insertAfter(llvm::Instruction*)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::UnaryInstruction::operator new(unsigned long)':
/usr/local/include/llvm/IR/InstrTypes.h:295: undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `LoadInst':
/usr/local/include/llvm/IR/Instructions.h:201: undefined reference to `llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, char const*, bool, llvm::Instruction*)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::PatchHostside::addSetKernelArgInst_byvaluestruct(llvm::Instruction*, cocl::ParamInfo*, llvm::Value*)':
/home/naths/srcs/coriander/src/patch_hostside.cpp:467: undefined reference to `llvm::Instruction::insertAfter(llvm::Instruction*)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:415: undefined reference to `llvm::User::operator delete(void*)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:374: undefined reference to `llvm::User::operator delete(void*)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:427: undefined reference to `llvm::User::operator delete(void*)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:466: undefined reference to `llvm::User::operator delete(void*)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::PatchHostside::addSetKernelArgInst(llvm::Instruction*, cocl::ParamInfo*)':
/home/naths/srcs/coriander/src/patch_hostside.cpp:555: undefined reference to `llvm::Value::dump() const'
/home/naths/srcs/coriander/src/patch_hostside.cpp:556: undefined reference to `llvm::outs()'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::raw_ostream::operator<<(llvm::StringRef)':
/usr/local/include/llvm/Support/raw_ostream.h:166: undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::UnaryInstruction::operator new(unsigned long)':
/usr/local/include/llvm/IR/InstrTypes.h:295: undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `LoadInst':
/usr/local/include/llvm/IR/Instructions.h:201: undefined reference to `llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, char const*, bool, llvm::Instruction*)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::PatchHostside::getLaunchArgValue(cocl::GenericCallInst*, cocl::LaunchCallInfo*, cocl::ParamInfo*)':
/home/naths/srcs/coriander/src/patch_hostside.cpp:594: undefined reference to `llvm::Instruction::insertBefore(llvm::Instruction*)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:579: undefined reference to `llvm::outs()'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::raw_ostream::operator<<(llvm::StringRef)':
/usr/local/include/llvm/Support/raw_ostream.h:166: undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/local/include/llvm/Support/raw_ostream.h:166: undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::PatchHostside::getLaunchArgValue(cocl::GenericCallInst*, cocl::LaunchCallInfo*, cocl::ParamInfo*)':
/home/naths/srcs/coriander/src/patch_hostside.cpp:581: undefined reference to `llvm::outs()'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::raw_ostream::operator<<(llvm::StringRef)':
/usr/local/include/llvm/Support/raw_ostream.h:166: undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::PatchHostside::getLaunchArgValue(cocl::GenericCallInst*, cocl::LaunchCallInfo*, cocl::ParamInfo*)':
/home/naths/srcs/coriander/src/patch_hostside.cpp:582: undefined reference to `llvm::Value::dump() const'
/home/naths/srcs/coriander/src/patch_hostside.cpp:583: undefined reference to `llvm::outs()'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::raw_ostream::operator<<(llvm::StringRef)':
/usr/local/include/llvm/Support/raw_ostream.h:166: undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::PatchHostside::getLaunchArgValue(cocl::GenericCallInst*, cocl::LaunchCallInfo*, cocl::ParamInfo*)':
/home/naths/srcs/coriander/src/patch_hostside.cpp:593: undefined reference to `llvm::User::operator delete(void*)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::PatchHostside::getLaunchTypes(llvm::Module*, llvm::Module const*, cocl::GenericCallInst*, cocl::LaunchCallInfo*)':
/home/naths/srcs/coriander/src/patch_hostside.cpp:614: undefined reference to `llvm::ConstantExpr::getAsInstruction()'
/home/naths/srcs/coriander/src/patch_hostside.cpp:620: undefined reference to `llvm::Value::getName() const'
/home/naths/srcs/coriander/src/patch_hostside.cpp:622: undefined reference to `llvm::Module::getFunction(llvm::StringRef) const'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::Function::CheckLazyArguments() const':
/usr/local/include/llvm/IR/Function.h:91: undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/local/include/llvm/IR/Function.h:91: undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/local/include/llvm/IR/Function.h:91: undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/local/include/llvm/IR/Function.h:91: undefined reference to `llvm::Function::BuildLazyArguments() const'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::PatchHostside::getLaunchTypes(llvm::Module*, llvm::Module const*, cocl::GenericCallInst*, cocl::LaunchCallInfo*)':
/home/naths/srcs/coriander/src/patch_hostside.cpp:657: undefined reference to `llvm::Argument::hasByValAttr() const'
/home/naths/srcs/coriander/src/patch_hostside.cpp:658: undefined reference to `llvm::Argument::hasByValAttr() const'
/home/naths/srcs/coriander/src/patch_hostside.cpp:660: undefined reference to `llvm::Argument::hasByValAttr() const'
/home/naths/srcs/coriander/src/patch_hostside.cpp:661: undefined reference to `llvm::Argument::hasByValAttr() const'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::PatchHostside::patchCudaLaunch(llvm::Module*, llvm::Module const*, llvm::Function*, cocl::GenericCallInst*, std::__1::vector<llvm::Instruction*, std::__1::allocator<llvm::Instruction*> >&)':
/home/naths/srcs/coriander/src/patch_hostside.cpp:696: undefined reference to `llvm::Instruction::insertBefore(llvm::Instruction*)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:700: undefined reference to `llvm::Instruction::insertBefore(llvm::Instruction*)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:704: undefined reference to `llvm::Type::getVoidTy(llvm::LLVMContext&)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:705: undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:705: undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:706: undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:706: undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:702: undefined reference to `llvm::Module::getOrInsertFunction(llvm::StringRef, llvm::Type*, ...)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:711: undefined reference to `llvm::Instruction::insertBefore(llvm::Instruction*)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:724: undefined reference to `llvm::Type::getVoidTy(llvm::LLVMContext&)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:722: undefined reference to `llvm::Module::getOrInsertFunction(llvm::StringRef, llvm::Type*, ...)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::CallInst::Create(llvm::Value*, llvm::Twine const&, llvm::Instruction*)':
/usr/local/include/llvm/IR/Instructions.h:1431: undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/local/include/llvm/IR/Instructions.h:1431: undefined reference to `llvm::CallInst::CallInst(llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::PatchHostside::patchCudaLaunch(llvm::Module*, llvm::Module const*, llvm::Function*, cocl::GenericCallInst*, std::__1::vector<llvm::Instruction*, std::__1::allocator<llvm::Instruction*> >&)':
/home/naths/srcs/coriander/src/patch_hostside.cpp:727: undefined reference to `llvm::Instruction::insertAfter(llvm::Instruction*)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::PatchHostside::patchFunction(llvm::Module*, llvm::Module const*, llvm::Function*)':
/home/naths/srcs/coriander/src/patch_hostside.cpp:744: undefined reference to `llvm::Value::getName() const'
/home/naths/srcs/coriander/src/patch_hostside.cpp:745: undefined reference to `llvm::Value::getName() const'
/home/naths/srcs/coriander/src/patch_hostside.cpp:746: undefined reference to `llvm::Value::getName() const'
/home/naths/srcs/coriander/src/patch_hostside.cpp:748: undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:749: undefined reference to `llvm::ConstantInt::getSigned(llvm::IntegerType*, long)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:774: undefined reference to `llvm::Value::getName() const'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::BranchInst::Create(llvm::BasicBlock*, llvm::Instruction*)':
/usr/local/include/llvm/IR/Instructions.h:2887: undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/local/include/llvm/IR/Instructions.h:2887: undefined reference to `llvm::BranchInst::BranchInst(llvm::BasicBlock*, llvm::Instruction*)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::PatchHostside::patchFunction(llvm::Module*, llvm::Module const*, llvm::Function*)':
/home/naths/srcs/coriander/src/patch_hostside.cpp:795: undefined reference to `llvm::Instruction::insertAfter(llvm::Instruction*)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:797: undefined reference to `llvm::ReplaceInstWithValue(llvm::SymbolTableList<llvm::Instruction>&, llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::Instruction, false, false, void>, false, false>&, llvm::Value*)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::PatchHostside::patchModule(llvm::Module*, llvm::Module const*)':
/home/naths/srcs/coriander/src/patch_hostside.cpp:827: undefined reference to `llvm::verifyFunction(llvm::Function const&, llvm::raw_ostream*)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `main':
/home/naths/srcs/coriander/src/patch_hostside.cpp:848: undefined reference to `llvm::parseIRFile(llvm::StringRef, llvm::SMDiagnostic&, llvm::LLVMContext&)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:853: undefined reference to `llvm::parseIRFile(llvm::StringRef, llvm::SMDiagnostic&, llvm::LLVMContext&)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `AssemblyAnnotationWriter':
/usr/local/include/llvm/IR/AssemblyAnnotationWriter.h:28: undefined reference to `vtable for llvm::AssemblyAnnotationWriter'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `main':
/home/naths/srcs/coriander/src/patch_hostside.cpp:850: undefined reference to `llvm::errs()'
/home/naths/srcs/coriander/src/patch_hostside.cpp:850: undefined reference to `llvm::SMDiagnostic::print(char const*, llvm::raw_ostream&, bool, bool) const'
/home/naths/srcs/coriander/src/patch_hostside.cpp:855: undefined reference to `llvm::errs()'
/home/naths/srcs/coriander/src/patch_hostside.cpp:855: undefined reference to `llvm::SMDiagnostic::print(char const*, llvm::raw_ostream&, bool, bool) const'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `raw_os_ostream':
/usr/local/include/llvm/Support/raw_os_ostream.h:36: undefined reference to `vtable for llvm::raw_os_ostream'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `main':
/home/naths/srcs/coriander/src/patch_hostside.cpp:877: undefined reference to `llvm::verifyModule(llvm::Module const&, llvm::raw_ostream*, bool*)'
/home/naths/srcs/coriander/src/patch_hostside.cpp:878: undefined reference to `llvm::Module::print(llvm::raw_ostream&, llvm::AssemblyAnnotationWriter*, bool, bool) const'
/home/naths/srcs/coriander/src/patch_hostside.cpp:881: undefined reference to `llvm::raw_os_ostream::~raw_os_ostream()'
/home/naths/srcs/coriander/src/patch_hostside.cpp:881: undefined reference to `llvm::AssemblyAnnotationWriter::~AssemblyAnnotationWriter()'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `std::__1::default_delete<llvm::Module>::operator()(llvm::Module*) const':
/usr/local/bin/../include/c++/v1/memory:2577: undefined reference to `llvm::Module::~Module()'
/usr/local/bin/../include/c++/v1/memory:2577: undefined reference to `llvm::Module::~Module()'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `main':
/home/naths/srcs/coriander/src/patch_hostside.cpp:868: undefined reference to `llvm::outs()'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::raw_ostream::operator<<(llvm::StringRef)':
/usr/local/include/llvm/Support/raw_ostream.h:166: undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::raw_ostream::operator<<(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)':
/usr/local/include/llvm/Support/raw_ostream.h:184: undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::raw_ostream::operator<<(llvm::StringRef)':
/usr/local/include/llvm/Support/raw_ostream.h:166: undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `main':
/home/naths/srcs/coriander/src/patch_hostside.cpp:881: undefined reference to `llvm::raw_os_ostream::~raw_os_ostream()'
/home/naths/srcs/coriander/src/patch_hostside.cpp:881: undefined reference to `llvm::AssemblyAnnotationWriter::~AssemblyAnnotationWriter()'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `std::__1::default_delete<llvm::Module>::operator()(llvm::Module*) const':
/usr/local/bin/../include/c++/v1/memory:2577: undefined reference to `llvm::Module::~Module()'
/usr/local/bin/../include/c++/v1/memory:2577: undefined reference to `llvm::Module::~Module()'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >, llvm::Twine const&, llvm::Instruction*)':
/usr/local/include/llvm/IR/Instructions.h:1411: undefined reference to `llvm::User::operator new(unsigned long, unsigned int, unsigned int)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `CallInst':
/usr/local/include/llvm/IR/Instructions.h:1865: undefined reference to `vtable for llvm::CallInst'
/usr/local/include/llvm/IR/Instructions.h:1861: undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::Instruction*)'
/usr/local/include/llvm/IR/Instructions.h:1866: undefined reference to `llvm::CallInst::init(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >, llvm::Twine const&)'
/usr/local/include/llvm/IR/Instructions.h:1867: undefined reference to `llvm::Instruction::~Instruction()'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::GenericCallInst_Invoke::getModule()':
/home/naths/srcs/coriander/src/patch_hostside.h:155: undefined reference to `llvm::Instruction::getModule()'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::GenericCallInst_Invoke::dump()':
/home/naths/srcs/coriander/src/patch_hostside.h:157: undefined reference to `llvm::Value::dump() const'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::GenericCallInst_Call::getModule()':
/home/naths/srcs/coriander/src/patch_hostside.h:144: undefined reference to `llvm::Instruction::getModule()'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `cocl::GenericCallInst_Call::dump()':
/home/naths/srcs/coriander/src/patch_hostside.h:146: undefined reference to `llvm::Value::dump() const'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::DataLayout::getTypeSizeInBits(llvm::Type*) const':
/usr/local/include/llvm/IR/DataLayout.h:547: undefined reference to `llvm::DataLayout::getStructLayout(llvm::StructType*) const'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::DataLayout::getTypeAllocSize(llvm::Type*) const':
/usr/local/include/llvm/IR/DataLayout.h:410: undefined reference to `llvm::DataLayout::getABITypeAlignment(llvm::Type*) const'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::Type::getPointerAddressSpace() const':
/usr/local/include/llvm/IR/DerivedTypes.h:475: undefined reference to `llvm::Type::getScalarType() const'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::DataLayout::getPointerSizeInBits(unsigned int) const':
/usr/local/include/llvm/IR/DataLayout.h:350: undefined reference to `llvm::DataLayout::getPointerSize(unsigned int) const'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::GetElementPtrInst::Create(llvm::Type*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::Twine const&, llvm::Instruction*)':
/usr/local/include/llvm/IR/Instructions.h:841: undefined reference to `llvm::Type::getScalarType() const'
/usr/local/include/llvm/IR/Instructions.h:846: undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `GetElementPtrInst':
/usr/local/include/llvm/IR/Instructions.h:1042: undefined reference to `vtable for llvm::GetElementPtrInst'
/usr/local/include/llvm/IR/Instructions.h:1038: undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::Instruction*)'
/usr/local/include/llvm/IR/Instructions.h:1042: undefined reference to `llvm::GetElementPtrInst::getIndexedType(llvm::Type*, llvm::ArrayRef<llvm::Value*>)'
/usr/local/include/llvm/IR/Instructions.h:1045: undefined reference to `llvm::GetElementPtrInst::init(llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::Twine const&)'
/usr/local/include/llvm/IR/Instructions.h:1046: undefined reference to `llvm::Instruction::~Instruction()'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::GetElementPtrInst::getGEPReturnType(llvm::Type*, llvm::Value*, llvm::ArrayRef<llvm::Value*>)':
/usr/local/include/llvm/IR/Instructions.h:969: undefined reference to `llvm::GetElementPtrInst::getIndexedType(llvm::Type*, llvm::ArrayRef<llvm::Value*>)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::Type::getPointerAddressSpace() const':
/usr/local/include/llvm/IR/DerivedTypes.h:475: undefined reference to `llvm::Type::getScalarType() const'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `llvm::GetElementPtrInst::getGEPReturnType(llvm::Type*, llvm::Value*, llvm::ArrayRef<llvm::Value*>)':
/usr/local/include/llvm/IR/Instructions.h:969: undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/local/include/llvm/IR/Instructions.h:974: undefined reference to `llvm::VectorType::get(llvm::Type*, unsigned int)'
/usr/local/include/llvm/IR/Instructions.h:979: undefined reference to `llvm::VectorType::get(llvm::Type*, unsigned int)'
CMakeFiles/patch_hostside.dir/src/patch_hostside.cpp.o: In function `_GLOBAL__sub_I_patch_hostside.cpp':
/home/naths/srcs/coriander/src/patch_hostside.cpp:67: undefined reference to `llvm::LLVMContext::LLVMContext()'
/home/naths/srcs/coriander/src/patch_hostside.cpp:67: undefined reference to `llvm::LLVMContext::~LLVMContext()'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `cocl::StructCloner::createGlobalizedPointerStruct(std::__1::map<llvm::StructType*, llvm::StructType*, std::__1::less<llvm::StructType*>, std::__1::allocator<std::__1::pair<llvm::StructType* const, llvm::StructType*> > >&, llvm::StructType*)':
/home/naths/srcs/coriander/src/struct_clone.cpp:56: undefined reference to `llvm::StructType::getName() const'
/home/naths/srcs/coriander/src/struct_clone.cpp:66: undefined reference to `llvm::Type::getPrimitiveSizeInBits() const'
/home/naths/srcs/coriander/src/struct_clone.cpp:67: undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/home/naths/srcs/coriander/src/struct_clone.cpp:81: undefined reference to `llvm::StructType::create(llvm::ArrayRef<llvm::Type*>, llvm::StringRef, bool)'
/home/naths/srcs/coriander/src/struct_clone.cpp:83: undefined reference to `llvm::StructType::get(llvm::LLVMContext&, bool)'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `cocl::StructCloner::cloneNoPointers(llvm::StructType*)':
/home/naths/srcs/coriander/src/struct_clone.cpp:96: undefined reference to `llvm::StructType::getName() const'
/home/naths/srcs/coriander/src/struct_clone.cpp:117: undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/home/naths/srcs/coriander/src/struct_clone.cpp:122: undefined reference to `llvm::StructType::create(llvm::ArrayRef<llvm::Type*>, llvm::StringRef, bool)'
/home/naths/srcs/coriander/src/struct_clone.cpp:124: undefined reference to `llvm::StructType::get(llvm::LLVMContext&, bool)'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `cocl::StructCloner::writeClCopyNoPtrToPtrfull(llvm::StructType*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)':
/home/naths/srcs/coriander/src/struct_clone.cpp:159: undefined reference to `llvm::Type::getPrimitiveSizeInBits() const'
/home/naths/srcs/coriander/src/struct_clone.cpp:174: undefined reference to `llvm::outs()'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `llvm::raw_ostream::operator<<(llvm::StringRef)':
/usr/local/include/llvm/Support/raw_ostream.h:166: undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `cocl::StructCloner::writeClCopyNoPtrToPtrfull(llvm::StructType*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)':
/home/naths/srcs/coriander/src/struct_clone.cpp:175: undefined reference to `llvm::Type::dump() const'
/home/naths/srcs/coriander/src/struct_clone.cpp:176: undefined reference to `llvm::outs()'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `llvm::raw_ostream::operator<<(llvm::StringRef)':
/usr/local/include/llvm/Support/raw_ostream.h:166: undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `cocl::StructCloner::createHostsideIrCopyPtrfullToNoptr(llvm::Instruction*, llvm::StructType*, llvm::Value*, llvm::Value*)':
/home/naths/srcs/coriander/src/struct_clone.cpp:189: undefined reference to `llvm::Value::getContext() const'
/home/naths/srcs/coriander/src/struct_clone.cpp:201: undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/home/naths/srcs/coriander/src/struct_clone.cpp:201: undefined reference to `llvm::ConstantInt::getSigned(llvm::IntegerType*, long)'
/home/naths/srcs/coriander/src/struct_clone.cpp:202: undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/home/naths/srcs/coriander/src/struct_clone.cpp:202: undefined reference to `llvm::ConstantInt::getSigned(llvm::IntegerType*, long)'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `llvm::GetElementPtrInst::CreateInBounds(llvm::Type*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::Twine const&, llvm::Instruction*)':
/usr/local/include/llvm/IR/Instructions.h:879: undefined reference to `llvm::GetElementPtrInst::setIsInBounds(bool)'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `cocl::StructCloner::createHostsideIrCopyPtrfullToNoptr(llvm::Instruction*, llvm::StructType*, llvm::Value*, llvm::Value*)':
/home/naths/srcs/coriander/src/struct_clone.cpp:204: undefined reference to `llvm::Instruction::insertAfter(llvm::Instruction*)'
/home/naths/srcs/coriander/src/struct_clone.cpp:208: undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/home/naths/srcs/coriander/src/struct_clone.cpp:208: undefined reference to `llvm::ConstantInt::getSigned(llvm::IntegerType*, long)'
/home/naths/srcs/coriander/src/struct_clone.cpp:209: undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/home/naths/srcs/coriander/src/struct_clone.cpp:209: undefined reference to `llvm::ConstantInt::getSigned(llvm::IntegerType*, long)'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `llvm::GetElementPtrInst::CreateInBounds(llvm::Type*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::Twine const&, llvm::Instruction*)':
/usr/local/include/llvm/IR/Instructions.h:879: undefined reference to `llvm::GetElementPtrInst::setIsInBounds(bool)'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `cocl::StructCloner::createHostsideIrCopyPtrfullToNoptr(llvm::Instruction*, llvm::StructType*, llvm::Value*, llvm::Value*)':
/home/naths/srcs/coriander/src/struct_clone.cpp:211: undefined reference to `llvm::Instruction::insertAfter(llvm::Instruction*)'
/home/naths/srcs/coriander/src/struct_clone.cpp:217: undefined reference to `llvm::Type::getPrimitiveSizeInBits() const'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `llvm::UnaryInstruction::operator new(unsigned long)':
/usr/local/include/llvm/IR/InstrTypes.h:295: undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `LoadInst':
/usr/local/include/llvm/IR/Instructions.h:201: undefined reference to `llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, char const*, bool, llvm::Instruction*)'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `cocl::StructCloner::createHostsideIrCopyPtrfullToNoptr(llvm::Instruction*, llvm::StructType*, llvm::Value*, llvm::Value*)':
/home/naths/srcs/coriander/src/struct_clone.cpp:225: undefined reference to `llvm::Instruction::insertAfter(llvm::Instruction*)'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `llvm::StoreInst::operator new(unsigned long)':
/usr/local/include/llvm/IR/Instructions.h:301: undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `cocl::StructCloner::createHostsideIrCopyPtrfullToNoptr(llvm::Instruction*, llvm::StructType*, llvm::Value*, llvm::Value*)':
/home/naths/srcs/coriander/src/struct_clone.cpp:228: undefined reference to `llvm::StoreInst::StoreInst(llvm::Value*, llvm::Value*, bool, llvm::Instruction*)'
/home/naths/srcs/coriander/src/struct_clone.cpp:229: undefined reference to `llvm::Instruction::insertAfter(llvm::Instruction*)'
/home/naths/srcs/coriander/src/struct_clone.cpp:236: undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/home/naths/srcs/coriander/src/struct_clone.cpp:236: undefined reference to `llvm::ConstantInt::getSigned(llvm::IntegerType*, long)'
/home/naths/srcs/coriander/src/struct_clone.cpp:237: undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/home/naths/srcs/coriander/src/struct_clone.cpp:237: undefined reference to `llvm::ConstantInt::getSigned(llvm::IntegerType*, long)'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `llvm::GetElementPtrInst::CreateInBounds(llvm::Type*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::Twine const&, llvm::Instruction*)':
/usr/local/include/llvm/IR/Instructions.h:879: undefined reference to `llvm::GetElementPtrInst::setIsInBounds(bool)'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `cocl::StructCloner::createHostsideIrCopyPtrfullToNoptr(llvm::Instruction*, llvm::StructType*, llvm::Value*, llvm::Value*)':
/home/naths/srcs/coriander/src/struct_clone.cpp:239: undefined reference to `llvm::Instruction::insertAfter(llvm::Instruction*)'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `llvm::GetElementPtrInst::CreateInBounds(llvm::Type*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::Twine const&, llvm::Instruction*)':
/usr/local/include/llvm/IR/Instructions.h:879: undefined reference to `llvm::GetElementPtrInst::setIsInBounds(bool)'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `cocl::StructCloner::createHostsideIrCopyPtrfullToNoptr(llvm::Instruction*, llvm::StructType*, llvm::Value*, llvm::Value*)':
/home/naths/srcs/coriander/src/struct_clone.cpp:243: undefined reference to `llvm::Instruction::insertAfter(llvm::Instruction*)'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `llvm::UnaryInstruction::operator new(unsigned long)':
/usr/local/include/llvm/IR/InstrTypes.h:295: undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `LoadInst':
/usr/local/include/llvm/IR/Instructions.h:201: undefined reference to `llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, char const*, bool, llvm::Instruction*)'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `cocl::StructCloner::createHostsideIrCopyPtrfullToNoptr(llvm::Instruction*, llvm::StructType*, llvm::Value*, llvm::Value*)':
/home/naths/srcs/coriander/src/struct_clone.cpp:247: undefined reference to `llvm::Instruction::insertAfter(llvm::Instruction*)'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `llvm::StoreInst::operator new(unsigned long)':
/usr/local/include/llvm/IR/Instructions.h:301: undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `cocl::StructCloner::createHostsideIrCopyPtrfullToNoptr(llvm::Instruction*, llvm::StructType*, llvm::Value*, llvm::Value*)':
/home/naths/srcs/coriander/src/struct_clone.cpp:250: undefined reference to `llvm::StoreInst::StoreInst(llvm::Value*, llvm::Value*, bool, llvm::Instruction*)'
/home/naths/srcs/coriander/src/struct_clone.cpp:251: undefined reference to `llvm::Instruction::insertAfter(llvm::Instruction*)'
/home/naths/srcs/coriander/src/struct_clone.cpp:265: undefined reference to `llvm::outs()'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `llvm::raw_ostream::operator<<(llvm::StringRef)':
/usr/local/include/llvm/Support/raw_ostream.h:166: undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `cocl::StructCloner::createHostsideIrCopyPtrfullToNoptr(llvm::Instruction*, llvm::StructType*, llvm::Value*, llvm::Value*)':
/home/naths/srcs/coriander/src/struct_clone.cpp:266: undefined reference to `llvm::Type::dump() const'
/home/naths/srcs/coriander/src/struct_clone.cpp:267: undefined reference to `llvm::outs()'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `llvm::raw_ostream::operator<<(llvm::StringRef)':
/usr/local/include/llvm/Support/raw_ostream.h:166: undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `cocl::StructCloner::createHostsideIrCopyPtrfullToNoptr(llvm::Instruction*, llvm::StructType*, llvm::Value*, llvm::Value*)':
/home/naths/srcs/coriander/src/struct_clone.cpp:256: undefined reference to `llvm::outs()'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `llvm::raw_ostream::operator<<(llvm::StringRef)':
/usr/local/include/llvm/Support/raw_ostream.h:166: undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `cocl::StructCloner::createHostsideIrCopyPtrfullToNoptr(llvm::Instruction*, llvm::StructType*, llvm::Value*, llvm::Value*)':
/home/naths/srcs/coriander/src/struct_clone.cpp:257: undefined reference to `llvm::Type::dump() const'
/home/naths/srcs/coriander/src/struct_clone.cpp:258: undefined reference to `llvm::outs()'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `llvm::raw_ostream::operator<<(llvm::StringRef)':
/usr/local/include/llvm/Support/raw_ostream.h:166: undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `cocl::StructCloner::createHostsideIrCopyPtrfullToNoptr(llvm::Instruction*, llvm::StructType*, llvm::Value*, llvm::Value*)':
/home/naths/srcs/coriander/src/struct_clone.cpp:228: undefined reference to `llvm::User::operator delete(void*)'
/home/naths/srcs/coriander/src/struct_clone.cpp:224: undefined reference to `llvm::User::operator delete(void*)'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `cocl::StructCloner::walkType(llvm::Module*, cocl::StructInfo*, int, int, std::__1::vector<int, std::__1::allocator<int> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, llvm::Type*)':
/home/naths/srcs/coriander/src/struct_clone.cpp:288: undefined reference to `llvm::Type::getPrimitiveSizeInBits() const'
/home/naths/srcs/coriander/src/struct_clone.cpp:296: undefined reference to `llvm::Type::getPrimitiveSizeInBits() const'
/home/naths/srcs/coriander/src/struct_clone.cpp:300: undefined reference to `llvm::Type::dump() const'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `cocl::StructCloner::walkStructType(llvm::Module*, cocl::StructInfo*, int, int, std::__1::vector<int, std::__1::allocator<int> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, llvm::StructType*)':
/home/naths/srcs/coriander/src/struct_clone.cpp:323: undefined reference to `llvm::Module::getDataLayout() const'
CMakeFiles/patch_hostside.dir/src/struct_clone.cpp.o: In function `llvm::DataLayout::getTypeAllocSize(llvm::Type*) const':
/usr/local/include/llvm/IR/DataLayout.h:410: undefined reference to `llvm::DataLayout::getABITypeAlignment(llvm::Type*) const'
CMakeFiles/patch_hostside.dir/src/mutations.cpp.o: In function `mutateGlobalConstructorNumElements(llvm::GlobalVariable*, int)':
/home/naths/srcs/coriander/src/mutations.cpp:31: undefined reference to `llvm::ArrayType::get(llvm::Type*, unsigned long)'
/home/naths/srcs/coriander/src/mutations.cpp:31: undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
CMakeFiles/patch_hostside.dir/src/mutations.cpp.o: In function `appendGlobalConstructorCall(llvm::Module*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)':
/home/naths/srcs/coriander/src/mutations.cpp:36: undefined reference to `llvm::Module::getNamedValue(llvm::StringRef) const'
CMakeFiles/patch_hostside.dir/src/mutations.cpp.o: In function `mutateGlobalConstructorNumElements(llvm::GlobalVariable*, int)':
/home/naths/srcs/coriander/src/mutations.cpp:31: undefined reference to `llvm::ArrayType::get(llvm::Type*, unsigned long)'
/home/naths/srcs/coriander/src/mutations.cpp:31: undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
CMakeFiles/patch_hostside.dir/src/mutations.cpp.o: In function `appendGlobalConstructorCall(llvm::Module*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)':
/home/naths/srcs/coriander/src/mutations.cpp:45: undefined reference to `llvm::Constant::getAggregateElement(unsigned int) const'
/home/naths/srcs/coriander/src/mutations.cpp:48: undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/home/naths/srcs/coriander/src/mutations.cpp:48: undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/home/naths/srcs/coriander/src/mutations.cpp:51: undefined reference to `llvm::Type::getVoidTy(llvm::LLVMContext&)'
/home/naths/srcs/coriander/src/mutations.cpp:49: undefined reference to `llvm::Module::getOrInsertFunction(llvm::StringRef, llvm::Type*, ...)'
/home/naths/srcs/coriander/src/mutations.cpp:53: undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/home/naths/srcs/coriander/src/mutations.cpp:53: undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/home/naths/srcs/coriander/src/mutations.cpp:53: undefined reference to `llvm::ConstantPointerNull::get(llvm::PointerType*)'
CMakeFiles/patch_hostside.dir/src/mutations.cpp.o: In function `llvm::ConstantStruct::getAnon(llvm::ArrayRef<llvm::Constant*>, bool)':
/usr/local/include/llvm/IR/Constants.h:439: undefined reference to `llvm::ConstantStruct::getTypeForElements(llvm::ArrayRef<llvm::Constant*>, bool)'
/usr/local/include/llvm/IR/Constants.h:439: undefined reference to `llvm::ConstantStruct::get(llvm::StructType*, llvm::ArrayRef<llvm::Constant*>)'
CMakeFiles/patch_hostside.dir/src/mutations.cpp.o: In function `appendGlobalConstructorCall(llvm::Module*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)':
/home/naths/srcs/coriander/src/mutations.cpp:56: undefined reference to `llvm::ConstantArray::get(llvm::ArrayType*, llvm::ArrayRef<llvm::Constant*>)'
/home/naths/srcs/coriander/src/mutations.cpp:57: undefined reference to `llvm::GlobalVariable::setInitializer(llvm::Constant*)'
CMakeFiles/patch_hostside.dir/src/mutations.cpp.o: In function `addGlobalVariable(llvm::Module*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)':
/home/naths/srcs/coriander/src/mutations.cpp:64: undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/home/naths/srcs/coriander/src/mutations.cpp:64: undefined reference to `llvm::ArrayType::get(llvm::Type*, unsigned long)'
/home/naths/srcs/coriander/src/mutations.cpp:65: undefined reference to `llvm::Module::getOrInsertGlobal(llvm::StringRef, llvm::Type*)'
/home/naths/srcs/coriander/src/mutations.cpp:66: undefined reference to `llvm::ConstantDataArray::get(llvm::LLVMContext&, llvm::ArrayRef<unsigned char>)'
CMakeFiles/patch_hostside.dir/src/mutations.cpp.o: In function `llvm::Module::getNamedGlobal(llvm::StringRef)':
/usr/local/include/llvm/IR/Module.h:354: undefined reference to `llvm::Module::getGlobalVariable(llvm::StringRef, bool)'
CMakeFiles/patch_hostside.dir/src/mutations.cpp.o: In function `addGlobalVariable(llvm::Module*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)':
/home/naths/srcs/coriander/src/mutations.cpp:68: undefined reference to `llvm::GlobalVariable::setInitializer(llvm::Constant*)'
CMakeFiles/patch_hostside.dir/src/mutations.cpp.o: In function `llvm::Module::getNamedGlobal(llvm::StringRef)':
/usr/local/include/llvm/IR/Module.h:354: undefined reference to `llvm::Module::getGlobalVariable(llvm::StringRef, bool)'
CMakeFiles/patch_hostside.dir/src/mutations.cpp.o: In function `addStringInstr(llvm::Module*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)':
/home/naths/srcs/coriander/src/mutations.cpp:85: undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/home/naths/srcs/coriander/src/mutations.cpp:85: undefined reference to `llvm::ArrayType::get(llvm::Type*, unsigned long)'
/home/naths/srcs/coriander/src/mutations.cpp:87: undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/home/naths/srcs/coriander/src/mutations.cpp:87: undefined reference to `llvm::ConstantInt::getSigned(llvm::IntegerType*, long)'
/home/naths/srcs/coriander/src/mutations.cpp:88: undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/home/naths/srcs/coriander/src/mutations.cpp:88: undefined reference to `llvm::ConstantInt::getSigned(llvm::IntegerType*, long)'
CMakeFiles/patch_hostside.dir/src/mutations.cpp.o: In function `llvm::GetElementPtrInst::CreateInBounds(llvm::Type*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::Twine const&, llvm::Instruction*)':
/usr/local/include/llvm/IR/Instructions.h:879: undefined reference to `llvm::GetElementPtrInst::setIsInBounds(bool)'
CMakeFiles/patch_hostside.dir/src/mutations.cpp.o: In function `llvm::Module::getNamedGlobal(llvm::StringRef)':
/usr/local/include/llvm/IR/Module.h:354: undefined reference to `llvm::Module::getGlobalVariable(llvm::StringRef, bool)'
CMakeFiles/patch_hostside.dir/src/mutations.cpp.o: In function `addStringInstrExistingGlobal(llvm::Module*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)':
/home/naths/srcs/coriander/src/mutations.cpp:103: undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/home/naths/srcs/coriander/src/mutations.cpp:103: undefined reference to `llvm::ArrayType::get(llvm::Type*, unsigned long)'
/home/naths/srcs/coriander/src/mutations.cpp:112: undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/home/naths/srcs/coriander/src/mutations.cpp:112: undefined reference to `llvm::ConstantInt::getSigned(llvm::IntegerType*, long)'
/home/naths/srcs/coriander/src/mutations.cpp:113: undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/home/naths/srcs/coriander/src/mutations.cpp:113: undefined reference to `llvm::ConstantInt::getSigned(llvm::IntegerType*, long)'
CMakeFiles/patch_hostside.dir/src/mutations.cpp.o: In function `llvm::GetElementPtrInst::CreateInBounds(llvm::Type*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::Twine const&, llvm::Instruction*)':
/usr/local/include/llvm/IR/Instructions.h:879: undefined reference to `llvm::GetElementPtrInst::setIsInBounds(bool)'
CMakeFiles/patch_hostside.dir/src/mutations.cpp.o: In function `createInt32Constant(llvm::LLVMContext*, int)':
/home/naths/srcs/coriander/src/mutations.cpp:123: undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/home/naths/srcs/coriander/src/mutations.cpp:123: undefined reference to `llvm::ConstantInt::getSigned(llvm::IntegerType*, long)'
CMakeFiles/patch_hostside.dir/src/mutations.cpp.o: In function `updateAddressSpace(llvm::Value*, int)':
/home/naths/srcs/coriander/src/mutations.cpp:131: undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/home/naths/srcs/coriander/src/mutations.cpp:131: undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
CMakeFiles/patch_hostside.dir/src/readIR.cpp.o: In function `getName(llvm::StructType*)':
/home/naths/srcs/coriander/src/readIR.cpp:45: undefined reference to `llvm::StructType::getName() const'
/home/naths/srcs/coriander/src/readIR.cpp:42: undefined reference to `llvm::Type::dump() const'
CMakeFiles/patch_hostside.dir/src/readIR.cpp.o: In function `getName(llvm::Function*)':
/home/naths/srcs/coriander/src/readIR.cpp:53: undefined reference to `llvm::Value::getName() const'
/home/naths/srcs/coriander/src/readIR.cpp:50: undefined reference to `llvm::Value::dump() const'
CMakeFiles/patch_hostside.dir/src/readIR.cpp.o: In function `getName(llvm::Value*)':
/home/naths/srcs/coriander/src/readIR.cpp:61: undefined reference to `llvm::Value::getName() const'
/home/naths/srcs/coriander/src/readIR.cpp:58: undefined reference to `llvm::Value::dump() const'
CMakeFiles/patch_hostside.dir/src/readIR.cpp.o: In function `dumpFloatConstant(bool, llvm::ConstantFP*)':
/home/naths/srcs/coriander/src/readIR.cpp:81: undefined reference to `llvm::APFloat::convertToDouble() const'
/home/naths/srcs/coriander/src/readIR.cpp:76: undefined reference to `llvm::APFloat::convertToFloat() const'
CMakeFiles/patch_hostside.dir/src/readIR.cpp.o: In function `readFloatConstant(llvm::Value*)':
/home/naths/srcs/coriander/src/readIR.cpp:129: undefined reference to `llvm::APFloat::convertToFloat() const'
/home/naths/srcs/coriander/src/readIR.cpp:132: undefined reference to `llvm::APFloat::convertToDouble() const'
/home/naths/srcs/coriander/src/readIR.cpp:129: undefined reference to `llvm::APFloat::convertToFloat() const'
/home/naths/srcs/coriander/src/readIR.cpp:132: undefined reference to `llvm::APFloat::convertToDouble() const'
CMakeFiles/patch_hostside.dir/src/type_dumper.cpp.o: In function `cocl::TypeDumper::dumpType(llvm::Type*, bool)':
/home/naths/srcs/coriander/src/type_dumper.cpp:236: undefined reference to `llvm::outs()'
CMakeFiles/patch_hostside.dir/src/type_dumper.cpp.o: In function `llvm::raw_ostream::operator<<(llvm::StringRef)':
/usr/local/include/llvm/Support/raw_ostream.h:166: undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
CMakeFiles/patch_hostside.dir/src/type_dumper.cpp.o: In function `llvm::raw_ostream::operator<<(int)':
/usr/local/include/llvm/Support/raw_ostream.h:201: undefined reference to `llvm::raw_ostream::operator<<(long)'
CMakeFiles/patch_hostside.dir/src/type_dumper.cpp.o: In function `llvm::raw_ostream::operator<<(llvm::StringRef)':
/usr/local/include/llvm/Support/raw_ostream.h:166: undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
CMakeFiles/patch_hostside.dir/src/type_dumper.cpp.o: In function `cocl::TypeDumper::dumpType(llvm::Type*, bool)':
/home/naths/srcs/coriander/src/type_dumper.cpp:238: undefined reference to `llvm::Type::dump() const'
CMakeFiles/patch_hostside.dir/src/type_dumper.cpp.o: In function `cocl::TypeDumper::dumpIntegerType(llvm::IntegerType*)':
/home/naths/srcs/coriander/src/type_dumper.cpp:81: undefined reference to `llvm::Type::getPrimitiveSizeInBits() const'
/home/naths/srcs/coriander/src/type_dumper.cpp:93: undefined reference to `llvm::outs()'
CMakeFiles/patch_hostside.dir/src/type_dumper.cpp.o: In function `llvm::raw_ostream::operator<<(llvm::StringRef)':
/usr/local/include/llvm/Support/raw_ostream.h:166: undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
CMakeFiles/patch_hostside.dir/src/type_dumper.cpp.o: In function `cocl::TypeDumper::dumpIntegerType(llvm::IntegerType*)':
/home/naths/srcs/coriander/src/type_dumper.cpp:93: undefined reference to `llvm::Type::getPrimitiveSizeInBits() const'
CMakeFiles/patch_hostside.dir/src/type_dumper.cpp.o: In function `llvm::raw_ostream::operator<<(unsigned int)':
/usr/local/include/llvm/Support/raw_ostream.h:197: undefined reference to `llvm::raw_ostream::operator<<(unsigned long)'
CMakeFiles/patch_hostside.dir/src/type_dumper.cpp.o: In function `llvm::raw_ostream::operator<<(llvm::StringRef)':
/usr/local/include/llvm/Support/raw_ostream.h:166: undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
CMakeFiles/patch_hostside.dir/src/type_dumper.cpp.o: In function `cocl::TypeDumper::addStructToGlobalNames(llvm::StructType*)':
/home/naths/srcs/coriander/src/type_dumper.cpp:106: undefined reference to `llvm::StructType::getName() const'
/home/naths/srcs/coriander/src/type_dumper.cpp:137: undefined reference to `llvm::Type::dump() const'
CMakeFiles/patch_hostside.dir/src/type_dumper.cpp.o: In function `cocl::TypeDumper::dumpVectorType(llvm::VectorType*, bool)':
/home/naths/srcs/coriander/src/type_dumper.cpp:160: undefined reference to `llvm::Type::getPrimitiveSizeInBits() const'
/home/naths/srcs/coriander/src/type_dumper.cpp:162: undefined reference to `llvm::Type::dump() const'
CMakeFiles/patch_hostside.dir/src/GlobalNames.cpp.o: In function `cocl::GlobalNames::getName(llvm::Value*)':
/home/naths/srcs/coriander/src/GlobalNames.cpp:24: undefined reference to `llvm::Value::dump() const'
CMakeFiles/patch_hostside.dir/src/GlobalNames.cpp.o: In function `cocl::GlobalNames::getName(llvm::Type*)':
/home/naths/srcs/coriander/src/GlobalNames.cpp:88: undefined reference to `llvm::Type::dump() const'
clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation)
CMakeFiles/patch_hostside.dir/build.make:302: recipe for target 'patch_hostside' failed
make[2]: *** [patch_hostside] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/patch_hostside.dir/all' failed
make[1]: *** [CMakeFiles/patch_hostside.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment