[LLVMdev] VMKit assertion failure

Konrad Hinsen konrad.hinsen at fastmail.net
Sat Apr 10 12:09:19 PDT 2010

Hi Nicolas,

> I have added some diagnostic message when failing that early in the  
> bootstrap in the VM. Please svn up and let me know what it prints.

It prints:

	Exception java/lang/UnsatisfiedLinkError while bootstraping VM

That looks like a JNI issue.

> About the SIGSEGV you get with clojure.jar, I ran the code and got  
> the same error. After investigation, it turns out that the methods  
> you have in that .jar are quite big (50,000 bytecodes) and the  
> static initializer of the core__init class just crashes LLVM because  
> the stack of the thread is not big enough.

That's indeed a big one. It's the initialization of the standard  
library of a Lisp implementation.

> I hate Java bytecode generators :)

I like them. They let me use all those nice Java libraries without  
having to program in Java :-)


More information about the llvm-dev mailing list