<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - MCJIT test failures when building with LLVM_BUILD_32_BITS"
   href="http://llvm.org/bugs/show_bug.cgi?id=17230">17230</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>MCJIT test failures when building with LLVM_BUILD_32_BITS
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>alistair.low@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Building with the LLVM_BUILD_32_BITS option and running "make check-llvm"
results in the following test failures:

Failing Tests (9):
    LLVM :: ExecutionEngine/MCJIT/eh-lg-pic.ll
    LLVM :: ExecutionEngine/MCJIT/eh-sm-pic.ll
    LLVM :: ExecutionEngine/MCJIT/hello-sm-pic.ll
    LLVM :: ExecutionEngine/MCJIT/remote/stubs-sm-pic.ll
    LLVM :: ExecutionEngine/MCJIT/remote/test-global-init-nonzero-sm-pic.ll
    LLVM :: ExecutionEngine/MCJIT/remote/test-ptr-reloc-sm-pic.ll
    LLVM :: ExecutionEngine/MCJIT/stubs-sm-pic.ll
    LLVM :: ExecutionEngine/MCJIT/test-global-init-nonzero-sm-pic.ll
    LLVM :: ExecutionEngine/MCJIT/test-ptr-reloc-sm-pic.ll

I'm currently working with the following revision:

commit e946a9ceda24775153c2c869e30afab058088238
Author: Nuno Lopes <<a href="mailto:nunoplopes@sapo.pt">nunoplopes@sapo.pt</a>>
Date:   Fri Sep 13 15:01:54 2013 +0000

    typo fix: use BUILD_ARCHIVE to build .a libs and not ARCHIVE_LIBRARY

    git-svn-id: <a href="https://llvm.org/svn/llvm-project/llvm/trunk@190696">https://llvm.org/svn/llvm-project/llvm/trunk@190696</a>
91177308-0d34-0410-b5e6-96231b3b80d8

However, this issue can be reproduced with revisions from the last 2 weeks or
more.

I use CMake to generate the Makefiles:
"cmake '-DLLVM_TARGETS_TO_BUILD:STRING=X86' -DCMAKE_BUILD_TYPE:STRING=DEBUG
-DLLVM_BUILD_32_BITS:BOOLEAN=ON .."

Then "make check-llvm".

These tests are XFAIL for i686 and i386, but this doesn't account for a
scenario where lli is built as a 32-bit binary on an x86_64 host.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>