<html>
<head>
<base href="https://llvm.org/bugs/" />
</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 --- - ranlib from Xcode 7.3.1 and later fails on LTO object files generate by llvm.org clang"
href="https://llvm.org/bugs/show_bug.cgi?id=30791">30791</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>ranlib from Xcode 7.3.1 and later fails on LTO object files generate by llvm.org clang
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>3.9
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Macintosh
</td>
</tr>
<tr>
<th>OS</th>
<td>MacOS X
</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>howarth.mailing.lists@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>On OS X 10.11 with Xcode 7.3.1 or with Xcode 8.1 GM, the system ranlib fails
during 'ar rc' on a set of object files created with -flto by the llvm.org
clang 3.9 or 4.0svn compiler...
ar cr libtar.a paxerror.o paxexit-status.o paxnames.o rtapelib.o stdopen.o
wordsplit.o xattr-at.o
error: Unknown attribute kind (52) (Producer: 'LLVM4.0.0' Reader: 'LLVM
APPLE_1_800.0.42.1_0')
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar:
internal ranlib command failed
This error doesn't occur for the same llvm.org clang 3.9 or 4.0svn compilers
under the ranlib from Xcode 5.1 on OS X 10.9 or Xcode 7.2.1 on OS X 10.10.
This issue doesn't occur with the system clang compiler on any of the above
Xcode releases while compiling tar 1.29 using -flto.</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>