Date: Tue, 24 Sep 2013 21:47:45 +0200 From: "Ronald Klop" <ronald-freebsd8@klop.yi.org> To: freebsd-arm@freebsd.org Subject: Re: help compiling ports post crochet build (BeagleBoneBlack) Message-ID: <op.w3xk9xyl8527sy@212-182-167-131.ip.telfort.nl> In-Reply-To: <1380044019.2126.16.camel@zbox> References: <1380044019.2126.16.camel@zbox>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 24 Sep 2013 19:33:39 +0200, Craig Butler <craig001@lerwick.hopto.org> wrote: > Hello Folks > > I'm stuck compiling webcamd and dependent ports native on the the > BeagleBoneBlack > > If I try and compile normally using clang/llvm then devel/gettext kicks > out with - > 1. /usr/include/c++/4.2/bits/basic_string.tcc:979:43: current > parser token ';' > 2. /usr/include/c++/4.2/bits/basic_string.tcc:49:1 > <Spelling=/usr/include/c++/4.2/bits/c++config.h:76:38>: parsing > namespace 'std' > c++: error: unable to execute command: Bus error (core dumped) > c++: error: clang frontend command failed due to signal (use -v to see > invocation) > FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 > Target: armv6-unknown-freebsd10.0 > Thread model: posix > > with gcc -- build gets further but devel/glib20 port build kicks out > with - > gmake[4]: Entering directory > `/var/ports/usr/ports/devel/glib20/work/glib-2.36.3/glib' > CCLD gtester > ./.libs/libglib-2.0.so: undefined reference to `__sync_fetch_and_xor_4' > ./.libs/libglib-2.0.so: undefined reference to `__sync_fetch_and_sub_4' > ./.libs/libglib-2.0.so: undefined reference to `__sync_fetch_and_add_4' > ./.libs/libglib-2.0.so: undefined reference to > `__sync_bool_compare_and_swap_4' > ./.libs/libglib-2.0.so: undefined reference to `__sync_fetch_and_or_4' > ./.libs/libglib-2.0.so: undefined reference to `__sync_fetch_and_and_4' > gmake[4]: *** [gtester] Error 1 > gmake[4]: Leaving directory `/var/ports/usr/ports/devel/glib2 Hi, Maybe this commit fixed your problem with gcc. http://svnweb.freebsd.org/changeset/base/255738 It mentions the same variables at least. NB: a kernel/system from July is fairly old in terms of ARM development. A lot of problems with the gcc/clang and OABI/EABI switch are solved in the mean time. Ronald. > > root@beaglebone:~ # uname -a > FreeBSD beaglebone 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r+044c45e: Tue > Jul 9 08:55:47 BST 2013 > root@xxxx:/un/git/crochet-freebsd/work/obj/arm.armv6/un/git/crochet-freebsd/src/sys/BEAGLEBONE > arm > > I am a bit stuck and unsure where to look next. Has anyone else > experienced the same problem ?? > > Kind Regards > > Craig Butler > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.w3xk9xyl8527sy>