Hello EveryOne,
I am building customized tools for ARM using a crosscomplier. I am
currently building a tool similar to lli but it only jits code. I
enabled jit when I was configuring LLVM. On linking my code with
help from llvm-config to the libraries I get this error:
Can't exec "which": No such file or directory at
llvm2/bin/llvm-config line 69.
Use of uninitialized value in scalar chomp at llvm2/bin/llvm-config line
70.
Use of uninitialized value in -e at llvm2/bin/llvm-config line 71.
/tmp/cc0b5iTo.o: In function `ForceCodegenLinking':
llvm2/include/llvm/CodeGen/LinkAllCodegenComponents.h:32: undefined
reference to `llvm::createDeadMachineInstructionElimPass()'
llvm2/include/llvm/CodeGen/LinkAllCodegenComponents.h:34: undefined
reference to `llvm::createSimpleRegisterAllocator()'
llvm2/include/llvm/CodeGen/LinkAllCodegenComponents.h:35: undefined
reference to `llvm::createLocalRegisterAllocator()'
llvm2/include/llvm/CodeGen/LinkAllCodegenComponents.h:36: undefined
reference to `llvm::createBigBlockRegisterAllocator()'
llvm2/include/llvm/CodeGen/LinkAllCodegenComponents.h:38: undefined
reference to `llvm::createPBQPRegisterAllocator()'
llvm2/include/llvm/CodeGen/LinkAllCodegenComponents.h:42: undefined
reference to `llvm::linkOcamlGC()'
llvm2/include/llvm/CodeGen/LinkAllCodegenComponents.h:43: undefined
reference to `llvm::linkShadowStackGC()'
/tmp/cc0b5iTo.o: In function `main':
VirementJit.cpp:110: undefined reference to
`llvm::sys::PrintStackTraceOnErrorSignal()'
VirementJit.cpp:122: undefined reference to
`llvm::getBitcodeModuleProvider(llvm::MemoryBuffer*,
std::basic_string,
std::allocator >*)'
/tmp/cc0b5iTo.o: In function `void
llvm::cl::opt_storage
true>::setValue,
std::allocator > >(std::basic_string
std::char_traits, std::allocator > const&)':
llvm2/include/llvm/Support/CommandLine.h:791: undefined reference
to `llvm::PluginLoader::operator=(std::basic_string
std::char_traits, std::allocator > const&)'
collect2: ld returned 1 exit status
What am I missing ?
Thanks
Hannibal
--
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20090616/94482caa/attachment.html>