From nobody Tue Dec 13 00:40:11 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 4NWKQw4QtLz4kFd8 for ; Tue, 13 Dec 2022 00:40:24 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NWKQw1lh0z3PYB for ; Tue, 13 Dec 2022 00:40:24 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ej1-x629.google.com with SMTP id vv4so32732915ejc.2 for ; Mon, 12 Dec 2022 16:40:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=HkL88LDjMfIX1SzOWsSO4MCVTNeY6hZkZWKuDso0hgA=; b=OEC8MsohIAQBoXgkhQ5VdBfEpHcl2Uzahw9VSvPcMFs8UzUoa1Uxo+3JGxP9kic1RR tb82ZC10IzYNeLStpWUjJvoyui4bwnbr9UkgxbKcWqZQm/X5cbeVmuWOCX0qY7YH2Cd3 TsfDUF0Ear1rvahE+rpfpZgaFQdwzxZKGONyJ7LHpCOO248r1+BOR8ciW10pSkfE8fJs 6DeqScQoh5dSSD4Aq1fQYpYnFG2P9o/0Sj8G/bHnQ/GPBGkbjO3iWoNy1l53vGp0dpor +u6NjlMzKbPsgOW45cJleRVfsA678b0Tkca0+9RsqkvwtKoHaW2sOSgj45Pdjyg+/OTT Tu5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HkL88LDjMfIX1SzOWsSO4MCVTNeY6hZkZWKuDso0hgA=; b=usGF4OpJzz+ofxy7mr95HjN3odKZqTl1Lcem1cOG+Lz17OshZwCj7QPFZz397klISU zLHGmL6mMEINMp4cATXGkrjRWKTyk8ltpFuakqqnGeMr4Dr2cTwZeL9477bujTpL6pf9 jh1+wmRVhwABb+dxkOT2UEi6gv15qJVaj9mZuaN62SqRkUqCQTWakats2OCSrFDdj6+d hjZmB878/1YZKVMiiqIb4wS4hZXtamNODHYu1qvjnsr8G4Vv0hnyf4qU351a1haHPCZ2 dMdPlNhZ+pGL6fyYZKu29rQeHtKAduFY7AAU7XTXr09s3QpST+QDFyta72K8hJ12O6k8 jL5Q== X-Gm-Message-State: ANoB5pmPrR444y/84bAYVEFPQQT5XsTZxA5/tylfcA63J4TAdvg20KYD zcyoFCil/RcplzodPatWnnXMuIU5aBb3LoHb9JzxZbwIwFJZOw== X-Google-Smtp-Source: AA0mqf4pmsI0fMstPN4h16fEmKEhD28vPfgWdVYrnVU3pLSQRP8SMrQLSrSzFRZxJ1CMw/6N3LKe1FNQavyrZW1TzFc= X-Received: by 2002:a17:907:98ed:b0:7c0:e7a6:cd2d with SMTP id ke13-20020a17090798ed00b007c0e7a6cd2dmr15837884ejc.317.1670892022738; Mon, 12 Dec 2022 16:40:22 -0800 (PST) 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 References: <20221212203943.GA64277@www.zefox.net> <6E46C762-1409-4977-977A-37D01EB65784@yahoo.com> In-Reply-To: <6E46C762-1409-4977-977A-37D01EB65784@yahoo.com> From: Warner Losh Date: Mon, 12 Dec 2022 17:40:11 -0700 Message-ID: Subject: Re: /usr/src/Makefile.inc1 typo? To: Mark Millard Cc: bob prohaska , "freebsd-arm@freebsd.org" Content-Type: multipart/alternative; boundary="00000000000079501a05efaadd8d" X-Rspamd-Queue-Id: 4NWKQw1lh0z3PYB X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --00000000000079501a05efaadd8d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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]: > > Sun, 11 Dec 2022 > . . . > =E2=80=A2 git: 83bf6ab56829 - main - uname: switch machine to HW_MACH= INE_ARCH > Piotr Kubaj > . . . > Mon, 12 Dec 2022 > . . . > =E2=80=A2 git: 85dd85323614 - main - Revert "uname: switch machine to > HW_MACHINE_ARCH" Piotr Kubaj > =E2=80=A2 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=3Darm TARGET_ARCH=3Darmv7 > 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. > Libc is all that's needed. Use "make MACHINE=3Darm" though maybe it's a general workaround. Warner The build(s) should be based on source that does not contain > the 83bf6ab56829 change. > > =3D=3D=3D > Mark Millard > marklmi at yahoo.com > > > --00000000000079501a05efaadd8d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Mon, Dec 12, 2022, 2:21 PM Mark Millard <marklmi@yahoo.com> wrote:
On Dec 12, 2022, at 12:39, bob prohaska <fbs= d@www.zefox.net> 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 a= rmv7:armv7
> . . .

You suffer from bad timing relative to main's [so: 14's]:

Sun, 11 Dec 2022
=C2=A0 =C2=A0. . .
=C2=A0 =C2=A0 =E2=80=A2 git: 83bf6ab56829 - main - uname: switch machine to= HW_MACHINE_ARCH Piotr Kubaj
. . .
Mon, 12 Dec 2022
=C2=A0 =C2=A0. . .
=C2=A0 =C2=A0 =E2=80=A2 git: 85dd85323614 - main - Revert "uname: swit= ch machine to HW_MACHINE_ARCH" Piotr Kubaj
=C2=A0 =C2=A0 =E2=80=A2 Re: git: 83bf6ab56829 - main - uname: switch machin= e 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=3Darm TARGET_ARCH=3Darmv7
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.

Libc is all that's needed. Use "make MACHINE=3Darm&qu= ot; though maybe it's a general workaround.

=
Warner

The build(s) should be based on source that does not contain
the 83bf6ab56829 change.

=3D=3D=3D
Mark Millard
marklmi at yahoo.com


--00000000000079501a05efaadd8d--