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: unassignedb...@nondot.org
          Reporter: lha...@gmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to