<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 - ExecutionEngine/MCJIT/stubs-sm-pic.ll XPASS'es on non-asserts 32-bit x86 builds"
   href="https://bugs.llvm.org/show_bug.cgi?id=46816">46816</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>ExecutionEngine/MCJIT/stubs-sm-pic.ll XPASS'es on non-asserts 32-bit x86 builds
          </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>enhancement
          </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>hans@chromium.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, lhames@gmail.com, llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>46725
          </td>
        </tr></table>
      <p>
        <div>
        <pre>For example, in a Visual Studio 32-bit dev prompt:

cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS=llvm
-DLLVM_TARGETS_TO_BUILD=X86 ..\llvm
ninja check


Testing:  0.. 10.. 20.. 30.. 40.. 50..
XPASS: LLVM :: ExecutionEngine/MCJIT/stubs-sm-pic.ll (23621 of 38498)
******************** TEST 'LLVM :: ExecutionEngine/MCJIT/stubs-sm-pic.ll'
FAILED ********************
Script:
--
: 'RUN: at line 1';   c:\src\llvm.monorepo\build.bar\bin\lli.exe
-mtriple=i686-pc-windows-msvc-elf -disable-lazy-compilation=false
-relocation-model=pic -code-model=small
c:\src\llvm.monorepo\llvm\test\ExecutionEngine\MCJIT\stubs-sm-pic.ll
--
Exit Code: 0

Command Output (stdout):
--
$ ":" "RUN: at line 1"
$ "c:\src\llvm.monorepo\build.bar\bin\lli.exe"
"-mtriple=i686-pc-windows-msvc-elf" "-disable-lazy-compilation=false"
"-relocation-model=pic" "-code-model=small"
"c:\src\llvm.monorepo\llvm\test\ExecutionEngine\MCJIT\stubs-sm-pic.ll"

--

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
********************
Unexpectedly Passed Tests (1):
  LLVM :: ExecutionEngine/MCJIT/stubs-sm-pic.ll




The test is marked XFAIL on i386 and i686

Because of this assert:

Relocation type not implemented yet!
UNREACHABLE executed at
C:\src\llvm.monorepo\llvm\lib\ExecutionEngine\RuntimeDyld\RuntimeDyldELF.cpp:362!


Maybe the simplest fix for now would be to make it error also in non-asserts
builds?</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [meta] 11.0.0 Release Blockers"
   href="https://bugs.llvm.org/show_bug.cgi?id=46725">Bug 46725</a>] [meta] 11.0.0 Release Blockers
              </li>
          </ul>
        </div>
        <br>

      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>