An Error in making vmkit:unsupported GC:vmkit

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

An Error in making vmkit:unsupported GC:vmkit

I want to use vmjc to translate Java bytecode into llvm IR, so I want to install llvm and vmkit
I use ubuntu14.04, llvm 3.3.0, GNU classpath-0.99(As the README.TXT of vmkit said)
After installed llvm3.3.0 by cmake, I'm going to install vmkit, I use command as follows:

./configure --with-llvm-config-path=/home/han/Downloads/llvm3.3/build/bin/llvm-config --with-gnu-classpath-libs=/home/X/Downloads/classpath-0.99/lib --with-gnu-classpath-glibj=/home/X/Downloads/classpath-0.99/lib/

While I get the ERROR as follows:
[vmkit .]: Entering compilation process
[vmkit ./lib/vmkit/CommonThread]: Assembling 'ObjectLocks-gc.bc'
Error opening '/home/X/Downloads/vmkit/vmkit/Release+Asserts/lib/': /home/X/Downloads/vmkit/vmkit/Release+Asserts/lib/ undefined symbol: _ZTIN4llvm17GCMetadataPrinterE
  -load request ignored.
unsupported GC: vmkit
0  llc             0x0000000000e2d242
1  llc             0x0000000000e2ce9c
2 0x00002b3f84d94330
3  llc             0x00000000009c2014
4  llc             0x0000000002e0e128
Stack dump:
0. Program arguments: /home/X/Downloads/llvm3.3/build/bin/llc -O=3 -disable-cfi -disable-fp-elim -relocation-model=pic -load=/home/X/Downloads/vmkit/vmkit/Release+Asserts/lib/ -filetype=obj /home/X/Downloads/vmkit/vmkit/lib/vmkit/CommonThread/Release+Asserts/ObjectLocks-gc.bc -o /home/X/Downloads/vmkit/vmkit/lib/vmkit/CommonThread/Release+Asserts/ObjectLocks-gc.o
make[3]: *** [/home/X/Downloads/vmkit/vmkit/lib/vmkit/CommonThread/Release+Asserts/ObjectLocks-gc.o] Segmentation fault (core dumped)
[vmkit ./lib/vmkit]: abort with error in ./lib/vmkit/CommonThread
make[2]: *** [all] Error 1
[vmkit ./lib]: abort with error in ./lib/vmkit
make[1]: *** [all] Error 1
[vmkit .]: abort with error in ./lib
make: *** [all] Error 1

who can tell me what's the problem mean?
PS: In fact, I want to translate Android Dalvik bytecode into LLVM IR, anybody can tell me if it is useable? If vmkit can't do it, I will give it up...