Two questions on -current...

Warner Losh imp at bsdimp.com
Fri Jun 21 02:10:57 UTC 2013


On Jun 20, 2013, at 7:26 PM, Brian J. McGovern wrote:

> On Mon, 2013-06-17 at 22:23 -0600, Warner Losh wrote:
>> On Jun 17, 2013, at 10:10 PM, Jason Birch wrote:
>>> 2.) When trying to compile DB-88F6XXX, I'm getting an error "error:
>>> unknown target CPU 'armv5te', despite a find ... grep... on the code
>>> showing this option in both gcc and clang compilers and tools. Is this
>>> processor deprecated in current? Is there are a replacement? Did I miss
>>> a change in how to build the kernel (Currently using "make TARGET=arm
>>> TARGET_ARCH=arm KERNCONF=DB-88F6XXX buildkernel" in /usr/src)?
>>> 
>>> You'll need TARGET_ARCH=armv6, I think. 
>> 
>> The Marvel Kirkwood are armv5te.
>> 
>> I think the actual problem may be that no buildworld and/or kernel-toolchain was done first...
>> 
>> Warner
>> 
>> 
>> 
> 
> Would this be a make XDEV=arm XDEV_ARCH=arm xdev? A buildworld and xdev
> had been done prior, but I have not specifically run a kernel-toolchain.
> The only thing I didn't try was to chroot in to the resulting directory
> in /usr.

We don't have automatic support for using the XDEV-built compilers for the kernel. External tool chains were added recently, but I haven't taken it out for a spin yet...

Warner




More information about the freebsd-arm mailing list