[LLVMbugs] [Bug 14970] New: BugPoint tests fail with "Program could not be executed"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jan 16 15:17:34 PST 2013


             Bug #: 14970
           Summary: BugPoint tests fail with "Program could not be
           Product: Test Suite
           Version: 3.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Programs Tests
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: andrewjcg at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 9881
  --> http://llvm.org/bugs/attachment.cgi?id=9881
Patch removing memory rlimits from BugPoint tests

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

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list