[LLVMdev] Issues with HelloWorld on VMKit

Matteo Migliavacca migliava at doc.ic.ac.uk
Mon Aug 24 13:23:34 PDT 2009


Hi Nicholas, and thanks for the prompt reply...

On 20 Aug 2009, at 15:28, Nicolas Geoffray wrote:

> Matteo Migliavacca wrote:
>> HI I tried to follow the procedure at http://vmkit.llvm.org/get_started.html
>
> OK. Which cpu/os target?

It was x86/linux...

>> Builds of LLVM and classpath went fine (after fixing a few dependency
>> problems).
>>
>> After compiling a simple HelloWorld with javac I got
>>
>> ../vmkit/Debug/bin/jnjvm HelloWorld
>>
>> hang for a while and then spits out a
>>
>
> It's not hanging, it's compiling :) jnjvm includes all optimization
> passes from llvm. And the Debug mode takes a bunch of time to compile
> initial Java methods.

Ok good! How to I get the slow-build-fast-run build ? Should I compile
llvm

>> terminate called without an active exception
>> Abort
> OK, so usually I get that with classpath shared libraries
> misinstalled.
> Have you done the links from procedure no 2 on the "get started" page?

Ops, that was it, thanks! (Sometimes I wish humans could have
instruction pointers....)

>> Any hint on how to proceed would be greatly appreciated.

> Let me know how that helped.

I was wondering the easiest way to play a bit with  Isolation
features, but I am still missing a great deal of understanding of the
whole project. Is Isolation tied to the OSGi framework? I see three
compile options single/isolate/isolate-sharing/service what these do?
Is I-JVM supposed to run off-the shelf Felix or Equinox?

Best Regards,

Matteo Migliavacca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090824/729f775c/attachment.html>


More information about the llvm-dev mailing list