Date: Thu, 7 Dec 2023 03:36:05 -0700 From: Warner Losh <imp@bsdimp.com> To: Dimitry Andric <dim@freebsd.org> Cc: Mark Millard <marklmi@yahoo.com>, Current FreeBSD <freebsd-current@freebsd.org>, FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>, Dan Langille <dan@langille.org> Subject: Re: aarch64 and armv6 vs. armv7 support: armv6 is not supported, despite what "man arch" reports Message-ID: <CANCZdfpLz29sRUHJ9gmHdrqapPi9mkHHjBkOKvZgasXuoqOrBw@mail.gmail.com> In-Reply-To: <2F5E2EA1-246A-4098-A964-3C8DEA2EF297@FreeBSD.org> References: <3C33BBA5-A84D-4F46-B38E-B67F9FE0196D.ref@yahoo.com> <3C33BBA5-A84D-4F46-B38E-B67F9FE0196D@yahoo.com> <2F5E2EA1-246A-4098-A964-3C8DEA2EF297@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000ad589a060be909eb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Dec 7, 2023, 2:19 AM Dimitry Andric <dim@freebsd.org> wrote: > On 7 Dec 2023, at 05:31, Mark Millard <marklmi@yahoo.com> wrote: > > > > man arch reports: > > > > QUOTE > > Some machines support more than one FreeBSD ABI. Typically these a= re > > 64-bit machines, where the =E2=80=9Cnative=E2=80=9D LP64 execution = environment is > > accompanied by the =E2=80=9Clegacy=E2=80=9D ILP32 environment, whic= h was the > historical > > 32-bit predecessor for 64-bit evolution. Examples are: > > > > LP64 ILP32 counterpart > > amd64 i386 > > powerpc64 powerpc > > aarch64 armv6/armv7 > > So, this might be replaced with "armv6^armv7" or "armv6 xor armv7", then? > The binaries are basically the same. But you need one set of libraries or the other since the calling conversations differ. I think you'll need to enhance the current sysctl to be per jail. Or you could migrate away from armv6. It's days are numbered in main. Warner > -Dimitry > > --000000000000ad589a060be909eb 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 Thu, Dec 7, 2023, 2:19 AM Dimitry Andric <<a hre= f=3D"mailto:dim@freebsd.org">dim@freebsd.org</a>> wrote:<br></div><block= quote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc= solid;padding-left:1ex">On 7 Dec 2023, at 05:31, Mark Millard <<a href= =3D"mailto:marklmi@yahoo.com" target=3D"_blank" rel=3D"noreferrer">marklmi@= yahoo.com</a>> wrote:<br> > <br> > man arch reports:<br> > <br> > QUOTE<br> >=C2=A0 =C2=A0 =C2=A0Some machines support more than one FreeBSD ABI.=C2= =A0 Typically these are<br> >=C2=A0 =C2=A0 =C2=A064-bit machines, where the =E2=80=9Cnative=E2=80=9D= LP64 execution environment is<br> >=C2=A0 =C2=A0 =C2=A0accompanied by the =E2=80=9Clegacy=E2=80=9D ILP32 e= nvironment, which was the historical<br> >=C2=A0 =C2=A0 =C2=A032-bit predecessor for 64-bit evolution.=C2=A0 Exam= ples are:<br> > <br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0LP64=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0ILP32 counterpart<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0amd64=C2=A0 =C2=A0 =C2=A0 =C2= =A0 i386<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0powerpc64=C2=A0 =C2=A0 powerpc= <br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0aarch64=C2=A0 =C2=A0 =C2=A0 ar= mv6/armv7<br> <br> So, this might be replaced with "armv6^armv7" or "armv6 xor = armv7", then?<br></blockquote></div></div><div dir=3D"auto"><br></div>= <div dir=3D"auto">The binaries are basically the same. But you need one set= of libraries or the other since the calling conversations differ. I think = you'll need to enhance the current sysctl to be per jail.</div><div dir= =3D"auto"><br></div><div dir=3D"auto">Or you could migrate away from armv6.= It's days are numbered in main.</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"> <br> -Dimitry<br> <br> </blockquote></div></div></div> --000000000000ad589a060be909eb--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpLz29sRUHJ9gmHdrqapPi9mkHHjBkOKvZgasXuoqOrBw>