<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - build fails with memory model cannot be stronger than success memory model for ‘__atomic_compare_exchange’"
href="https://bugs.webkit.org/show_bug.cgi?id=155371#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - build fails with memory model cannot be stronger than success memory model for ‘__atomic_compare_exchange’"
href="https://bugs.webkit.org/show_bug.cgi?id=155371">bug 155371</a>
from <span class="vcard"><a class="email" href="mailto:guijemont@igalia.com" title="Guillaume Emont <guijemont@igalia.com>"> <span class="fn">Guillaume Emont</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=282039&action=diff" name="attach_282039" title="Safe workaround, but probably suboptimal.">attachment 282039</a> <a href="attachment.cgi?id=282039&action=edit" title="Safe workaround, but probably suboptimal.">[details]</a></span>
Safe workaround, but probably suboptimal.
After a quick inquiry, it seems to me that there is an issue with gcc and/or libstdc++. The relevan code in libstdc++ doesn't look suspicious though, so I'd lean towards an issue with gcc's -Os under some specific conditions that we meet, though I could be wrong. I have tried to make a simple test case that reproduces that to understand better what's up but have not succeeded so far. In the meantime, this seems to work as a workaround (it compiles and looks safe, though locks might get slower than they could because of this).</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>