<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 - lld-link fails to detect an attributes mismatch which link.exe does detect"
href="https://bugs.llvm.org/show_bug.cgi?id=40229">40229</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>lld-link fails to detect an attributes mismatch which link.exe does detect
</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>brucedawson@chromium.org
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Building Chrome on Windows (x86 or x64) with link.exe (use_lld=false) the
following warning is hit:
libvpx_yasm.lib(vpx_subpixel_8t_ssse3.o) : warning LNK4078: multiple '.rodata'
sections found with different attributes (40500040)
LINK : error LNK1218: warning treated as error; no output file generated
This suggests two issues:
1) We are creating .rodata sections with different attributes in
vpx_subpixel_8t_ssse3.o
2) lld-link.exe is not noticing this discrepancy
Because this is only a warning I can move past it by adding /ignore:4078 to
common_linker_setup but I don't want to commit to such a "fix" because I don't
understand how we are ending up with different attributes and what they mean.
The gn args I used are listed here:
use_lld = false
is_component_build = false
is_debug = false
target_cpu = "x86"
enable_nacl = false
I filed crbug.com/919180 to track fixing libvpx to avoid the different
attributes, but fixing lld-link.exe to detect the different attributes would
also be valuable since it would ensure that we find these glitches in a timely
manner. The time frame for the regression is unknown.</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>