Skip to content

llvm-jitlink failures on ppc64le-redhat-linux #51348

Open
@lhames

Description

@lhames
Bugzilla Link 52006
Version trunk
OS Linux
CC @lhames

Extended Description

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 ab5e6e7 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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions