[LLVMdev] Running cross compiled binaries for ARM on gem5
Abdoulaye Walsimou Gaye
awg at embtoolkit.org
Mon Mar 18 02:43:17 PDT 2013
On 03/18/2013 10:28 AM, Renato Golin wrote:
> On 17 March 2013 22:40, SArora <silkyar at umich.edu
> <mailto:silkyar at umich.edu>> wrote:
>
> However, this errors out saying
>
> /home/silky/VecProject/opencv/OpenCVInstall/arm/include/opencv2/core/mat.hpp:117:9:
> error: cannot compile this atomic library call yet
> CV_XADD(refcount, 1);
> ^~~~~~~~~~~~~~~~~~~~
> /home/silky/VecProject/opencv/OpenCVInstall/arm/include/opencv2/core/operations.hpp:61:38:
> note: expanded from macro 'CV_XADD'
> #define CV_XADD(addr, delta)
> __c11_atomic_fetch_add((_Atomic(int)*)(addr), (delta),
> __ATOMIC_SEQ_CST)
>
>
> This is odd. This atomic is implemented in CGAtomic.cpp, but it's
> being lowered as a library call because "UseLibcall" is true:
>
> bool UseLibcall = (Size != Align ||
> getContext().toBits(sizeChars) >
> MaxInlineWidthInBits);
>
> 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
> (http://www.llvm.org/bugs/), please?
>
> 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.
>
> cheers,
> --renato
>
Hello,
This is the same issue reported here
http://llvm.org/bugs/show_bug.cgi?id=15429
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130318/7553b1e5/attachment.html>
More information about the llvm-dev
mailing list