Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Halide cpmpile CoreIR error #58

Open
joe0202 opened this issue Nov 12, 2019 · 0 comments
Open

Halide cpmpile CoreIR error #58

joe0202 opened this issue Nov 12, 2019 · 0 comments

Comments

@joe0202
Copy link

joe0202 commented Nov 12, 2019

I have installed Halide and CoreIR according to this tutorial.
I want to compile the "apps/hardware_benchmarks/apps/pointwise" application to get the CoreIR of this example application, and I use "make design" command to compile, but I got the following error info:
/home/linuxbrew/.linuxbrew/bin/ld: CodeGen_PTX_Dev.cpp:(.text+0x5f35): undefined reference to llvm::legacy::PassManager::~PassManager()'
/home/linuxbrew/.linuxbrew/bin/ld: CodeGen_PTX_Dev.cpp:(.text+0x5f41): undefined reference to llvm::legacy::FunctionPassManager::~FunctionPassManager()' /home/linuxbrew/.linuxbrew/bin/ld: CodeGen_PTX_Dev.cpp:(.text+0x5f48): undefined reference to vtable for llvm::raw_pwrite_stream'
/home/linuxbrew/.linuxbrew/bin/ld: CodeGen_PTX_Dev.cpp:(.text+0x5f5f): undefined reference to llvm::raw_ostream::~raw_ostream()' /home/linuxbrew/.linuxbrew/bin/ld: CodeGen_PTX_Dev.cpp:(.text+0x62c6): undefined reference to llvm::DataLayout::~DataLayout()'
/home/linuxbrew/.linuxbrew/bin/ld: ../../../../distrib/lib/libHalide.a(CodeGen_PTX_Dev.o): in function Halide::Internal::CodeGen_PTX_Dev::dump() [clone .localalias.208]': CodeGen_PTX_Dev.cpp:(.text+0xe9): undefined reference to llvm::Module::print(llvm::raw_ostream&, llvm::AssemblyAnnotationWriter*, bool, bool) const'
/home/linuxbrew/.linuxbrew/bin/ld: ../../../../distrib/lib/libHalide.a(CodeGen_PTX_Dev.o): in function _GLOBAL__sub_I_CodeGen_PTX_Dev.cpp': CodeGen_PTX_Dev.cpp:(.text.startup+0x40): undefined reference to LLVMLinkInMCJIT'
/home/linuxbrew/.linuxbrew/bin/ld: ../../../../distrib/lib/libHalide.a(CodeGen_PTX_Dev.o):(.data.rel+0x0): undefined reference to llvm::DisableABIBreakingChecks' collect2: error: ld returned 1 exit status make: *** [bin/pointwise.generator] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant