Failure compiling glib20 on ARM
Andrew Turner
andrew at fubar.geek.nz
Mon Sep 9 22:17:35 UTC 2013
On Sun, 08 Sep 2013 07:02:04 -0400
George Mitchell <george at m5p.com> wrote:
> ./.libs/libglib-2.0.so: undefined reference to
> `__sync_bool_compare_and_swap_4'
> While making gtester in glib20 (required by accessibility/atk,
> required by print/cups-base, required by print/cups). What should I
> do next? -- George
>
I don't see support for it in our stdatomic functions. It shouldn't be
too hard to support, a simple would be something like:
int __sync_bool_compare_and_swap_4(uint32_t *mem, uint32_t expected,
uint32_t new)
{
return (__sync_val_compare_and_swap_4(mem, expected, new) ==
expected);
}
Andrew
More information about the freebsd-arm
mailing list