<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:s_llvm@nedprod.com" title="Niall Douglas <s_llvm@nedprod.com>"> <span class="fn">Niall Douglas</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - libstdc++ std::thread, when compiled with clang, "pure virtual method called""
href="http://llvm.org/bugs/show_bug.cgi?id=12730">bug 12730</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>RESOLVED
</td>
<td>REOPENED
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>s_llvm@nedprod.com
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>FIXED
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - libstdc++ std::thread, when compiled with clang, "pure virtual method called""
href="http://llvm.org/bugs/show_bug.cgi?id=12730#c13">Comment # 13</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - libstdc++ std::thread, when compiled with clang, "pure virtual method called""
href="http://llvm.org/bugs/show_bug.cgi?id=12730">bug 12730</a>
from <span class="vcard"><a class="email" href="mailto:s_llvm@nedprod.com" title="Niall Douglas <s_llvm@nedprod.com>"> <span class="fn">Niall Douglas</span></a>
</span></b>
<pre>@Michael Spencer: Is there a good reason why your fix adding the
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_[1248] macros in SVN rev 178816 is x86 only?
If you look at <a href="http://sourceware.org/ml/libc-ports/2010-11/msg00005.html">http://sourceware.org/ml/libc-ports/2010-11/msg00005.html</a> you'll
see that on ARM the use of atomic builtins only happens if
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 is set.
This rather implies the need for every architecture target, not just x86, to
set __GCC_HAVE_SYNC_COMPARE_AND_SWAP_[1248] macros according to whether that
target provides CAS ops of varying sizes.
FYI I just got bit on this bug but with an ARM target, hence me finding this
report.
Niall</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>