Skip site navigation (1)Skip section navigation (2)
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>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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 are
> >     64-bit machines, where the “native” LP64 execution environment is
> >     accompanied by the “legacy” ILP32 environment, which 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
>
>

[-- Attachment #2 --]
<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 7, 2023, 2:19 AM Dimitry Andric &lt;<a href="mailto:dim@freebsd.org">dim@freebsd.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 7 Dec 2023, at 05:31, Mark Millard &lt;<a href="mailto:marklmi@yahoo.com" target="_blank" rel="noreferrer">marklmi@yahoo.com</a>&gt; wrote:<br>
&gt; <br>
&gt; man arch reports:<br>
&gt; <br>
&gt; QUOTE<br>
&gt;     Some machines support more than one FreeBSD ABI.  Typically these are<br>
&gt;     64-bit machines, where the “native” LP64 execution environment is<br>
&gt;     accompanied by the “legacy” ILP32 environment, which was the historical<br>
&gt;     32-bit predecessor for 64-bit evolution.  Examples are:<br>
&gt; <br>
&gt;           LP64         ILP32 counterpart<br>
&gt;           amd64        i386<br>
&gt;           powerpc64    powerpc<br>
&gt;           aarch64      armv6/armv7<br>
<br>
So, this might be replaced with &quot;armv6^armv7&quot; or &quot;armv6 xor armv7&quot;, then?<br></blockquote></div></div><div dir="auto"><br></div><div dir="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&#39;ll need to enhance the current sysctl to be per jail.</div><div dir="auto"><br></div><div dir="auto">Or you could migrate away from armv6. It&#39;s days are numbered in main.</div><div dir="auto"><br></div><div dir="auto">Warner</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
-Dimitry<br>
<br>
</blockquote></div></div></div>
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpLz29sRUHJ9gmHdrqapPi9mkHHjBkOKvZgasXuoqOrBw>