Displaying 20 results from an estimated 1100 matches similar to: "[LLVMdev] LLCJ - VMKIT"
2013 Apr 09
1
[LLVMdev] VMKit build failure on OSX
Hi all, I am currently trying to build vmkit on OSX Lion. I am using
release versions of llvm/clang as 3.2 and have tired both vmkit HEAD, 3.2
and vmkit2.
I have gotten farthest with 3.2 but the current build error that I am
getting is
llvm[3]: Compiling JavaObject.s for Release+Asserts build
/vmkit/lib/j3/VMCore/Release+Asserts/JavaObject_gc.s:1647:2: error: invalid
instruction mnemonic
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
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
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
2012 Jun 29
0
[LLVMdev] Error using llcj
I tried to compile helloworld program using llcj to native but i got the following error
shyam at shyam:~$ cat hello.javaclass hello {
public static final String str = "Hello Word";
public static void main(String[] args) { System.out.println(str); }}shyam at shyam:~$ llcj --main=hello hello.class -o hellollc: Unknown command line argument '-f'. Try:
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
2010 Jul 20
4
[LLVMdev] Fwd: Building VMKit
Hi Minas,
I tried recompiling Classpath with -fno-omit-frame-pointer, and now, instead
of printing an error message, j3 just segfaults in
"j3::JnjvmClassLoader::loadClassFromAsciiz(char const*, bool, bool) ()"
I ran llcj under strace and found that it is not even opening the input or
output files, but is otherwise running normally.
Updating to the latest SVN version (revision 108831)
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
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 19
0
[LLVMdev] Fwd: Building VMKit
Hi Joshua,
> $ j3 Hello
> j3: JavaClass.cpp:480: j3::JavaObject* j3::Class::doNew(j3::Jnjvm*):
> Assertion `(this->isInitializing() ||
> classLoader->getCompiler()->isStaticCompiling()) && "Uninitialized class
> when allocating."' failed.
> Aborted
Regarding to j3 in 64 bit version, it should work now after we've
found crush reason,
both in
2010 Jul 20
0
[LLVMdev] Fwd: Building VMKit
On Tue, Jul 20, 2010 at 6:56 PM, Joshua Warner <joshuawarner32 at gmail.com> wrote:
> Hi Minas,
>
> I tried recompiling Classpath with -fno-omit-frame-pointer, and now, instead
> of printing an error message, j3 just segfaults in
> "j3::JnjvmClassLoader::loadClassFromAsciiz(char const*, bool, bool) ()"
>
Could you please run it under gdb like
$ gdb --args ./j3
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
--------------
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 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
2010 Jul 19
1
[LLVMdev] Fwd: Building VMKit
Forgot to send to the mailing list...
---------- Forwarded message ----------
From: Joshua Warner <joshuawarner32 at gmail.com>
Date: Mon, Jul 19, 2010 at 10:19 AM
Subject: Re: [LLVMdev] Building VMKit
To: nicolas geoffray <nicolas.geoffray at gmail.com>
Thanks Nicolas, that worked great!
Now, I'm having trouble invoking the compiler properly:
$ llcj Hello.class -o=Hello.ll
$
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
2010 Jul 20
2
[LLVMdev] Fwd: Building VMKit
Hi Nicolas,
Thanks for all your help, but if 64-bit systems are still a big problem,
perhaps the VMKit AOT compiler is not the best solution to my problem. I'd
like to be able to support the major (if not all all) platforms that the
Avian JVM supports - x86 & x86_64 linux & windows, powerpc darwin and ARM.
Regards,
Joshua
On Tue, Jul 20, 2010 at 8:00 AM, nicolas geoffray <
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
2010 Jul 20
0
[LLVMdev] Fwd: Building VMKit
Hi Joshua,
What plans did you have for GC? No GC at all or Avian JVM has its own GC
(and is it precise or not?)?
If you're not planning on using VMKit's GCs, then 64-bit system should not
be a big problem: the only problem that we have now is compiling GNU
Classpath, and most probably Avian JVM has its own version of the class
libraries?
Also, note that platform support will be strongly
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