Hi Jeff,<div><br></div><div>I have just updated vmkit to the new LLVM API for passing target options. VMKit trunk should now work again.</div><div><br></div><div>Nicolas<br><br><div class="gmail_quote">On Sat, Dec 17, 2011 at 8:25 AM, Jeff Slutter <span dir="ltr"><<a href="mailto:jeff@slutter.com">jeff@slutter.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello, I am using Ubuntu 11.10 64-bit. Following the instructions on the<br>
VMKit website I grabbed llvm, clang, and vmkit via svn (and GNU<br>
Classpath via the link of the page). Compilation of llvm, clang and<br>
classpath went fine. I had problems compiling vmkit, which seem to be<br>
related to a TargetOptions being required as a parameter when creating a<br>
TargetMachine in LLVM. This led to a couple other places in VMKit's code<br>
that tried to reference some LLVM global variables that no longer exist<br>
(I assume because they were moved into TargetOptions).<br>
<br>
I attempted to make some minor fixes to get by this and I did, but when<br>
it was building mmtk-vmkit.jar (I think that's what it is doing) I got<br>
an assertion while running the vmjc command in the Makefile:<br>
vmjc: JavaRuntimeJIT.cpp:469: void *j3ResolveSpecialStub(): Assertion<br>
`FI->Metadata != __null && "Wrong stack trace"' failed.<br>
<br>
So, either my "fixes" were bad, or I have another problem that I don't<br>
know how to solve :)<br>
<br>
Should I be grabbing a specific version of LLVM/Clang from SVN (instead<br>
of the head)?<br>
<br>
Thank you,<br>
Jeff<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</blockquote></div><br></div>