<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:hans@chromium.org" title="Hans Wennborg <hans@chromium.org>"> <span class="fn">Hans Wennborg</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - clang10 -Oz generates incorrect symbols for msvc 32bit target"
href="https://bugs.llvm.org/show_bug.cgi?id=42711">bug 42711</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>REOPENED
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - clang10 -Oz generates incorrect symbols for msvc 32bit target"
href="https://bugs.llvm.org/show_bug.cgi?id=42711#c12">Comment # 12</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - clang10 -Oz generates incorrect symbols for msvc 32bit target"
href="https://bugs.llvm.org/show_bug.cgi?id=42711">bug 42711</a>
from <span class="vcard"><a class="email" href="mailto:hans@chromium.org" title="Hans Wennborg <hans@chromium.org>"> <span class="fn">Hans Wennborg</span></a>
</span></b>
<pre>(In reply to Lucas Wang from <a href="show_bug.cgi?id=42711#c11">comment #11</a>)
<span class="quote">> (In reply to Hans Wennborg from <a href="show_bug.cgi?id=42711#c10">comment #10</a>)
> > (In reply to Lucas Wang from <a href="show_bug.cgi?id=42711#c8">comment #8</a>)
> > > arm 32bit has the same error
> >
> > Fixed in decd021facba804b57e8d80b6159c987d3261ab8 on master and
> > 882720b7ce338c81aa24c1c2b2614c47d248920f on release/10.x.
>
> Simply check windows target can fix the issue. But in fact these symbols are
> defined in compiler-rt(and libgcc). So if a toolchain targets windows use
> compiler-rt by default or via --rtlib=compiler-rt, then keeping these
> symbols is fine. Try this toolchain <a href="https://github.com/mstorsjo/llvm-mingw">https://github.com/mstorsjo/llvm-mingw</a>
> (used by VLC iirc). It's triple is thumbv7-w64-windows-gnu, so checking msvc
> or gnu abi should be better then windows.</span >
I think this bug is still fixed though. If you want to make it less
conservative, and emit these symbols for mingw, patches are welcome.</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>