[LLVMdev] build failure on ARM linux
aph at redhat.com
Tue Jun 30 14:05:56 PDT 2009
Nick Lewycky wrote:
> 2009/6/30 Andrew Haley <aph at redhat.com <mailto:aph at redhat.com>>
> Nick Lewycky wrote:
> > I'm seeing this new build failure, starting some time yesterday on
> Yes. It's just a matter of defining __sync_val_compare_and_swap_4:
> The program is supposed to define it? LLVM doesn't directly call
> __sync_val_compare_and_swap_4, so either the system headers #define
> something else to it or gcc lowers another call to that.
gcc lowers atomic operations to that. It's part of libgcc now.
> In either case, why is it declared HIDDEN?
I'm not sure.
More information about the llvm-dev