<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - RuntimeDyldELF: Relocation R_PPC64_REL24 overflow"
href="https://bugs.llvm.org/show_bug.cgi?id=32650">32650</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>RuntimeDyldELF: Relocation R_PPC64_REL24 overflow
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Backend: PowerPC
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>Axel.Naumann@cern.ch
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=18283" name="attach_18283" title="IR reproducing the assertion">attachment 18283</a> <a href="attachment.cgi?id=18283&action=edit" title="IR reproducing the assertion">[details]</a></span>
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 <<a href="mailto:lhames@gmail.com">lhames@gmail.com</a>>
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: <a href="https://llvm.org/svn/llvm-project/llvm/trunk@278149">https://llvm.org/svn/llvm-project/llvm/trunk@278149</a>
91177308-0d34-0410-b5e6-96231b3b80d8</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>