[LLVMdev] Problems with new bytecode format

Bill Wendling 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.

-bw

On 12/19/06, Roman Levenstein <romixlev at yahoo.com> wrote:
> Hi,
>
> 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?
>
> -Roman
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>



More information about the llvm-dev mailing list