<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 - archive libraries larger than 4G get bad archive symbol table entries"
href="https://bugs.llvm.org/show_bug.cgi?id=34189">34189</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>archive libraries larger than 4G get bad archive symbol table entries
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</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>Object
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>roland@hack.frob.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org, phosek@chromium.org
</td>
</tr></table>
<p>
<div>
<pre>The traditional archive symbol table format uses 32-bit offsets into the
archive. This obviously breaks down when the offset to some member is >=4G.
GNU ar/ranlib detects the situation and switches to the "/SYM64/" format for
the archive symbol table, which is just the same format but with 64-bit
offsets.
llvm-ar silently writes an archive with a bogus archive symbol table when its
output file contains a member that starts at >=4G.
AFAICT lld and other tools do not grok the "/SYM64/" format in their inputs.</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>