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: unassignedb...@nondot.org
Reporter: axel.naum...@cern.ch
CC: llvm-bugs@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 <lha...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs