Cross-buildworld works but not native build?

Warner Losh imp at bsdimp.com
Mon Apr 30 16:05:55 UTC 2012


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

> On Apr 27, 2012, at 1:04 PM, Warner Losh wrote:
>> 
>>> On Fri, Apr 27, 2012 at 1:48 AM, Tim Kientzle <kientzle at freebsd.org> wrote:
>>>> I've been working with the projects/armv6 tree and have encountered a very confusing situation.
>>>> 
>>>> On i386, this works:
>>>> $ make TARGET_ARCH=arm TARGET_CPUTYPE=armv6 buildworld
>>>> 
>>>> If I take the resulting world and run it on arm, then the following fails (with the exact same source):
>>>> $ make buildworld
>> 
>> I think it would work in the current tree if you added TARGET_CPUTYPE=armv6 to the buildworld.
>> 
>> 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.)

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

Warner



More information about the freebsd-arm mailing list