From owner-freebsd-arm@FreeBSD.ORG Tue Feb 24 02:02:04 2015 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.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 45BE82CC for ; Tue, 24 Feb 2015 02:02:04 +0000 (UTC) Received: from wa3yre.wynn.com (wa3yre.wynn.com [199.89.147.3]) (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 D6666338 for ; Tue, 24 Feb 2015 02:02:03 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by wa3yre.wynn.com (8.14.3/8.12.6) with ESMTP id t1O21wPE061078; Mon, 23 Feb 2015 21:01:59 -0500 (EST) (envelope-from freebsd-arm@wynn.com) Date: Mon, 23 Feb 2015 21:01:58 -0500 From: Brett Wynkoop To: Warner Losh Subject: Re: kernel build fails Message-ID: <20150223210158.4274a951@ivory.wynn.com> In-Reply-To: <96BAB57B-85DD-4056-A19C-6853687A0413@bsdimp.com> References: <20150223173731.4902457d@ivory.wynn.com> <20150223185333.0b6c56c4@ivory.wynn.com> <96BAB57B-85DD-4056-A19C-6853687A0413@bsdimp.com> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.25; x86_64-apple-darwin10.8.0) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-arm@freebsd.org" 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: Tue, 24 Feb 2015 02:02:04 -0000 On Mon, 23 Feb 2015 17:34:00 -0700 Warner Losh wrote: > Can you describe your host environment, including the date it was > last updated, as well as the exact version of the sources you are > trying to build? It sounds like a tool mismatch. We=E2=80=99ve been moving > very quickly and lately the =E2=80=9Calways works=E2=80=9D buildkernel wi= ll often > fail when you haven=E2=80=99t updated your tools with a make buildworld or > make kernel-toolchain before make buildkernel. >=20 > Warner >=20 The hardware is a bog standard BeagleBone (not black). The environment was produced with crochet a couple of weeks ago. FreeBSD beaglebone 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r278741: Sat Feb 14 06:04:22 EST 2015 wynkoop@prd2.wynn.com:/proj/wynkoop/crochet/crochet-freebsd-master/work/obj= /arm.armv6/proj/wynkoop/armsrc/sys/BEAGLEBONE arm A few days ago I tried to NFS mount the arm sources from prd2 and do a kernel build directly on the BB using the generic BEAGLEBONE config file. That build failed, so I then did a svn up of my arm source tree on prd2 and tried again. =20 After that to make sure NFS was not any part of the issue I rsynced the sources to the BB /usr/src and tried again, then most recently today I did another svn up and tried again. I have set nothing on the BeagleBone in any way other than what was produced by crochet. I hope this provides needed clues. BTW I have 512M swap. My first attempts to build failed on out of memory. -Brett --=20 wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt 917-642-6925 The Second Amendment extends, prima facie, to all instruments that=20 constitute bearable arms, even those that were not in existence=20 at the time of the founding. ~ Justice Scalia