From nobody Tue Dec 13 01:31:45 2022 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NWLYz3xmNz4kMQJ for ; Tue, 13 Dec 2022 01:31:35 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NWLYy4Dq5z3kRJ for ; Tue, 13 Dec 2022 01:31:34 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net; dmarc=none Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.16.1/8.15.2) with ESMTPS id 2BD1Vktv066705 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 12 Dec 2022 17:31:46 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.16.1/8.15.2/Submit) id 2BD1VjV3066704; Mon, 12 Dec 2022 17:31:45 -0800 (PST) (envelope-from fbsd) Date: Mon, 12 Dec 2022 17:31:45 -0800 From: bob prohaska To: freebsd-arm@freebsd.org Cc: bob prohaska Subject: Re: /usr/src/Makefile.inc1 typo? Message-ID: <20221213013145.GA66502@www.zefox.net> References: <20221212203943.GA64277@www.zefox.net> <6E46C762-1409-4977-977A-37D01EB65784@yahoo.com> List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-0.06 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; AUTH_NA(1.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-0.96)[-0.960]; MID_RHS_WWW(0.50)[]; WWW_DOT_DOMAIN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; R_SPF_NA(0.00)[no SPF record]; RCPT_COUNT_TWO(0.00)[2]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[zefox.net]; TO_DN_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Queue-Id: 4NWLYy4Dq5z3kRJ X-Spamd-Bar: / X-ThisMailContainsUnwantedMimeParts: N On Mon, Dec 12, 2022 at 05:40:11PM -0700, Warner Losh wrote: > On Mon, Dec 12, 2022, 2:21 PM Mark Millard wrote: > > > On Dec 12, 2022, at 12:39, bob prohaska wrote: > > > > > It looks like there might be a typo (or nomenclature change) > > > in armv7. > > > > > > Last attempt at installkernel stopped with > > > make[1]: "/usr/src/Makefile.inc1" line 163: Unknown target armv7:armv7 > > > . . . > > > > You suffer from bad timing relative to main's [so: 14's]: 8-) > > > > Sun, 11 Dec 2022 > > . . . > > ??? git: 83bf6ab56829 - main - uname: switch machine to HW_MACHINE_ARCH > > Piotr Kubaj > > . . . > > Mon, 12 Dec 2022 > > . . . > > ??? git: 85dd85323614 - main - Revert "uname: switch machine to > > HW_MACHINE_ARCH" Piotr Kubaj > > ??? Re: git: 83bf6ab56829 - main - uname: switch machine to > > HW_MACHINE_ARCH Piotr Kubaj > > . . . > > > > Having a system built from a source tree from between the 2 > > commits one ends up with a broken default native build > > environment with complaints about "target NAME:NAME" when the > > correct naming for the context has 2 distinct names, such as > > arm and armv7 in your context. (That need not be the only > > complaint.) > > > > It may be that explicitly listing TARGET=arm TARGET_ARCH=armv7 > > on either the make command line(s) or in the environment(s) > > might allow a valid build from the messed up context. (But > > such is untested.) I've no clue if a full rebuild-from-scratch > > might be needed. If it works, you would likely need to be > > explicit, even for installkernel and installworld, not just > > for building. > > Adding TARGET=arm TARGET_ARCH=armv7 to the build command line didn't help. Removing /usr/obj/usr/ didn't help either. > Libc is all that's needed. Use "make MACHINE=arm" though maybe it's a > general workaround. > Maybe I overdid with rm /usr/obj/ but adding MACHINE=arm to the make command seems to have got buildworld unstuck. It'll take a couple of days to find out for sure 8-) Many thanks to all who replied! bob prohaska