[LLVMdev] Unable to build vmkit
Nicolas Geoffray
nicolas.geoffray at gmail.com
Sun Dec 25 10:30:47 PST 2011
Hi Jeff,
I have just updated vmkit to the new LLVM API for passing target options.
VMKit trunk should now work again.
Nicolas
On Sat, Dec 17, 2011 at 8:25 AM, Jeff Slutter <jeff at slutter.com> wrote:
> Hello, I am using Ubuntu 11.10 64-bit. Following the instructions on the
> VMKit website I grabbed llvm, clang, and vmkit via svn (and GNU
> Classpath via the link of the page). Compilation of llvm, clang and
> classpath went fine. I had problems compiling vmkit, which seem to be
> related to a TargetOptions being required as a parameter when creating a
> TargetMachine in LLVM. This led to a couple other places in VMKit's code
> that tried to reference some LLVM global variables that no longer exist
> (I assume because they were moved into TargetOptions).
>
> I attempted to make some minor fixes to get by this and I did, but when
> it was building mmtk-vmkit.jar (I think that's what it is doing) I got
> an assertion while running the vmjc command in the Makefile:
> vmjc: JavaRuntimeJIT.cpp:469: void *j3ResolveSpecialStub(): Assertion
> `FI->Metadata != __null && "Wrong stack trace"' failed.
>
> So, either my "fixes" were bad, or I have another problem that I don't
> know how to solve :)
>
> Should I be grabbing a specific version of LLVM/Clang from SVN (instead
> of the head)?
>
> Thank you,
> Jeff
> _______________________________________________
> 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/20111225/975379d3/attachment.html>
More information about the llvm-dev
mailing list