<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 03/18/2013 10:28 AM, Renato Golin wrote:
<blockquote
cite="mid:CAMSE1kd0KSC0mUBQJcx-+MhAi34rWweQOLbQu2e__ODJ7So4tg@mail.gmail.com"
type="cite">
<div dir="ltr">On 17 March 2013 22:40, SArora <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:silkyar@umich.edu" target="_blank">silkyar@umich.edu</a>></span>
wrote:<br>
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">However,
this errors out saying<br>
<br>
/home/silky/VecProject/opencv/OpenCVInstall/arm/include/opencv2/core/mat.hpp:117:9:<br>
error: cannot compile this atomic library call yet<br>
CV_XADD(refcount, 1);<br>
^~~~~~~~~~~~~~~~~~~~<br>
/home/silky/VecProject/opencv/OpenCVInstall/arm/include/opencv2/core/operations.hpp:61:38:<br>
note: expanded from macro 'CV_XADD'<br>
#define CV_XADD(addr, delta)<br>
__c11_atomic_fetch_add((_Atomic(int)*)(addr), (delta), __ATOMIC_SEQ_CST)<br>
</blockquote>
<div><br>
</div>
<div style="">This is odd. This atomic is implemented in
CGAtomic.cpp, but it's being lowered as a library call because
"UseLibcall" is true:</div>
<div style=""><br>
</div>
<div style="">
<div>bool UseLibcall = (Size != Align ||</div>
<div> getContext().toBits(sizeChars) >
MaxInlineWidthInBits);</div>
<div><br>
</div>
<div style="">I don't think it should in your case. That looks like a
bug, but I'm not an atomic library expert. Can you create a bug in
bugzilla (<a moz-do-not-send="true" href="http://www.llvm.org/bugs/">http://www.llvm.org/bugs/</a>),
please?</div>
<div style=""><br>
</div>
<div style="">Possibly, you should send an email with this error and
the bugzilla ID to the list, just to make sure you get the attention of
the right people.</div>
<div style=""><br>
</div>
<div style="">cheers,</div>
<div style="">--renato</div>
</div>
</div>
</div>
</div>
<br>
</blockquote>
<br>
Hello,<br>
This is the same issue reported here
<a class="moz-txt-link-freetext" href="http://llvm.org/bugs/show_bug.cgi?id=15429">http://llvm.org/bugs/show_bug.cgi?id=15429</a><br>
</body>
</html>