[LLVMdev] Error loading program 'hello.bc': Invalid bytecode signature: DEC04342 (Vers=0, Pos=4)
italo souto figueiredo
soutoitalo at gmail.com
Thu Jul 3 11:05:45 PDT 2008
Hello everybody,
So I am having some problems with llvm. When I've tried a lot of
times to run and re-install the llvm, but the same error appears, so:
esbox at embedded2i:~/llvm/projects/teste$ llvm-gcc hello.c -o hello
esbox at embedded2i:~/llvm/projects/teste$ ls
hello hello.c
esbox at embedded2i:~/llvm/projects/teste$ ./hello
Hello World
esbox at embedded2i:~/llvm/projects/teste$ llvm-gcc -O3 -emit-llvm hello.c -c
-o hello.bc
esbox at embedded2i:~/llvm/projects/teste$ ls
hello hello.bc hello.c
esbox at embedded2i:~/llvm/projects/teste$ lli hello.bc
Error loading program 'hello.bc': Invalid bytecode signature: DEC04342
(Vers=0, Pos=4)
esbox at embedded2i:~/llvm/projects/teste$ llvm-dis < hello.bc[
bash: hello.bc[: No such file or directory
esbox at embedded2i:~/llvm/projects/teste$ llvm-dis < hello.bc
llvm-dis: Invalid bytecode signature: DEC04342 (Vers=0, Pos=4)
Some weeks ago i talked to someone at #LLVM and he told me that versions of
llvm and gcc aren't sycronized. But i don't know how to do this.
some helps???
thanks
italo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080703/287e43ca/attachment.html>
More information about the llvm-dev
mailing list