Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] How to run vmjc created .bc files?"
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
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
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 Jun 15
1
[LLVMdev] VmKit Question.
Hi,
I compiled VmKit and got it running, but do not know how it is possible to
emit llvm-bitcode fram .java code. Would you please help me?
Thanks,
::Saman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090615/79240d35/attachment.html>
2010 Sep 28
1
[LLVMdev] [VMKit-2.7] libvmjc.so building problem
I followed instructions in this page to setup my environment:
http://vmkit.llvm.org/get_started.html
My llvm, llvm-gcc, and vmkit are not SVN version.
All of them are downloaded from this page:
http://llvm.org/releases/download.html#2.7
GNU classpath is downloaded from:
ftp://ftp.gnu.org/gnu/classpath/classpath-0.97.2.tar.gz
PNet & PNetlib are not used because I just want the JVM.
I
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
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
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
2009 Aug 13
1
[LLVMdev] vmkit and klee
Hi,
I am trying to evaluate how complex would be to modify KLEE ( http://klee.llvm.org/
) so that it can run LLVM bitcode compiled from Java code obtained
with vmjc (from the VMKIT project). Your feedback will be very
appreciated.
I am familiar with KLEE but I would like to know more about VMKIT, so
please point me to the right docs/source code if appropriate.
After a quick look over
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
2010 Jul 20
2
[LLVMdev] Fwd: Building VMKit
On Tue, Jul 20, 2010 at 9:52 AM, nicolas geoffray <
nicolas.geoffray at gmail.com> wrote:
> On Tue, Jul 20, 2010 at 5:35 PM, Joshua Warner <joshuawarner32 at gmail.com>wrote:
>
>> Hi Nicolas,
>>
>> I plan on using the Avian GC (which is a precise, generational
>> collector).
>>
>
> OK - Great!
>
>
>> Eventually, I'd like to
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
2010 Jul 19
2
[LLVMdev] VMkit AOT build problem: llc crushed on glibj compilation to native(.s) file
Hi,
Trying to build AOT version of vmkit java,
building for that classpath glibj.zip:
$ cd vmkit/tools/vmjc/libvmjc
$ make ENABLE_OPTIMIZED=1 DISABLE_ASSERTIONS=1 REQUIRES_FRAME_POINTER=1
has eventually, after 50 minutes, brought:
<<<
llvm[0]: Compiling glibj.zip to llvm
llvm[0]: Optimizing glibj.zip
llvm[0]: Compiling glibj.zip.bc to native
UNREACHABLE executed!
0 llc
2009 Oct 28
1
[LLVMdev] vmjc and CallGraphSCCPass
How can I vmjc to run CallGraphSCCPasses? I wrote a test pass that does
nothing, and all vmjc says is:
vmjc: PassManager.cpp:1604: virtual void
llvm::ModulePass::assignPassManager(llvm::PMStack&,
llvm::PassManagerType): Assertion `!PMS.empty() && "Unable to find
appropriate Pass Manager"' failed.
0 vmjc 0x08a6bfd8
Aborted
Running even a built in pass like prune-eh
2010 Jun 29
1
[LLVMdev] problems building vmkit
Hi All,
Thanks Nicolas for pointing out that I needed --enable-targets=x86,cpp for
my
llvm config to get vmkit to build. The process gets a lot farther but fails
in
different places depending upon the vmkit config (Can you please see the
three
case below?).
My machine is a intel core i7 running ubuntu karmic and gcc 4.4.1.
What arch/OS/distro/gcc do you all have VMKit working on?
thanks for
2010 Aug 02
0
[LLVMdev] VMkit AOT build problem: llc crushed on glibj compilation to native(.s) file
On Mon, Jul 19, 2010 at 7:40 PM, Minas Abrahamyan <minas.subs at gmail.com> wrote:
> Trying to build AOT version of vmkit java,
> building for that classpath glibj.zip:
>
> $ cd vmkit/tools/vmjc/libvmjc
> $ make ENABLE_OPTIMIZED=1 DISABLE_ASSERTIONS=1 REQUIRES_FRAME_POINTER=1
>
> has eventually, after 50 minutes, brought:
> <<<
> llvm[0]: Compiling
2010 Aug 03
2
[LLVMdev] VMkit AOT build problem: llc crushed on glibj compilation to native(.s) file
Hi Allan,
Thanks for the fix! So is this a bug in LLVM? Can you reduce that to a small
test case and file a bug?
Nicolas
2010/8/2 Allan Tong <actong88 at gmail.com>
> On Mon, Jul 19, 2010 at 7:40 PM, Minas Abrahamyan <minas.subs at gmail.com>
> wrote:
> > Trying to build AOT version of vmkit java,
> > building for that classpath glibj.zip:
> >
> > $ cd
2011 Dec 17
2
[LLVMdev] Unable to build vmkit
Hello, I am using Ubuntu 11.10 64-bit. Following the instructions on the
VMKit website I grabbed llvm, clang, and vmkit via svn (and GNU
Classpath via the link of the page). Compilation of llvm, clang and
classpath went fine. I had problems compiling vmkit, which seem to be
related to a TargetOptions being required as a parameter when creating a
TargetMachine in LLVM. This led to a couple other
2009 Oct 17
3
[LLVMdev] Build errors for vmkit
Hi,
I can't seem to get VMKit to compile correctly. I'm on a 64 bit
Jaunty system. I compiled llvm and llvm-gcc from the subversion source
no problem, but when I try to compile VMKit I get some issue with
GCAllocator:
/home/mmwu/Download/llvm$ ./configure
/home/mmwu/Download/llvm$ make ENABLE_OPTIMIZED=1
/home/mmwu/Download/llvm$ make ENABLE_OPTIMIZED=1 install
...