From owner-freebsd-arm@FreeBSD.ORG Sun Apr 29 23:22:53 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8A2F8106566C for ; Sun, 29 Apr 2012 23:22:53 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id 634F88FC0A for ; Sun, 29 Apr 2012 23:22:53 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id q3TNMaId000908; Sun, 29 Apr 2012 23:22:36 GMT (envelope-from kientzle@freebsd.org) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id aw9y9e2d8fse97guev34337z2a; Sun, 29 Apr 2012 23:22:36 +0000 (UTC) (envelope-from kientzle@freebsd.org) Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=windows-1252 From: Tim Kientzle In-Reply-To: <495386AF-37AB-450D-B78C-2A6282083587@bsdimp.com> Date: Sun, 29 Apr 2012 16:22:35 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <9AD7075B-B85D-40DB-84B7-FD630B858A30@freebsd.org> <495386AF-37AB-450D-B78C-2A6282083587@bsdimp.com> To: Warner Losh X-Mailer: Apple Mail (2.1257) Cc: arm@freebsd.org Subject: Re: Cross-buildworld works but not native build? X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2012 23:22:53 -0000 On Apr 27, 2012, at 1:04 PM, Warner Losh wrote: >=20 >> On Fri, Apr 27, 2012 at 1:48 AM, Tim Kientzle = wrote: >>> I've been working with the projects/armv6 tree and have encountered = a very confusing situation. >>>=20 >>> On i386, this works: >>> $ make TARGET_ARCH=3Darm TARGET_CPUTYPE=3Darmv6 buildworld >>>=20 >>> If I take the resulting world and run it on arm, then the following = fails (with the exact same source): >>> $ make buildworld >=20 > I think it would work in the current tree if you added = TARGET_CPUTYPE=3Darmv6 to the buildworld. >=20 > I'm hoping to fix issues like this in my armv6 patches. With that change, the current armv6 tree can successfully complete a native buildworld/installworld on BeagleBone. Next step: get buildkernel/installkernel to work. (I have most of the pieces I need; just some slogging to fit it together properly.) Tim