Date: Mon, 12 Dec 2022 17:40:11 -0700 From: Warner Losh <imp@bsdimp.com> To: Mark Millard <marklmi@yahoo.com> Cc: bob prohaska <fbsd@www.zefox.net>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: /usr/src/Makefile.inc1 typo? Message-ID: <CANCZdfpA1a-K7i4sbAuAJgROY5hogH3z4nNDiJMiWqPo5RDRYQ@mail.gmail.com> In-Reply-To: <6E46C762-1409-4977-977A-37D01EB65784@yahoo.com> References: <20221212203943.GA64277@www.zefox.net> <6E46C762-1409-4977-977A-37D01EB65784@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000079501a05efaadd8d Content-Type: text/plain; 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 <fbsd@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 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 <div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" = class=3D"gmail_attr">On Mon, Dec 12, 2022, 2:21 PM Mark Millard <<a href= =3D"mailto:marklmi@yahoo.com">marklmi@yahoo.com</a>> wrote:<br></div><bl= ockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #= ccc solid;padding-left:1ex">On Dec 12, 2022, at 12:39, bob prohaska <<a = href=3D"mailto:fbsd@www.zefox.net" target=3D"_blank" rel=3D"noreferrer">fbs= d@www.zefox.net</a>> wrote:<br> <br> > It looks like there might be a typo (or nomenclature change)<br> > in armv7.<br> > <br> > Last attempt at installkernel stopped with <br> > make[1]: "/usr/src/Makefile.inc1" line 163: Unknown target a= rmv7:armv7<br> > . . .<br> <br> You suffer from bad timing relative to main's [so: 14's]:<br> <br> Sun, 11 Dec 2022<br> =C2=A0 =C2=A0. . .<br> =C2=A0 =C2=A0 =E2=80=A2 git: 83bf6ab56829 - main - uname: switch machine to= HW_MACHINE_ARCH Piotr Kubaj <br> . . .<br> Mon, 12 Dec 2022<br> =C2=A0 =C2=A0. . .<br> =C2=A0 =C2=A0 =E2=80=A2 git: 85dd85323614 - main - Revert "uname: swit= ch machine to HW_MACHINE_ARCH" Piotr Kubaj <br> =C2=A0 =C2=A0 =E2=80=A2 Re: git: 83bf6ab56829 - main - uname: switch machin= e to HW_MACHINE_ARCH Piotr Kubaj<br> . . .<br> <br> Having a system built from a source tree from between the 2<br> commits one ends up with a broken default native build<br> environment with complaints about "target NAME:NAME" when the<br> correct naming for the context has 2 distinct names, such as<br> arm and armv7 in your context. (That need not be the only<br> complaint.)<br> <br> It may be that explicitly listing TARGET=3Darm TARGET_ARCH=3Darmv7<br> on either the make command line(s) or in the environment(s)<br> might allow a valid build from the messed up context. (But<br> such is untested.) I've no clue if a full rebuild-from-scratch<br> might be needed. If it works, you would likely need to be<br> explicit, even for installkernel and installworld, not just<br> for building.<br></blockquote></div></div><div dir=3D"auto"><br></div><div = dir=3D"auto">Libc is all that's needed. Use "make MACHINE=3Darm&qu= ot; though maybe it's a general workaround.</div><div dir=3D"auto"><br>= </div><div dir=3D"auto">Warner</div><div dir=3D"auto"><br></div><div dir=3D= "auto"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style= =3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> The build(s) should be based on source that does not contain<br> the 83bf6ab56829 change.<br> <br> =3D=3D=3D<br> Mark Millard<br> marklmi at <a href=3D"http://yahoo.com" rel=3D"noreferrer noreferrer" targe= t=3D"_blank">yahoo.com</a><br> <br> <br> </blockquote></div></div></div> --00000000000079501a05efaadd8d--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpA1a-K7i4sbAuAJgROY5hogH3z4nNDiJMiWqPo5RDRYQ>