[llvm-bugs] [Bug 25540] New: Relocation R_PPC64_REL24 overflow

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Nov 15 21:27:17 PST 2015


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

            Bug ID: 25540
           Summary: Relocation R_PPC64_REL24 overflow
           Product: libraries
           Version: trunk
          Hardware: Other
                OS: Linux
            Status: NEW
          Keywords: ABI
          Severity: normal
          Priority: P
         Component: Generic Execution Engine Support
          Assignee: unassignedbugs at nondot.org
          Reporter: Wim.Lavrijsen at gmail.com
                CC: david.abdurachmanov at gmail.com,
                    llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 15293
  --> https://llvm.org/bugs/attachment.cgi?id=15293&action=edit
script to reproduce

We run into the following when JITting code on PowerPC:

Relocation R_PPC64_REL24 overflow
UNREACHABLE executed at
llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp:987!

Attached is a script to reproduce the problem: it generates a single file with
a large number (100) of large functions, then JITs it. The offsets grow until
they hit out of bounds. One level up the stack trace, same file line 1457, is
supposed to handle the range overflow case, but still uses the same relocation
type.

The above is not what we actually do in our code, but this allows the same code
path to hit with only llvm+clang.

Thanks!

-- 
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/20151116/1e639114/attachment-0001.html>


More information about the llvm-bugs mailing list