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>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Feb 23, 2015, at 5:58 PM, Brett Wynkoop <freebsd-arm@wynn.com> = wrote: >=20 > On Mon, 23 Feb 2015 15:21:45 -0800 > Michael Mitchell <mmitchel@gmail.com> wrote: >=20 >> i thought any arch except armv6 is currently problematic. (this is my >> experience with 10.x so far). >=20 >>> = /usr/src/sys/arm/compile/BEAGLEBONE/../../../cddl/compat/opensolaris/sys/d= ebug_compat.h >>> /usr/src/sys/arm/compile/BEAGLEBONE/../../../arm/arm/genassym.c >>> cc: error: argument unused during compilation: >>> '-march=3Darmv7a' [-Werror,-Wunused-command-line-argument] *** Error >>> code 1 >>>=20 >>> Stop. >>> make[3]: stopped in /usr/src/sys/modules/dtrace/dtrace >>> *** Error code 1 >>>=20 >>> Stop. >>> make[2]: stopped in /usr/src/sys/modules/dtrace >>> *** Error code 1 >>>=20 >>> Stop. >>> make[1]: stopped in /usr/src/sys/modules >>> *** Error code 1 >>>=20 >>> Stop. >>> make: stopped in /usr/src/sys/arm/compile/BEAGLEBONE >>> root@beaglebone:/usr/src/sys/arm/compile/BEAGLEBONE # >>>=20 >=20 > 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. >=20 > Am I the only person who tries native kernel builds? It comes from the config file. If your toolchain doesn=E2=80=99t = understand it, you need to update. Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BBA5F23A-64D7-4A3D-AA5B-7EFF692A9D5F>