[LLVMdev] Running VMKit's AOT Java Compiler
David Brazdil
david.brazdil at gmail.com
Fri Mar 7 06:11:13 PST 2014
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 vmjc
0x0000000000f2cea5 llvm::sys::PrintStackTrace(_IO_FILE*) + 37
1 vmjc 0x0000000000f2d363
2 libpthread.so.0 0x00007f4fbbe83880
3 libc.so.6 0x00007f4fbb0e2389 gsignal + 57
4 libc.so.6 0x00007f4fbb0e3788 abort + 328
5 vmjc 0x000000000052f6f9
6 vmjc 0x00000000005739cc
7 vmjc 0x0000000000573795
8 vmjc 0x0000000000572d24
j3::JavaMethod::invokeIntStatic(j3::Jnjvm*, j3::Class*, ...) + 116
9 vmjc 0x0000000000587c9e
j3::Class::initialiseClass(j3::Jnjvm*) + 574
10 vmjc 0x0000000000574c82
11 vmjc 0x0000000000574a45
12 vmjc 0x00000000005735a4
j3::JavaMethod::invokeJavaObjectStatic(j3::Jnjvm*, j3::Class*, ...) + 116
13 vmjc 0x000000000058a921
j3::Jnjvm::noClassDefFoundError(j3::Class*, vmkit::UTF8 const*) + 1665
14 vmjc 0x000000000056c2bb j3::Class::readClass() + 427
15 vmjc 0x0000000000591a78
j3::JnjvmClassLoader::constructClass(vmkit::UTF8 const*, j3::ClassBytes*) +
360
16 vmjc 0x0000000000591743
j3::JnjvmBootstrapLoader::internalLoad(vmkit::UTF8 const*, bool,
j3::JavaString*) + 131
17 vmjc 0x0000000000591d76
j3::JnjvmClassLoader::loadName(vmkit::UTF8 const*, bool, bool,
j3::JavaString*) + 38
18 vmjc 0x000000000052b43a
mainCompilerStart(j3::JavaThread*) + 586
19 vmjc 0x00000000005b0300
vmkit::Thread::internalThreadStart(vmkit::Thread*) + 528
20 libpthread.so.0 0x00007f4fbbe7c0a2
21 libc.so.6 0x00007f4fbb192d1d clone + 109
This is produced inside the JavaAOTCompiler.h, in
method materializeFunction which is called from JavaMethod::compiledPtr.
What am I doing wrong?
Cheers,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140307/b53650fa/attachment.html>
More information about the llvm-dev
mailing list