[LLVMdev] Problems with new bytecode format

Roman Levenstein romixlev at yahoo.com
Tue Dec 19 17:32:18 PST 2006


I just updated my LLVM sources from CVS/HEAD and rebuilt them. And I
downloaded the GCC4 frontend from the 1.9 release. 

Now I cannot compile anything, since GCC frontend seems to produce BC
files that cannot be read by llvm-dis, llc and other utils.

llvm-dis shows a following message:
Bytecode formats < 7 are not longer supported. Use llvm-upgrade.
(Vers=6, Pos=9)

But since the new llvm-dis cannot disassemble, I cannot use
llvm-upgrade, since I need a way to produce an *.ll file.

What's wrong? I thought that LLVM 1.9 GCC4 frontend produces BC files
in a new format already? Or do I need to rebuild the front-end from the
CVS? May be there are pre-built images available?


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

More information about the llvm-dev mailing list