Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jul 2013 11:33:48 +1000
From:      Peter Jeremy <peter@rulingia.com>
To:        freebsd-arm@freebsd.org
Subject:   buildworld failure on arm/armv6 using gcc
Message-ID:  <20130706013348.GP39302@server.rulingia.com>

next in thread | raw e-mail | index | archive | help

--3VRmKSg17yJg2MZg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I'm getting the following error trying to build either r252698
(natively) or r252781 (cross) for my RPi with gcc (ie
WITHOUT_CLANG=3Dyes).

/usr/obj/usr/src/usr.bin/svn/svn/../lib/libsvn_subr/libsvn_subr.a(named_ato=
mic.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_ato=
mic.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_ato=
mic.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 fun=
ction `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.

--=20
Peter Jeremy

--3VRmKSg17yJg2MZg
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (FreeBSD)

iEUEARECAAYFAlHXc/wACgkQ/opHv/APuIcsiACgk9bX8l8sIUZtMkHMPVejA42E
ME0AmPYijVpQw2OJhgbzPNyRiEk0mvc=
=q8x2
-----END PGP SIGNATURE-----

--3VRmKSg17yJg2MZg--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130706013348.GP39302>