From owner-freebsd-arm@FreeBSD.ORG Sun Nov 23 18:27:22 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 51D7899A for ; Sun, 23 Nov 2014 18:27:22 +0000 (UTC) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1FCE237F for ; Sun, 23 Nov 2014 18:27:20 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id sANIRHqi037998; Sun, 23 Nov 2014 18:27:17 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.109] (gateway.kientzle.com [192.168.1.65]) by kientzle.com with SMTP id rnvbkw22wyngu2bcpaza2rd8in; Sun, 23 Nov 2014 18:27:17 +0000 (UTC) (envelope-from tim@kientzle.com) Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Subject: Re: latest VM images fail to compile for ARM From: Tim Kientzle In-Reply-To: <547144C5.5090002@foxvalley.net> Date: Sun, 23 Nov 2014 10:27:17 -0800 Message-Id: References: <54710D7D.3000303@foxvalley.net> <6C5FAA6F-B1B1-4499-8C0F-73C26D6D35C9@kientzle.com> <547144C5.5090002@foxvalley.net> To: Dan Raymond X-Mailer: Apple Mail (2.1993) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Nov 2014 18:27:22 -0000 > On Nov 22, 2014, at 6:21 PM, Dan Raymond = wrote: >=20 > On 11/22/2014 6:57 PM, Tim Kientzle wrote: >>=20 >>> On Nov 22, 2014, at 2:26 PM, Dan Raymond > wrote: >>>=20 >>> I am getting errors while building xdev.=20 >>=20 >> What errors? >=20 > The first error was that it couldn't find 'gperf'. When I ran it = again it gave me a different error but I don't recall the details. Let = me know if you need a log and I will set up another VM to get it. I suspect the culprit is: r272849 emaste: Build gperf only if we=92re using g++ (not clang++) It seems that the xdev targets need to be updated to build gperf as a = prerequisite for GCC. You can work around this by manually building and = installing gperf. $ cd /usr/src/gnu/usr.bin/gperf $ make && make install As described in http://stackoverflow.com/questions/3040801 = , trying to build GCC = without gperf installed leaves some broken files behind, so you need to = clean out the obj directory before trying again lest you encounter other = problems: $ rm -rf /usr/obj/armv6-freebsd/ Cheers, Tim