Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Apr 2012 09:52:31 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Tim Kientzle <kientzle@FreeBSD.org>
Cc:        arm@FreeBSD.org
Subject:   Re: Cross-buildworld works but not native build?
Message-ID:  <F6DC5E50-FFBF-4FDF-B84A-B32898C02EC6@bsdimp.com>
In-Reply-To: <A8B74A6F-1BAB-49C4-9DCF-E74D495A2611@freebsd.org>
References:  <9AD7075B-B85D-40DB-84B7-FD630B858A30@freebsd.org> <CAP%2BM-_Ev1TE7JEmSRbVPg3HRwMfsPVyNyR92X5UONdxmGryuaQ@mail.gmail.com> <495386AF-37AB-450D-B78C-2A6282083587@bsdimp.com> <A8B74A6F-1BAB-49C4-9DCF-E74D495A2611@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Apr 29, 2012, at 5:22 PM, Tim Kientzle wrote:

> On Apr 27, 2012, at 1:04 PM, Warner Losh wrote:
>>=20
>>> On Fri, Apr 27, 2012 at 1:48 AM, Tim Kientzle <kientzle@freebsd.org> =
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.
>=20
> With that change, the current armv6 tree can successfully
> complete a native buildworld/installworld on BeagleBone.
>=20
> Next step:  get buildkernel/installkernel to work.  (I have
> most of the pieces I need; just some slogging to fit it together
> properly.)

Cool.  I'll be trying to get that change merged into my =
MACHINE_ARCH=3Darmv6 patches.

Warner




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F6DC5E50-FFBF-4FDF-B84A-B32898C02EC6>