<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 - Warn when PE file size is greater than 2GB"
href="https://bugs.llvm.org/show_bug.cgi?id=43342">43342</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Warn when PE file size is greater than 2GB
</td>
</tr>
<tr>
<th>Product</th>
<td>lld
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</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>COFF
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>rnk@google.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>LLD can produce large binaries that Windows will refuse to run. The error code
from CreateProcess in these cases is confusing. It would be nice if LLD would
warn when the output file size is large.
I think there are some cases (DWARF) when the PE file might be large and then
the resulting file might be stripped, so this probably can't be hard error, but
we should do something to make this use case easier to debug.
See <a href="https://bugs.chromium.org/p/chromium/issues/detail?id=1003624#c14">https://bugs.chromium.org/p/chromium/issues/detail?id=1003624#c14</a> which
inspired this.</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>