[LLVMdev] [vmkit]Errors when compiling vmkit
Harris BAKIRAS
h.bakiras at gmail.com
Tue Mar 19 06:51:25 PDT 2013
Hi Julien,
Due to some new commits, openjdk build is broken for the moment.
We are fixing this.
You can temporarily use the following commit to try VMKit with OpenJDK
implementation.
d9bf3794d66a116999f8f16d0799fba6fe5bd822
just call the following command in your vmkit directory:
git checkout d9bf3794d66a116999f8f16d0799fba6fe5bd822
Harris Bakiras
On 03/18/2013 10:12 AM, Julien Pagès wrote:
> Hi,
>
> I see that now vmkit2 contains the last revisions of the project, so I
> follow these instructions to compile vmkit :
> http://vmkit2.gforge.inria.fr/start.php
>
> I download and compile LLVM without errors. I have tested with and
> without optimizations but this is the same for the errors.
> My configuration for LLVM is just : ./configure; make
>
> Apparently we can build vmkit with OpenJDK instead of GNU Classpath,
> so I configured vmkit with :
>
> ./configure
> --with-llvm-config-path=/home/julien/vm/llvm-3.2.src/Release+Asserts/bin/llvm-config
> --with-classpath-impl=openjdk
> --with-openjdk-path=/usr/lib64/jvm/java-1.7.0-openjdk
>
> But when I compile vmkit I have this error :
>
> [vmkit ./lib/j3/ClassLib/OpenJDK]: Compiling 'JavaUpcalls.cpp'
> In file included from JavaUpcalls.cpp:1048:
> /home/julien/vm/vmkit2/lib/j3/ClassLib/Unsafe.inc:499:35: error: no
> member named 'vmdataVMThread' in 'j3::Classpath'
> JavaField* field = vm->upcalls->vmdataVMThread;
> ~~~~~~~~~~~ ^
> /home/julien/vm/vmkit2/lib/j3/ClassLib/Unsafe.inc:500:36: error: no
> member named 'vmThread' in 'j3::Classpath'
> JavaField* field2 = vm->upcalls->vmThread;
> ~~~~~~~~~~~ ^
> 2 errors generated.
> make[4]: ***
> [/home/julien/vm/vmkit2/lib/j3/ClassLib/OpenJDK/Release+Asserts/JavaUpcalls.bc]
> Erreur 1
> [vmkit ./lib/j3/ClassLib]: abort with error in ./lib/j3/ClassLib/OpenJDK
> make[3]: *** [all] Erreur 1
> [vmkit ./lib/j3]: abort with error in ./lib/j3/ClassLib
> make[2]: *** [all] Erreur 1
> [vmkit ./lib]: abort with error in ./lib/j3
> make[1]: *** [all] Erreur 1
> [vmkit .]: abort with error in ./lib
> make: *** [all] Erreur 1
>
> This is the first time I work with vmkit. So, did I do something wrong
> (maybe in configure...) ?
>
> Thanks,
>
> Julien
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130319/e7910499/attachment.html>
More information about the llvm-dev
mailing list