[VMKit-2.7] libvmjc.so building problem

I followed instructions in this page to setup my environment:
  http://vmkit.llvm.org/get_started.html

My llvm, llvm-gcc, and vmkit are not SVN version.
All of them are downloaded from this page:
  http://llvm.org/releases/download.html#2.7
GNU classpath is downloaded from:
  ftp://ftp.gnu.org/gnu/classpath/classpath-0.97.2.tar.gz
PNet & PNetlib are not used because I just want the JVM.

I use these arguments to configure my VMKit:
./configure --prefix=/home/lhtseng/llvm
                  --with-llvmsrc=/home/lhtseng/llvm/src/llvm
                  --with-llvmobj=/home/lhtseng/llvm/obj/llvm
                  --with-gnu-classpath-libs=/home/lhtseng/llvm/lib/classpath
                  --with-gnu-classpath-glibj=/home/lhtseng/llvm/share/classpath/glibj.zip
                  --with-llvmgcc
                  --with-gc=mmtk
and then use `make ENABLE_OPTIMIZED=1' to build it
(I follow the instructions in this page: http://vmkit.llvm.org/use_mmtk.html)
After it's done, `j3' works properly.

Then I follow these instructions to enable AOT compilation:
  http://vmkit.llvm.org/use_aot.html
  * cd tools/vmjc/libvmjc
  * make ENABLE_OPTIMIZED=1 REQUIRES_FRAME_POINTER=1
And an error is occurred:

Hi Linghua,

There was a bug in the AOT compiler in revision 0.27 that got fixed in svn. Also, note that the AOT compiler does not work with MMTk right now (long-term plan to implement it), and that there is a bug with the GCMmap2 also that should be fixed soon.

By using svn versions of llvm and vmkit, you will soon be able to generate libvmjc.so. And yes, consider yourself lucky if it “only” takes 80 minutes to generate libvmjc.so on your machine :slight_smile:

Cheers,
Nicolas