kernel build fails
Warner Losh
imp at bsdimp.com
Tue Feb 24 02:16:19 UTC 2015
> On Feb 23, 2015, at 5:58 PM, Brett Wynkoop <freebsd-arm at wynn.com> wrote:
>
> On Mon, 23 Feb 2015 15:21:45 -0800
> Michael Mitchell <mmitchel at gmail.com> wrote:
>
>> i thought any arch except armv6 is currently problematic. (this is my
>> experience with 10.x so far).
>
>>> /usr/src/sys/arm/compile/BEAGLEBONE/../../../cddl/compat/opensolaris/sys/debug_compat.h
>>> /usr/src/sys/arm/compile/BEAGLEBONE/../../../arm/arm/genassym.c
>>> cc: error: argument unused during compilation:
>>> '-march=armv7a' [-Werror,-Wunused-command-line-argument] *** Error
>>> code 1
>>>
>>> Stop.
>>> make[3]: stopped in /usr/src/sys/modules/dtrace/dtrace
>>> *** Error code 1
>>>
>>> Stop.
>>> make[2]: stopped in /usr/src/sys/modules/dtrace
>>> *** Error code 1
>>>
>>> Stop.
>>> make[1]: stopped in /usr/src/sys/modules
>>> *** Error code 1
>>>
>>> Stop.
>>> make: stopped in /usr/src/sys/arm/compile/BEAGLEBONE
>>> root at beaglebone:/usr/src/sys/arm/compile/BEAGLEBONE #
>>>
>
> So the question is where did the -march-arm7a come from? It seems to
> me it should not be in the kernel tree and someone introduced it in
> error.
>
> Am I the only person who tries native kernel builds?
It comes from the config file. If your toolchain doesn’t understand it, you
need to update.
Warner
More information about the freebsd-arm
mailing list