[LLVMdev] Clang "warning: cannot find entry symbol mit-llvm-bc"
lism03 at gmail.com
Mon Jan 4 20:53:09 PST 2010
I am new to Clang. There is a warning when I use clang
$llvmc -clang test.c
"./bin/ld: warning: cannot find entry symbol mit-llvm-bc; defaulting to
llc: bitcode didn't read correctly."
When I use lli to execute the test.bc as
$lli test. bc
The error message is
"lli: error loading program 'test.bc': Bitcode stream should be a multiple
of 4 bytes in length"
Anyone give help on it?
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev