Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] Error using llcj"
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:
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
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[]
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
--------------
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 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
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 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
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 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
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
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
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 <
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
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
2012 May 29
0
[LLVMdev] make error
Hi Kevin,
On Tue, May 29, 2012 at 10:22 PM, Kevin Burns <kevinpb at vt.edu> wrote:
>
> Hello,
>
> I am currently trying to install vmkit from source. I am running archlinux
> i686 with the 3.1.9-2 kernel. This output is from the directions given on
> the llvm site. Below is the configureation output along with the make
> output.
>
>
> I run ./configure with
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
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