Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Sep 2013 18:33:39 +0100
From:      Craig Butler <craig001@lerwick.hopto.org>
To:        freebsd-arm@freebsd.org
Subject:   help compiling ports post crochet build (BeagleBoneBlack)
Message-ID:  <1380044019.2126.16.camel@zbox>

next in thread | raw e-mail | index | archive | help
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

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




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