Hi Fovios,<div><br></div><div>Do you have a ./lib/j3/LLVMRuntime/LLVMRuntime.inc file being generated? What does it contain?</div><div><br></div><div>Nicolas<br><br><div class="gmail_quote">On Thu, Jun 7, 2012 at 5:47 PM, Foivos S. Zakkak <span dir="ltr"><<a href="mailto:foivos@zakkak.net" target="_blank">foivos@zakkak.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Still the same.<br>
<br>
Is there any chance that the placement of my directories are causing this?<br>
<br>
Also the exact command that fails is<br>
<br>
/home1/public/zakkak/java/<u></u>vmkit/Release+Asserts/bin/vmjc -std-compile-opts -load=/home1/public/zakkak/<u></u>java/vmkit/Release+Asserts/<u></u>lib/MMTKRuntime.so -load=/home1/public/zakkak/<u></u>java/vmkit/Release+Asserts/<u></u>lib/MMTKMagic.so -LowerMagic /home1/public/zakkak/java/<u></u>vmkit/mmtk/java/mmtk-vmkit.jar -disable-exceptions -disable-cooperativegc -with-clinit=org/mmtk/vm/VM,<u></u>org/mmtk/utility/*,org/mmtk/<u></u>policy/*,org/j3/config/* -Dmmtk.hostjvm=org.j3.mmtk.<u></u>Factory -o mmtk-vmkit.bc -Dmmtk.properties=/home1/<u></u>public/zakkak/java/vmkit/../..<u></u>/llvm/vmkit/mmtk/java/vmkit.<u></u>properties -disable-stubs -assume-compiled<br>
<br>
Thank you for your time<br>
Foivos<div class="im"><br>
<br>
On 07/06/12 18:12, Nicolas Geoffray wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
On Thu, Jun 7, 2012 at 4:27 PM, Foivos S. Zakkak <<a href="mailto:foivos@zakkak.net" target="_blank">foivos@zakkak.net</a><br></div><div class="im">
<mailto:<a href="mailto:foivos@zakkak.net" target="_blank">foivos@zakkak.net</a>>> wrote:<br>
<br>
Hi Nicolas,<br>
<br>
I thought MMTk is written in java and it is compiled by javac.<br>
<br>
<br>
It is compiled by javac to produce Java bytecode. Then vmkit runs the<br>
initialization code of MMTk (through the JIT) and generates the binary<br>
code through llvm.<br>
<br>
<br>
retried a clean build with JIT enabled<br>
<br>
llvm configuration<br>
../../llvm/configure --enable-doxygen --enable-optimized --enable-jit<br>
<br>
<br>
vmkit configuration<br>
../../llvm/vmkit/configure --with-llvmsrc=/home1/public/<u></u>zakkak/llvm/<br>
--with-llvmobj=/home1/public/<u></u>zakkak/java/llvm/<br>
--with-gnu-classpath-glibj=/<u></u>home1/public/zakkak/java/<u></u>classpath-0.97.2/lib/glibj.<u></u>zip--with-gnu-classpath-libs=/<u></u>home1/public/zakkak/java/<u></u>classpath-0.97.2/lib/<br>
<br>
and the problem persists<br>
<br>
<br>
Could you do make ENABLE_OPTIMIZED=1 clean and then make<br>
ENABLE_OPTIMIZED=1 ? Some files may have not been generated because of<br>
the missing JIT and that screwed up the Makefile.<br>
<br>
Nicolas<br>
<br>
<br>
<br>
Foivos<br>
<br>
<br>
On 07/06/12 16:54, Nicolas Geoffray wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Hi Fovios,<br>
<br>
On Thu, Jun 7, 2012 at 3:51 PM, Foivos <<a href="mailto:fivosz@gmail.com" target="_blank">fivosz@gmail.com</a><br></div><div><div class="h5">
<mailto:<a href="mailto:fivosz@gmail.com" target="_blank">fivosz@gmail.com</a>>> wrote:<br>
<br>
Hi,<br>
<br>
My machine is running Ubuntu server 64-bit<br>
And the revision from the trunk is 158095 for llvm, clang and<br>
vmkit<br>
<br>
llvm configuration<br>
../../llvm/configure --enable-doxygen --enable-optimized<br>
--disable-jit<br>
<br>
<br>
Why do you disable the JIT? VMKit needs it to compile MMTk.<br>
<br>
Cheers,<br>
Nicolas<br>
<br>
vmkit configuration<br>
../../llvm/vmkit/configure<br>
--with-llvmsrc=/home1/public/<u></u>zakkak/llvm/<br>
--with-llvmobj=/home1/public/<u></u>zakkak/java/llvm/<br>
--with-gnu-classpath-glibj=/<u></u>home1/public/zakkak/java/<u></u>classpath-0.97.2/lib/glibj.<u></u>zip--with-gnu-classpath-libs=/<u></u>home1/public/zakkak/java/<u></u>classpath-0.97.2/lib/<br>
<br>
Thank you<br>
Foivos<br>
<br>
<br>
On 06/06/12 22:35, Nicolas Geoffray wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hi Fivos,<br>
<br>
I cannot reproduce on my machine (ubuntu 64bit,<br>
clang/llvm/vmkit on svn trunk). What's your configuration?<br>
<br>
Cheers,<br>
Nicolas<br>
<br>
On Tue, Jun 5, 2012 at 3:08 PM, Fivos <<a href="mailto:fivosz@gmail.com" target="_blank">fivosz@gmail.com</a><br></div></div><div><div class="h5">
<mailto:<a href="mailto:fivosz@gmail.com" target="_blank">fivosz@gmail.com</a>>> wrote:<br>
<br>
Hello,<br>
<br>
after completing the build i get<br>
<br>
...<br>
BUILD SUCCESSFUL<br>
Total time: 5 seconds<br>
llvm[2]: Building Release+Asserts mmtk-vmkit.jar all<br>
vmjc: /home1/public/zakkak/llvm/lib/<u></u>VMCore/Type.cpp:747:<br>
static<br>
llvm::PointerType *llvm::PointerType::get(llvm::<u></u>Type *,<br>
unsigned int):<br>
Assertion `EltTy && "Can't get a pointer to <null><br>
type!"' failed.<br>
0 vmjc 0x0000000000d24e1f<br>
1 vmjc 0x0000000000d25334<br>
2 libpthread.so.0 0x00002b398f36b8f0<br>
3 libc.so.6 0x00002b3990178a75 gsignal + 53<br>
4 libc.so.6 0x00002b399017c5c0 abort + 384<br>
5 libc.so.6 0x00002b3990171941 __assert_fail + 241<br>
6 vmjc 0x0000000000cd7fde<br>
llvm::PointerType::get(llvm::<u></u>Type*, unsigned int) + 478<br>
7 vmjc 0x0000000000564317<br>
j3::J3Intrinsics::init(llvm::<u></u>Module*) + 199<br>
8 vmjc 0x000000000054f86d<br>
j3::JavaAOTCompiler::<u></u>JavaAOTCompiler(std::string const&)<br>
+ 1597<br>
9 vmjc 0x0000000000502b8d main + 141<br>
10 libc.so.6 0x00002b3990163c4d __libc_start_main + 253<br>
11 vmjc 0x0000000000502a39<br>
Aborted<br>
make[2]: *** [all] Error 134<br>
make[2]: Leaving directory<br>
`/home1/public/zakkak/java/<u></u>vmkit_build/mmtk/java'<br>
make[1]: *** [all] Error 1<br>
make[1]: Leaving directory<br>
`/home1/public/zakkak/java/<u></u>vmkit_build/mmtk'<br>
make: *** [all] Error 1<br>
<br>
any ideas, how to fix this?<br>
<br>
Thank you<br>
Foivos<br>
______________________________<u></u>_________________<br>
LLVM Developers mailing list<br></div></div>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a> <mailto:<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a>><br>
<a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/llvmdev</a><br>
<br>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
</blockquote></div><br></div>