similar to: [LLVMdev] Error using llcj

Displaying 20 results from an estimated 400 matches similar to: "[LLVMdev] Error using llcj"

2012 Nov 06
0
[LLVMdev] vmjc + llc questions
Hi, I've been trying to compile a simple helloworld Java program to native code, and I've been having trouble. I'm tripping an assertion that I don't quite understand yet. I'm just curious if anybody can point me in the right direction. $ javac helloworld.java $ vmjc -o helloworld.bc helloworld.class $ llc -load=<...>/Release+Asserts/lib/StaticGCPrinter.so helloworld.bc
2014 Sep 09
2
[LLVMdev] VMKit is retired (but you can help if you want!)
Oups, sorry for the mistake, llcj (not llc:)) is not more maintained! Gaël Le 10 sept. 2014 00:27, "Gaël Thomas" <gael.thomas00 at gmail.com> a écrit : > Hi Brian, > > So, I confirm, llc is not more maintained. And using vmjc is probably > the good starting point to translate Java bytecode into llvm bitcode. > > However, I think that your hack (changing the way
2012 Oct 22
1
[LLVMdev] VMkit compilation error
Hi folks, I'm trying to compile VMKit (and eventually J3) with LLVM/Clang head. There seem to be some recent commits (starting with roughly 165505) that break the VMKit compile with the following errors: $ make ENABLE_OPTIMIZED=1 llvm[0]: Constructing LLVMBuild project information. make[1]: Entering directory `.../vmkit/lib/vmkit/StaticGCPass' llvm[1]: Compiling StaticGCPass.cpp for
2012 Oct 20
1
[LLVMdev] VMKit: Problem compiling vmkit
Hi, I'm trying to compile vmkit but am running into some problems. I followed the instructions at http://vmkit.llvm.org/get_started.html and checked out llvm and clang from svn, compiled them no problem and the same with classpath 0.97.2. I then checked out vmkit from svn and tried to build it. All these are located at /home/callum/vmkit/{llvm,classpath-0.97.2,vmkit}. I used this to
2014 Sep 09
2
[LLVMdev] VMKit is retired (but you can help if you want!)
Hello again Gaël, (et al) More on rekindling work on VMKit! Thank you for your interactions thus far on- and off-list. As you suggested in your VMKit-retirement email (to which I'm attempting to respond), I'm interested in producing a Java-to-LLVM compiler out of VMKit. I'd like to take you up on your offer to help understand the architecture. If I can get the a Java-to-LLVM
2012 Jun 27
0
[LLVMdev] Error using llcj
When i tried to compile hello.class using llcj . I am currently using llvm-3.1 , gnu classpath-0.97.2 and vmkit I am getting the following error shyam at shyam:~$ llcj -S hello.classllc: Unknown command line argument '-f'. Try: '/home/shyam/llvmbuild/Release+Debug+Asserts/bin/llc -help'llc: Did you mean '-O'? can anyone help me with this --------------
2012 Jul 09
1
[LLVMdev] Error generating a executable using llcj
I installed vmkit-0.29 and tried to generate a executable using llcj I generated the libvmjc and updated the library path export LD_LIBRARY_PATH=$(VMKIT_OBJ)/Release/lib llcj --main=hello hello.class -o hello but i am getting the following error /home/shyam/classpath-0.97.2/lib/vmkit/Release+Debug/lib/libvmjc.a(glibj.zip.o): In function
2011 Nov 23
0
[LLVMdev] GC plugin: Not add (postcall) safe point after tail-call
Hi all, I have implemented a GC plugin and i want to exclude Tail-call instructions from being considered as Safe Points. For that reason I have overwritten the "findCustomSafePoints" function with something like that: bool ErlangGC::findCustomSafePoints(GCFunctionInfo &FI, MachineFunction &MF) { for (MachineFunction::iterator BBI = MF.begin(),
2013 Apr 10
1
[LLVMdev] LLCJ - VMKIT
Is llcj in working order? I read a while back that it had rotted. How can I help if so? I'd like to get it in working order and will pitch in my time to help get it back to a good state. -- Thanks, Ryan Fairchild -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130409/c9832b41/attachment.html>
2009 Dec 08
0
[LLVMdev] running passes from LLCJ
Hi, How can I run passes I've written or other standard passes through LLCJ? Or do I have to do it manually? Michael
2012 Jun 29
0
[LLVMdev] llcj : Error
When i tried to compile hello.class to executable the llcj --main=hello hello.class -o hello i got the following error /usr/bin/ld: error: cannot find -lAllocator/usr/bin/ld: error: cannot find -lGCMmap2/usr/bin/ld: error: cannot find -lvmjc/usr/bin/ld: error: cannot find -lLLVMSystem Where can i get the libraries related to Allocated , GCMmap2 , vmjc and LLVMSystem --------------
2014 Mar 07
2
[LLVMdev] Running VMKit's AOT Java Compiler
Hi, I'm new to VMKit and I'm trying to use its AOT Java compiler but I'm immediately getting an error message which I don't understand. Everything was compiler as suggested in the Getting Started tutorial, using GNU Classpath. I try to run: llcj ../../tools/trainer/Release+Asserts/HelloWorld.class and get the following output: Can not materiale a function in AOT mode.0
2009 Dec 08
0
[LLVMdev] How to run vmjc created .bc files?
Hi Michael, On Tue, Dec 8, 2009 at 6:26 PM, Michael Wu <mmwu at princeton.edu> wrote: > Hi, > > Thanks a lot for the help! I am getting some errors though: > > I am on a 32 bit chroot on a x86_64 system. Thus llc guesses the wrong > architecture from the module bitcode and spits out x86_64 assembly. I fixed > this by adding "-march=x86" to the llc options
2009 Dec 09
2
[LLVMdev] How to run vmjc created .bc files?
Hi, I've managed to compile it the class down to a native executable. However, the executable runs for a while then spits out: terminate called without an active exception Aborted and dies. The program never gets to the normal output. Here is a stack trace from gdb: #0 0xf3f6baa6 in raise () from /lib/libc.so.6 #1 0xf3f6d3a8 in abort () from /lib/libc.so.6 #2 0xf41918f8 in
2009 Dec 08
2
[LLVMdev] How to run vmjc created .bc files?
Hi, Thanks a lot for the help! I am getting some errors though: I am on a 32 bit chroot on a x86_64 system. Thus llc guesses the wrong architecture from the module bitcode and spits out x86_64 assembly. I fixed this by adding "-march=x86" to the llc options in llcj. gcc doesn't know what -lgc is. I'm guessing it is the garbage collection library. How can I get it or
2009 Dec 08
0
[LLVMdev] How to run vmjc created .bc files?
Hi Michael, Currently, you can run vmjc created .bc files by statically linking them with all the .o needed files. For that, you can use the llcj tool, which works more or less like GCC's gcj tool. Note that you also need to create the libvmjc.so file, which contains the standard library in native form. Do a make in the tools/vmjc/libvmjc directory. Once this is done, update the
2010 Jul 20
0
[LLVMdev] Fwd: Building VMKit
On Tue, Jul 20, 2010 at 6:36 PM, Joshua Warner <joshuawarner32 at gmail.com>wrote: > Sure, that's one major strength of LLVM: we could decide on a runtime >> function (CallVirtualMethod) that will get lowered depending on the >> underlying VM. I don't see any difficulties in accomplishing this. >> > > Is it common practice to emit function calls that are
2013 Feb 12
0
[LLVMdev] [vmkit] Errors compiling vmkt
Hi Chris, For the moment you can install VMKit following these instructions: http://vmkit2.gforge.inria.fr/start.php VMKit's web page and repository will be updated soon. Harris Bakiras Le 12/02/2013 10:30, chris.gray at kiffer.be a écrit : > Hi all, > > I hope this is the correct place to post such questions? I am building > vmkit for the first time, following the
2010 Jul 20
0
[LLVMdev] Fwd: Building VMKit
Hi Joshua, If you can get a running 32bit system, I'd suggest you do so, as you'll get up to speed right away. I can't test VMKit on a 64bits machine, and I have been aware that there are some compilation/execution problems. Besides, the current GCs of VMKit do not work on 64bits (neither MMTk nor GCMmap2). Nicolas On Tue, Jul 20, 2010 at 3:56 PM, Joshua Warner <joshuawarner32 at
2012 Jun 21
1
[LLVMdev] Error: unsupported GC: vmkit
Hi,I have recently installed llvm-3.1 , gnu classpath-0.97.2 and vmkit I compiled a simple java file "hello.java" to hello.class Then converted hello.class to llvm bytecode(hello.bc) using vmjc from vmkitwhen i tried to run "hello.bc" using lli I am getting the following error shyam at shyam:~$ cat hello.javaimport java.io.*; class hello { public static void main(String[]