[llvm-bugs] [Bug 52006] New: llvm-jitlink failures on ppc64le-redhat-linux

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Sep 28 13:21:58 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=52006

            Bug ID: 52006
           Summary: llvm-jitlink failures on ppc64le-redhat-linux
           Product: libraries
           Version: trunk
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Support Libraries
          Assignee: unassignedbugs at nondot.org
          Reporter: lhames at gmail.com
                CC: llvm-bugs at lists.llvm.org

>From discussion with Tom Stellard in #jit on the LLVM discord:

> 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: https://kojipkgs.fedoraproject.org//work/tasks/9336/76399336/build.log

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210928/da1c4d74/attachment-0001.html>


More information about the llvm-bugs mailing list