Hi Nicolas,<br><br>I found a 32bit Lucid machine (but it'd be great if there was a working 64bit<br>version though). Everything was checked out this morning.  <br>I now am able to build vmkit with this configuration:<br>
<br>./configure --with-llvmsrc=/home/zoewolk/RESEARCH/llvm --with-llvmobj=/home/zoewolk/RESEARCH/llvm --with-gnu-classpath-glibj=/home/zoewolk/RESEARCH/classpath-0.97.2/lib --with-gnu-classpath-libs=/home/zoewolk/RESEARCH/classpath-0.97.2/lib<br>
<br>j3 Hello works<br><br>However, when I run this, I get the segfault below.<br>I compiled Hello.java with <br>$> javac -version<br>javac 1.6.0_18<br><br>My JDK is openjdk-6-jdk, 6b18-1.8-0ubuntu1<br><br>thanks<br><br>
zoewolk@wizards:~/RESEARCH/vmkit$ gdb vmjc<br>GNU gdb (GDB) 7.1-ubuntu<br>Copyright (C) 2010 Free Software Foundation, Inc.<br>License GPLv3+: GNU GPL version 3 or later <<a href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a>><br>
This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law.  Type "show copying"<br>and "show warranty" for details.<br>This GDB was configured as "i486-linux-gnu".<br>
For bug reporting instructions, please see:<br><<a href="http://www.gnu.org/software/gdb/bugs/">http://www.gnu.org/software/gdb/bugs/</a>>...<br>Reading symbols from /home/zoewolk/RESEARCH/vmkit/Release+Asserts/bin/vmjc...done.<br>
(gdb) run Hello<br>Starting program: /home/zoewolk/RESEARCH/vmkit/Release+Asserts/bin/vmjc Hello<br>[Thread debugging using libthread_db enabled]<br>[New Thread 0x200ffb70 (LWP 12112)]<br><br>Program received signal SIGSEGV, Segmentation fault.<br>
[Switching to Thread 0x200ffb70 (LWP 12112)]<br>0x08947678 in llvm::FunctionPassManager::run(llvm::Function&) ()<br>(gdb) where<br>#0  0x08947678 in llvm::FunctionPassManager::run(llvm::Function&) ()<br>#1  0x08c73730 in ?? ()<br>
#2  0x081b9e0c in j3::JavaLLVMCompiler::parseFunction(j3::JavaMethod*) ()<br>#3  0x081a3d68 in j3::JavaAOTCompiler::compileClass(j3::Class*) ()<br>#4  0x081af82c in mainCompilerStart(j3::JavaThread*) ()<br>#5  0x082281ae in mvm::Thread::internalThreadStart(mvm::Thread*) ()<br>
#6  0x0013396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0<br>#7  0x00368a4e in clone () from /lib/tls/i686/cmov/libc.so.6<br><br>Hello.java:<br>public class Hello {<br>    public static void main(String args[]) {<br>
        System.err.println("Hello there");<br>    }<br>}<br><br>