Cross-buildworld works but not native build?

Tim Kientzle kientzle at freebsd.org
Sun Apr 29 23:22:53 UTC 2012


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.)

Tim



More information about the freebsd-arm mailing list