<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 - ARM_V4BX relocation is not supported"
href="https://bugs.llvm.org/show_bug.cgi?id=38303">38303</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>ARM_V4BX relocation is not supported
</td>
</tr>
<tr>
<th>Product</th>
<td>lld
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>ELF
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mh+llvm@glandium.org
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Building Firefox for Android with lld fails with multiple errors like:
/builds/worker/workspace/build/src/clang/bin/ld.lld: error: can't create
dynamic relocation R_ARM_V4BX against local symbol in readonly segment;
recompile object files with -fPIC
<span class="quote">>>> defined in ../../gfx/cairo/libpixman/src/pixman-arm-neon-asm-bilinear.o
>>> referenced by ../../gfx/cairo/libpixman/src/pixman-arm-neon-asm-bilinear.o:(.text+0x4F0)</span >
which doesn't actually say it's not supported, but considering R_ARM_V4BX is
not an actual relocation, and wouldn't imply a dynamic text relocation if it
were supported, the error is actually bogus.
Linking with -z notext is more explicit:
/builds/worker/workspace/build/src/clang/bin/ld.lld: error:
../../gfx/cairo/libpixman/src/pixman-arm-neon-asm-bilinear.o:(.text+0x4F0):
unrecognized reloc 40</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>