Skip to content

BugPoint tests fail with "Program could not be executed" #15342

@andrewjcg

Description

@andrewjcg
Bugzilla Link 14970
Version 3.2
OS Linux
Attachments Patch removing memory rlimits from BugPoint tests
CC @yuanfang-chen

Extended Description

BugPoint tests fail, printing "Program could not be executed". An strace shows that the failure originates when the dynamic linker tries to load libLLVMARMInfo.so, and it dies with a memory related error: "failed to map segment from shared object: Cannot allocate memory."

This appears to be caused by the deafult rlimits set in "lib/Support/Unix/Program.inc". Passing '-mlimit=0' into the tests allows them to pass (see attached).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions