<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Nicolas,<br>
    <br>
    I thought MMTk is written in java and it is compiled by javac.<br>
    <br>
    retried a clean build with JIT enabled<br>
    <br>
    llvm configuration<br>
    ../../llvm/configure --enable-doxygen --enable-optimized
    --enable-jit<br>
    <br>
    vmkit configuration<br>
    ../../llvm/vmkit/configure --with-llvmsrc=/home1/public/zakkak/llvm/
    --with-llvmobj=/home1/public/zakkak/java/llvm/
--with-gnu-classpath-glibj=/home1/public/zakkak/java/classpath-0.97.2/lib/glibj.zip--with-gnu-classpath-libs=/home1/public/zakkak/java/classpath-0.97.2/lib/<br>
    <br>
    and the problem persists<br>
    <br>
    Foivos<br>
    <br>
    On 07/06/12 16:54, Nicolas Geoffray wrote:
    <blockquote
cite="mid:CAPYwfio05b8oczg+xNFbuPK+LPfe=8p9rGNbXW65Ek7ReScJ7g@mail.gmail.com"
      type="cite">Hi Fovios,<br>
      <br>
      <div class="gmail_quote">On Thu, Jun 7, 2012 at 3:51 PM, Foivos <span
          dir="ltr"><<a moz-do-not-send="true"
            href="mailto:fivosz@gmail.com" target="_blank">fivosz@gmail.com</a>></span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#000000"> Hi,<br>
            <br>
            My machine is running Ubuntu server 64-bit<br>
            And the revision from the trunk is 158095 for llvm, clang
            and vmkit<br>
            <br>
            llvm configuration<br>
            ../../llvm/configure --enable-doxygen --enable-optimized
            --disable-jit<br>
          </div>
        </blockquote>
        <div><br>
        </div>
        <div>Why do you disable the JIT? VMKit needs it to compile MMTk.</div>
        <div><br>
        </div>
        <div>Cheers,</div>
        <div>Nicolas</div>
        <div> </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#000000"> vmkit configuration<br>
            ../../llvm/vmkit/configure
            --with-llvmsrc=/home1/public/zakkak/llvm/
            --with-llvmobj=/home1/public/zakkak/java/llvm/
--with-gnu-classpath-glibj=/home1/public/zakkak/java/classpath-0.97.2/lib/glibj.zip--with-gnu-classpath-libs=/home1/public/zakkak/java/classpath-0.97.2/lib/<br>
            <br>
            Thank you<br>
            Foivos
            <div>
              <div class="h5"><br>
                <br>
                On 06/06/12 22:35, Nicolas Geoffray wrote:
                <blockquote type="cite">Hi Fivos,
                  <div><br>
                  </div>
                  <div>I cannot reproduce on my machine (ubuntu 64bit,
                    clang/llvm/vmkit on svn trunk). What's your
                    configuration?</div>
                  <div><br>
                  </div>
                  <div>Cheers,</div>
                  <div>Nicolas<br>
                    <br>
                    <div class="gmail_quote"> On Tue, Jun 5, 2012 at
                      3:08 PM, Fivos <span dir="ltr"><<a
                          moz-do-not-send="true"
                          href="mailto:fivosz@gmail.com" target="_blank">fivosz@gmail.com</a>></span>
                      wrote:<br>
                      <blockquote class="gmail_quote" style="margin:0 0
                        0 .8ex;border-left:1px #ccc
                        solid;padding-left:1ex"> 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/VMCore/Type.cpp:747:
                        static<br>
                        llvm::PointerType
                        *llvm::PointerType::get(llvm::Type *, unsigned
                        int):<br>
                        Assertion `EltTy && "Can't get a pointer
                        to <null> 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::Type*, unsigned
                        int) + 478<br>
                        7  vmjc            0x0000000000564317<br>
                        j3::J3Intrinsics::init(llvm::Module*) + 199<br>
                        8  vmjc            0x000000000054f86d<br>
                        j3::JavaAOTCompiler::JavaAOTCompiler(std::string
                        const&) + 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
                        `/home1/public/zakkak/java/vmkit_build/mmtk/java'<br>
                        make[1]: *** [all] Error 1<br>
                        make[1]: Leaving directory
                        `/home1/public/zakkak/java/vmkit_build/mmtk'<br>
                        make: *** [all] Error 1<br>
                        <br>
                        any ideas, how to fix this?<br>
                        <br>
                        Thank you<br>
                        Foivos<br>
                        _______________________________________________<br>
                        LLVM Developers mailing list<br>
                        <a moz-do-not-send="true"
                          href="mailto:LLVMdev@cs.uiuc.edu"
                          target="_blank">LLVMdev@cs.uiuc.edu</a>      
                          <a moz-do-not-send="true"
                          href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
                        <a moz-do-not-send="true"
                          href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev"
                          target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
                      </blockquote>
                    </div>
                    <br>
                  </div>
                </blockquote>
                <br>
              </div>
            </div>
          </div>
        </blockquote>
      </div>
      <br>
    </blockquote>
    <br>
  </body>
</html>