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: unassignedb...@nondot.org Reporter: wim.lavrij...@gmail.com CC: david.abdurachma...@gmail.com, llvm-bugs@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.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs