buildworld failure on arm/armv6 using gcc

Alie Tan alie at affle.com
Mon Jul 8 18:21:16 UTC 2013


On Sat, Jul 6, 2013 at 9:33 AM, Peter Jeremy <peter at rulingia.com> wrote:

> I'm getting the following error trying to build either r252698
> (natively) or r252781 (cross) for my RPi with gcc (ie
> WITHOUT_CLANG=yes).
>
> /usr/obj/usr/src/usr.bin/svn/svn/../lib/libsvn_subr/libsvn_subr.a(named_atomic.o):
> In function `svn_named_atomic__cmpxchg':
> named_atomic.c:(.text+0xf0): undefined reference to
> `__sync_val_compare_and_swap_8'
> /usr/obj/usr/src/usr.bin/svn/svn/../lib/libsvn_subr/libsvn_subr.a(named_atomic.o):
> In function `svn_named_atomic__add':
> named_atomic.c:(.text+0x174): undefined reference to
> `__sync_add_and_fetch_8'
> /usr/obj/usr/src/usr.bin/svn/svn/../lib/libsvn_subr/libsvn_subr.a(named_atomic.o):
> In function `svn_named_atomic__write':
> named_atomic.c:(.text+0x1c0): undefined reference to
> `__sync_lock_test_and_set_8'
> /usr/obj/usr/src/usr.bin/svn/svn/../lib/libapr/libapr.a(builtins.o): In
> function `apr_atomic_dec32':
> builtins.c:(.text+0x90): undefined reference to `__sync_sub_and_fetch_4'
> *** Error code 1
>
> Tinberbox build are succeeding but I gather they are using clang.
> I've looked back through the archives and there were similar build
> issues on both ARM & MIPS in mid April and MIPS in mid June but I
> can't find what the fix was.
>
I am getting this issue today. Are you able to solve the issue?

>
> --
> Peter Jeremy
>


More information about the freebsd-arm mailing list