<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 - >=clang-7.0.0 produces static-libs which fail to strip with binutils on armv7-unknown-linux-gnueabihf"
href="https://bugs.llvm.org/show_bug.cgi?id=39359">39359</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>>=clang-7.0.0 produces static-libs which fail to strip with binutils on armv7-unknown-linux-gnueabihf
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>7.0
</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>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>herrtimson@yahoo.de
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>This happens whenever there are static-libs to be stripped, which were compiled
by clang-7.0.0 on armv7-unknown-linux-gnueabihf. In this case it was
compiler-rt:
strip: armv7a-unknown-linux-gnueabihf-strip --strip-unneeded -R .comment -R
.GCC.command.line -R .note.gnu.gold-version
usr/lib/clang/7.0.0/lib/linux/libclang_rt.builtins-armhf.a
/usr/bin/armv7a-unknown-linux-gnueabihf-strip:
/var/tmp/portage/sys-libs/compiler-rt-7.0.0/image/usr/lib/clang/7.0.0/lib/linux/stExRw1z/ashldi3.c.o:
Failed to find link section for section 7
/usr/bin/armv7a-unknown-linux-gnueabihf-strip:
/var/tmp/portage/sys-libs/compiler-rt-7.0.0/image/usr/lib/clang/7.0.0/lib/linux/stExRw1z/ashldi3.c.o:
Failed to find link section for section 7
/usr/bin/armv7a-unknown-linux-gnueabihf-strip:
/var/tmp/portage/sys-libs/compiler-rt-7.0.0/image/usr/lib/clang/7.0.0/lib/linux/stExRw1z/ashrdi3.c.o:
Failed to find link section for section 7
/usr/bin/armv7a-unknown-linux-gnueabihf-strip:
/var/tmp/portage/sys-libs/compiler-rt-7.0.0/image/usr/lib/clang/7.0.0/lib/linux/stExRw1z/ashrdi3.c.o:
Failed to find link section for section 7
/usr/bin/armv7a-unknown-linux-gnueabihf-strip:
/var/tmp/portage/sys-libs/compiler-rt-7.0.0/image/usr/lib/clang/7.0.0/lib/linux/stExRw1z/comparedf2.c.o:
Failed to find link section for section 7
/usr/bin/armv7a-unknown-linux-gnueabihf-strip:
/var/tmp/portage/sys-libs/compiler-rt-7.0.0/image/usr/lib/clang/7.0.0/lib/linux/stExRw1z/comparedf2.c.o:
Failed to find link section for section 7
/usr/bin/armv7a-unknown-linux-gnueabihf-strip:
/var/tmp/portage/sys-libs/compiler-rt-7.0.0/image/usr/lib/clang/7.0.0/lib/linux/stExRw1z/lshrdi3.c.o:
Failed to find link section for section 7
/usr/bin/armv7a-unknown-linux-gnueabihf-strip:
/var/tmp/portage/sys-libs/compiler-rt-7.0.0/image/usr/lib/clang/7.0.0/lib/linux/stExRw1z/lshrdi3.c.o:
Failed to find link section for section 7
/usr/bin/armv7a-unknown-linux-gnueabihf-strip:
/var/tmp/portage/sys-libs/compiler-rt-7.0.0/image/usr/lib/clang/7.0.0/lib/linux/stExRw1z/muldi3.c.o:
Failed to find link section for section 7
/usr/bin/armv7a-unknown-linux-gnueabihf-strip:
/var/tmp/portage/sys-libs/compiler-rt-7.0.0/image/usr/lib/clang/7.0.0/lib/linux/stExRw1z/muldi3.c.o:
Failed to find link section for section 7
/usr/bin/armv7a-unknown-linux-gnueabihf-strip:
/var/tmp/portage/sys-libs/compiler-rt-7.0.0/image/usr/lib/clang/7.0.0/lib/linux/stExRw1z/emutls.c.o:
Failed to find link section for section 9
/usr/bin/armv7a-unknown-linux-gnueabihf-strip:
/var/tmp/portage/sys-libs/compiler-rt-7.0.0/image/usr/lib/clang/7.0.0/lib/linux/stExRw1z/emutls.c.o:
Failed to find link section for section 9</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>