Hi Konrad,
Yes, there has been an incompatibility change recently between LLVM and
VMKit. Please use revision 100087 of LLVM until I find a workaround.
Also, running on Snow Leopard is untested (VMKit does not have support for
GC on 64bits), but should work without a GC. You can also try to compile on
32bits.
Cheers,
Nicolas
On Fri, Apr 2, 2010 at 3:08 PM, Konrad Hinsen <konrad.hinsen at
fastmail.net>wrote:
> Hi everyone,
>
> I wanted to have a closer look at VMKit because I would like to play with
> modifications to a JVM. I followed the instructions at
>
> http://vmkit.llvm.org/get_started.html
>
> step by step and got everything compiled without much difficulty on my
> MacBook (running MacOS X 10.6.3). The only modification that I needed to
> make was to add -L/usr/X11R6/lib to LDFLAGS for compiling the GNU classpath
> library.
>
> However, any attempt at running Java code with j3 results in a crash:
>
> Assertion failed: (ctpIndex && "No constant pool index"),
function
> j3ResolveSpecialStub, file JavaRuntimeJIT.cpp, line 708.
>
> I don't have the slightest idea what I could do about this. Suggestions
are
> welcome!
>
> Konrad.
>
>
> _______________________________________________
> 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/20100402/fde16e4f/attachment.html>