<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style>
<div dir="ltr">Hi,<div>I have recently installed llvm-3.1 , gnu classpath-0.97.2 and vmkit </div><div>I compiled a simple java file "<b>hello.java</b>" to hello.class </div><div>Then converted hello.class<span style="font-size:10pt"> to llvm bytecode(<b>hello.bc</b>) using vmjc from vmkit</span></div><div>when i tried to run "<b>hello.bc</b>" using <b>lli</b></div><div><b><br></b></div><div><span style="font-size:10pt">I am getting the following error </span></div><div><br></div><div><span style="font-size:10pt">shyam@shyam:~$ cat <b>hello.java</b></span></div><div><div>import java.io.*; </div><div><br></div><div>class hello {</div><div><br></div><div> public static void main(String[] args) </div><div> { </div><div><span class="ecxApple-tab-span" style="white-space:pre"> </span> System.out.println("Hello world\n");</div><div> }</div><div>}</div><div>shyam@shyam:~$ <b>javac</b> hello.java -o hello.class</div><div>shyam@shyam:~$<b> vmjc</b> hello.class -o hello.bc</div><div><span style="font-size:10pt">shyam@shyam:~$ <b>lli</b> hello.bc</span></div><div><span style="font-size:10pt"><br></span></div><div><span style="font-size:10pt">unsupported GC: vmkit</span></div><div>UNREACHABLE executed at /home/shyam/llvm-3.1.src/lib/CodeGen/GCMetadata.cpp:99!</div><div>0 lli 0x089a5778</div><div>Stack dump:</div><div>0.<span class="ecxApple-tab-span" style="white-space:pre"> </span>Program arguments: lli hello.ll </div><div>Aborted</div><div><br></div></div><div>Please help me out </div><div><br></div></div>
</div></body>
</html>