From owner-freebsd-arm@FreeBSD.ORG Tue Feb 24 00:58:53 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 14514CC for ; Tue, 24 Feb 2015 00:58:53 +0000 (UTC) Received: from wa3yre.wynn.com (wa3yre.wynn.com [199.89.147.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BFC1BC40 for ; Tue, 24 Feb 2015 00:58:52 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by wa3yre.wynn.com (8.14.3/8.12.6) with ESMTP id t1O0wntM058467; Mon, 23 Feb 2015 19:58:49 -0500 (EST) (envelope-from freebsd-arm@wynn.com) Date: Mon, 23 Feb 2015 19:58:49 -0500 From: Brett Wynkoop To: Michael Mitchell Subject: Re: kernel build fails Message-ID: <20150223195849.2bd35212@ivory.wynn.com> In-Reply-To: References: <20150223173731.4902457d@ivory.wynn.com> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.25; x86_64-apple-darwin10.8.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2015 00:58:53 -0000 On Mon, 23 Feb 2015 15:21:45 -0800 Michael Mitchell 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? -Brett -- wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt 917-642-6925 929-272-0000 Amendment IV The right of the people to be secure in their persons, houses, papers, and effects, against unreasonable searches and seizures, shall not be violated, and no warrants shall issue, but upon probable cause, supported by oath or affirmation, and particularly describing the place to be searched, and the persons or things to be seized.