[llvm-bugs] [Bug 32650] New: RuntimeDyldELF: Relocation R_PPC64_REL24 overflow

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Apr 13 01:58:53 PDT 2017


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

            Bug ID: 32650
           Summary: RuntimeDyldELF: Relocation R_PPC64_REL24 overflow
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: PowerPC
          Assignee: unassignedbugs at nondot.org
          Reporter: Axel.Naumann at cern.ch
                CC: llvm-bugs at lists.llvm.org

Created attachment 18283
  --> https://bugs.llvm.org/attachment.cgi?id=18283&action=edit
IR reproducing the assertion

Running attached IR file as

$ lli -jit-kind=orc-mcjit R_PPC64_REL24.ir

triggers

Relocation R_PPC64_REL24 overflow
UNREACHABLE executed at
.../src/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp:761!


The IR is the minimized IR for

$ echo '#include <vector>
std::vector<char> l; int main() { return 0;}' | clang -x c++  -std=c++14 -c
-Xclang -emit-llvm -fno-use-cxa-atexit - -o -

on a Power8 PPC64le. llvm was built as Debug on CentOS 7.3 with GCC 6.3.0.



I bisected; the commit that introduced this failure was the (otherwise crucial,
wonderful) commit:



commit 04d404bad2a4338841d5ab5f0ec3908bbd62fa1a
Author: Lang Hames <lhames at gmail.com>
Date:   Tue Aug 9 19:27:17 2016 +0000

    Re-apply r278065 (Weak symbol support in RuntimeDyld) with a fix for ELF.


    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278149
91177308-0d34-0410-b5e6-96231b3b80d8

-- 
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/20170413/2d3db822/attachment-0001.html>


More information about the llvm-bugs mailing list