italo souto figueiredo
2008-Jul-03 18:05 UTC
[LLVMdev] Error loading program 'hello.bc': Invalid bytecode signature: DEC04342 (Vers=0, Pos=4)
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>
Tanya M. Lattner
2008-Jul-03 19:04 UTC
[LLVMdev] Error loading program 'hello.bc': 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.If you are using svn, you should keep llvm and llvm-gcc both at the same rev number to be safe. For llvm-gcc 2.3, you should use llvm 2.3. You can't use llvm-gcc 2.3 with llvm svn TOT for example. What version of llvm and llvm-gcc are you using? -Tanya
italo souto figueiredo
2008-Jul-03 19:15 UTC
[LLVMdev] Error loading program 'hello.bc': Invalid bytecode signature: DEC04342 (Vers=0, Pos=4)
I am not using svn and llvm version is 2.3 and llvm-gcc is 4.2.1 2008/7/3 Tanya M. Lattner <tonic at nondot.org>:> > > 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. > > If you are using svn, you should keep llvm and llvm-gcc both at the same > rev number to be safe. For llvm-gcc 2.3, you should use llvm 2.3. You > can't use llvm-gcc 2.3 with llvm svn TOT for example. > > What version of llvm and llvm-gcc are you using? > > -Tanya > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080703/c942aaf9/attachment.html>
Possibly Parallel Threads
- [LLVMdev] Error loading program 'hello.bc': Invalid bytecode signature: DEC04342 (Vers=0, Pos=4)
- [LLVMdev] Error loading program 'hello.bc': Invalid bytecode signature: DEC04342 (Vers=0, Pos=4)
- [LLVMdev] Error loading program 'hello.bc': Invalid bytecode signature: DEC04342 (Vers=0, Pos=4)
- [LLVMdev] "deserialize primitive type 16 (vers=0, pos=15)" with Visual Studio
- [LLVMdev] "deserialize primitive type 16 (vers=0, pos=15)" with Visual Studio