[LLVMdev] Problems with new bytecode format
isanbard at gmail.com
Tue Dec 19 17:56:04 PST 2006
The format's changed since 1.9. You should download llvm-gcc4 source
and compile it yourself.
On 12/19/06, Roman Levenstein <romixlev at yahoo.com> wrote:
> 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
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev