From owner-freebsd-arm@freebsd.org Mon Oct 9 18:19:44 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A2E90E3830F for ; Mon, 9 Oct 2017 18:19:44 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1a.eu.mailhop.org (outbound1a.eu.mailhop.org [52.58.109.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4158D7540C for ; Mon, 9 Oct 2017 18:19:43 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: 66a24089-ad1e-11e7-a893-25625093991c X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.78.92.27 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.78.92.27]) by outbound1.eu.mailhop.org (Halon) with ESMTPSA id 66a24089-ad1e-11e7-a893-25625093991c; Mon, 09 Oct 2017 18:19:35 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id v99IJVx8001751; Mon, 9 Oct 2017 12:19:31 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1507573171.84167.9.camel@freebsd.org> Subject: Re: Difficulty with armv6 to v7 transition. From: Ian Lepore To: bob prohaska , freebsd-arm@freebsd.org Date: Mon, 09 Oct 2017 12:19:31 -0600 In-Reply-To: <20171009175216.GA52497@www.zefox.net> References: <20171009175216.GA52497@www.zefox.net> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 18:19:44 -0000 On Mon, 2017-10-09 at 10:52 -0700, bob prohaska wrote: > On an RPI2 model B, invoking  > make -j4 -DNO_CLEAN MACHINE_ARCH=armv7 buildworld > buildworld.log Never set MACHINE_ARCH when building, use TARGET_ARCH.  Be sure to set TARGET_ARCH when installing as well. -- Ian > (after a cleandir) > the log promptly reports > make[1]: "/usr/src/Makefile.inc1" line 162: SYSTEM_COMPILER: > Determined that CC=cc matches the source tree.  Not bootstrapping a > cross-compiler. > make[1]: "/usr/src/Makefile.inc1" line 450: To cross-build, set > TARGET_ARCH. > *** [buildworld] Error code 1 > > make: stopped in /usr/src > > The kernel is r322520, sources are at 324424. Kernel r324342 does > likewise. > > Thanks for reading, and any suggestions. > > bob prohaska > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org > "