From owner-freebsd-arm@freebsd.org Tue Nov 7 05:04:52 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 E968BE4EA48 for ; Tue, 7 Nov 2017 05:04:52 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [69.239.235.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BF09A7B811; Tue, 7 Nov 2017 05:04:52 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id vA7551QQ087778 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 6 Nov 2017 21:05:02 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id vA75500k087777; Mon, 6 Nov 2017 21:05:00 -0800 (PST) (envelope-from fbsd) Date: Mon, 6 Nov 2017 21:05:00 -0800 From: bob prohaska To: Warner Losh Cc: "freebsd-arm@freebsd.org" , fbsd@www.zefox.net, Garrett Cooper Subject: Re: Make cleandir stops with malformed conditional on RPI2 Message-ID: <20171107050500.GB87573@www.zefox.net> References: <20171107035831.GA87573@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) 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: Tue, 07 Nov 2017 05:04:53 -0000 It seems that using CPUTYPE=native in the make command solves the problem, letting make cleandir run to completion. Is this a reasonable short-term fix? The goal is merely to run buildworld/kernel from a fresh start to see if it finishes. Many thanks! bob prohaska On Mon, Nov 06, 2017 at 09:11:36PM -0700, Warner Losh wrote: > I think this is due to > https://svnweb.freebsd.org/base/head/lib/libclang_rt/Makefile.inc?revision=325449&view=markup > by ngie@. Looks like CPUTYPE isn't defined for you for some reason. > > Warner > > On Mon, Nov 6, 2017 at 8:58 PM, bob prohaska wrote: > > > Now that my rpi2 is over the v6-v7 hump something else seems amiss: > > > > Make cleandir runs for a bit, then stops with > > > > --- cleandir_subdir_lib/libclang_rt --- > > make[4]: "/usr/src/lib/libclang_rt/profile/../Makefile.inc" line 6: > > Malformed conditional (${MACHINE_ARCH:Marmv[67]*} != "" && > > ${CPUTYPE:M*soft*} == "") > > make[4]: Fatal errors encountered -- cannot continue > > make[4]: stopped in /usr/src/lib/libclang_rt/profile > > *** [cleandir_subdir_lib/libclang_rt/profile] Error code 1 > > > > make[3]: stopped in /usr/src/lib/libclang_rt > > > > ...... > > > > Is this just a typo, or something more serious? > > > > Thanks for reading, > > > > 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" > >