help compiling ports post crochet build (BeagleBoneBlack)

Craig Butler craig001 at lerwick.hopto.org
Tue Sep 24 17:38:50 UTC 2013


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 at beaglebone:~ # uname -a
FreeBSD beaglebone 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r+044c45e: Tue
Jul  9 08:55:47 BST 2013
root at 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



More information about the freebsd-arm mailing list