[LLVMdev] VMKIT problem

Nicolas Geoffray nicolas.geoffray at gmail.com
Fri Nov 20 15:10:53 PST 2009


Have you created the symbolic links to GNU Classpath .so? ie step 2 of 
http://vmkit.llvm.org/get_started.html?

Nicolas

Nataraj Sundar wrote:
> Thanks Nicolas, Gaƫl
> 
> I followed your instructions and installed compatible versions of llvm, 
> vmkit and GNU Classpath also I unzipped glibj.zip and pointed GNU 
> Classpath lib variable to the the unzipped files during vmkit configure. 
> That error has vanished.
> 
> Now when I run jnjvm or vmkit in Release/bin on any file I'm getting a 
> new error :
> 
> " terminate called without an active exception
>  Aborted "
> 
> Any help is much appreciated,
> 
> -Nataraj.
> 
> 
> 
> On Fri, Nov 20, 2009 at 2:40 PM, Nicolas Geoffray 
> <nicolas.geoffray at gmail.com <mailto:nicolas.geoffray at gmail.com>> wrote:
> 
>     Hi Nataraj,
> 
>     You're using incompatible versions of vmkit and GNU Classpath.
>     First, you should use vmkit 0.26 and llvm 2.6 (at least, -- use
>     trunk if there are problems). Second, you should use GNU Classpath
>     0.97.2.
> 
>     Good luck!
>     Nicolas
> 
>     Nataraj Sundar wrote:
> 
>         Hi Nicolas,
> 
>         I'm running it on Kubuntu.
> 
>         Now that you mention it I did have a problem during vmkit setup.
>         After running the ./configure file with all the options I ran
>         the make file it was giving this error:
> 
>         make[3]: ***
>         [/.automount/root/exports/transient/nataraj/Project/vmkit-0.25/lib/Mvm/Runtime/Release/EscapeAnalysis.o]
>         Error 1
>         "
>         So I went into Makefile.common and modified GNU CLASSPATH FLAGS
>         variable, I removed  "//../"before "include"(CLASSPATH_FLAGS =
>         -I/transient/nataraj/CompilerD/classpath-0.98/*_//../i_nclude*/
>         -I/usr/include/classpath)  and made it
> 
>         "/classpath-0.98/include" After that the make file ran smoothly.
> 
>         Looks like that was a mistake, What can I do to overcome the error?
> 
>         Thanks,
> 
>         -Nataraj
> 
> 
> 
> 
> 
>         On Fri, Nov 20, 2009 at 8:56 AM, Nicolas Geoffray
>         <nicolas.geoffray at gmail.com <mailto:nicolas.geoffray at gmail.com>
>         <mailto:nicolas.geoffray at gmail.com
>         <mailto:nicolas.geoffray at gmail.com>>> wrote:
>          > Hi Nataraj,
>          >
>          > Which platform are you running on? Did you follow all the
>         steps on
>          > vmkit.llvm.org <http://vmkit.llvm.org>
>         <http://vmkit.llvm.org> getting started page, especially for GNU
>         Classpath?
> 
>          >
>          > Thanks!
>          > Nicolas
>          >
>          > Nataraj Sundar wrote:
>          >>
>          >> Hi,
>          >>
>          >> I intent to use VMKIT to convert java byte codes to LLVM IR
>          >>
>          >> I have installed VMKIT 0.26, on running  jnjvm (as ./jnjvm
>          >> Hello.class) in Release/bin I get the same error
>         irrespective of class
>          >> content :
>          >>
>          >> jnjvm: JavaClass.cpp:469: jnjvm::JavaObject*
>          >> jnjvm::Class::doNew(jnjvm::Jnjvm*): Assertion
>         `(this->isInitializing()
>          >> || classLoader->getCompiler()->isStaticCompiling()) &&
>         "Uninitialized
>          >> class when allocating."' failed.
>          >> Aborted
>          >>
>          >> Am I doing something wrong?Any help regading how to use the
>         VMKIT
>          >> tools to convert Java bytecodes to LLVM IR will be helpful
>          >>
>          >> Thanks,
>          >>
>          >> -Nataraj.
>          >> _______________________________________________
>          >> LLVM Developers mailing list
>          >> LLVMdev at cs.uiuc.edu <mailto:LLVMdev at cs.uiuc.edu>
>         <mailto:LLVMdev at cs.uiuc.edu <mailto:LLVMdev at cs.uiuc.edu>>      
>           http://llvm.cs.uiuc.edu
> 
>          >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>          >
>          >
> 
> 
> 




More information about the llvm-dev mailing list