From owner-freebsd-arm@FreeBSD.ORG Tue Sep 24 17:38:50 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 83027B0F for ; Tue, 24 Sep 2013 17:38:50 +0000 (UTC) (envelope-from craig001@lerwick.hopto.org) Received: from mx.bsdtec.net (mx.bsdtec.net [174.34.171.65]) by mx1.freebsd.org (Postfix) with ESMTP id 54AAD2CFB for ; Tue, 24 Sep 2013 17:38:49 +0000 (UTC) Received: from localhost (mx.bsdtec.net [172.16.32.2]) by mx.bsdtec.net (Postfix) with ESMTP id 06CF2489876 for ; Tue, 24 Sep 2013 17:31:40 +0000 (UTC) Received: from mx.bsdtec.net ([172.16.32.2]) by localhost (mx.bsdtec.net [172.16.32.2]) (amavisd-new, port 10032) with ESMTP id 8KhRM9TOzNiD for ; Tue, 24 Sep 2013 17:31:38 +0000 (UTC) Received: from localhost (mx.bsdtec.net [172.16.32.2]) by mx.bsdtec.net (Postfix) with ESMTP id 30E7D48A155 for ; Tue, 24 Sep 2013 17:31:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at bsdtec.net Received: from mx.bsdtec.net ([172.16.32.2]) by localhost (mx.bsdtec.net [172.16.32.2]) (amavisd-new, port 10026) with ESMTP id ETQgv3L0sqVc for ; Tue, 24 Sep 2013 17:31:37 +0000 (UTC) Received: from [192.168.1.3] (bsdtec.plus.com [84.92.41.141]) by mx.bsdtec.net (Postfix) with ESMTPSA id 3BBDE489876 for ; Tue, 24 Sep 2013 17:31:37 +0000 (UTC) Subject: help compiling ports post crochet build (BeagleBoneBlack) From: Craig Butler To: freebsd-arm@freebsd.org Date: Tue, 24 Sep 2013 18:33:39 +0100 Message-ID: <1380044019.2126.16.camel@zbox> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Type: text/plain; charset="iso8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Sep 2013 17:38:50 -0000 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 : 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