Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jul 2013 02:21:09 +0800
From:      Alie Tan <alie@affle.com>
To:        Peter Jeremy <peter@rulingia.com>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: buildworld failure on arm/armv6 using gcc
Message-ID:  <CANuCnH-5VDSBc6Oe33YHGn_WpzXwiPYraT39d=b_b0nO9j5KGQ@mail.gmail.com>
In-Reply-To: <20130706013348.GP39302@server.rulingia.com>
References:  <20130706013348.GP39302@server.rulingia.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 6, 2013 at 9:33 AM, Peter Jeremy <peter@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
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANuCnH-5VDSBc6Oe33YHGn_WpzXwiPYraT39d=b_b0nO9j5KGQ>