Date: Mon, 23 Feb 2015 19:16:10 -0700 From: Warner Losh <imp@bsdimp.com> To: Brett Wynkoop <freebsd-arm@wynn.com> Cc: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: kernel build fails Message-ID: <BBA5F23A-64D7-4A3D-AA5B-7EFF692A9D5F@bsdimp.com> In-Reply-To: <20150223195849.2bd35212@ivory.wynn.com> References: <20150223173731.4902457d@ivory.wynn.com> <CAKtsCdfuqimQs7z1xGc1yPwBT9obSctQgj=uKFCS6dPrKCkZLQ@mail.gmail.com> <20150223195849.2bd35212@ivory.wynn.com>
index | next in thread | previous in thread | raw e-mail
> On Feb 23, 2015, at 5:58 PM, Brett Wynkoop <freebsd-arm@wynn.com> wrote: > > On Mon, 23 Feb 2015 15:21:45 -0800 > Michael Mitchell <mmitchel@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@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. Warnerhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BBA5F23A-64D7-4A3D-AA5B-7EFF692A9D5F>
