OK, I know why you get that UnsatisfiedLinkError. You have made symlinks of GNU Classpath libraries with the .so suffix. Since you're on MacOS, you should do symlinks with the .dylib suffix (I notice that I'm not saying that on the webpage, I'll fix that right now).<div>
<br></div><div>I'm not sure what to do about that core__init function. I will try to create a bigger stack to see if that changes anything or if LLVM inifinite loops.</div><div><br></div><div>Cheers,</div><div>Nicolas<br>
<div><br></div><div><br></div><div><br><div class="gmail_quote">On Sat, Apr 10, 2010 at 9:09 PM, Konrad Hinsen <span dir="ltr"><<a href="mailto:konrad.hinsen@fastmail.net">konrad.hinsen@fastmail.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Nicolas,<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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.<br>
</blockquote>
<br></div>
It prints:<br>
<br>
Exception java/lang/UnsatisfiedLinkError while bootstraping VM<br>
<br>
That looks like a JNI issue.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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.<br>
</blockquote>
<br></div>
That's indeed a big one. It's the initialization of the standard library of a Lisp implementation.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I hate Java bytecode generators :)<br>
</blockquote>
<br></div>
I like them. They let me use all those nice Java libraries without having to program in Java :-)<br><font color="#888888">
<br>
Konrad.<br>
<br>
</font></blockquote></div><br></div></div>