Displaying 1 result from an estimated 1 matches for "llvm_hkq01o".
2010 Jan 05
1
[LLVMdev] bug
....4.2/../../../../x86_64-unknown-linux-gnu/bin/ld:
warning: cannot find entry symbol mit-llvm-bc; defaulting to
00000000004003c0
llc: bitcode didn't read correctly.
Reason: Bitcode stream should be a multiple of 4 bytes in length
出现error,加-v选项,发现是clang -x c -emit-llvm-bc /home2/spark/a.c -o
/tmp/llvm_HKq01o/a.bc 时出现warning,单独执行这一步,生成.bc文件,再用lli执行就出现了error。
[spark at oxygen llvm]$ llvmc -clang ~/a.c -v
clang -x c -emit-llvm-bc /home2/spark/a.c -o /tmp/llvm_HKq01o/a.bc
/home2/yjhuang/tools/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.4.2/../../../../x86_64-unknown-linux-gnu/bin/ld:
warning: cannot find en...