<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 - llvm-jitlink failures on ppc64le-redhat-linux"
   href="https://bugs.llvm.org/show_bug.cgi?id=52006">52006</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>llvm-jitlink failures on ppc64le-redhat-linux
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

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

        <tr>
          <th>Hardware</th>
          <td>Other
          </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>Support Libraries
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>lhames@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>From discussion with Tom Stellard in #jit on the LLVM discord:

<span class="quote">> It looks like changing the host triple from powerpc64le-unknown-linux-gnu to ppc64le-redhat-linux causes the failures.
> The error message with your patch is: JIT session error: Slab allocator out of memory: request for 0x10000 bytes exceeds remaining capacity of 0x0 bytes
> Full Logs: <a href="https://kojipkgs.fedoraproject.org//work/tasks/9336/76399336/build.log">https://kojipkgs.fedoraproject.org//work/tasks/9336/76399336/build.log</a></span >

Exactly filling a correctly allocated buffer seems unlikely. A more likely
cause is sys::Process::getPageSize returning 0. I have added extra error checks
in ab5e6e7434eb that should confirm this.

If sys::Process::getPageSize is returning zero on ppc64le-redhat-linux then
this should be investigated: it will prevent the LLVM JIT from working for that
triple.</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>