From nobody Thu Dec 07 10:36:05 2023 X-Original-To: freebsd-stable@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 4Sm9fr1w89z540Yr for ; Thu, 7 Dec 2023 10:36:20 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) (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 4Sm9fq5Bvcz4dKK for ; Thu, 7 Dec 2023 10:36:19 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-a1d93da3eb7so85631766b.0 for ; Thu, 07 Dec 2023 02:36:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1701945378; x=1702550178; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=YRyu65Zu4HWwiLpjg4YtKBvk8ET3nb7Q0hBODLOoF5Y=; b=scOdVfKCdQJPYNILuLXq6WFNVxH7sW/FiLpaViukHu+ySzjwlizEiKT5kkZioJ7iOd Pmb1aD/SCEv/J3h3dsDW7pEaxIK702y5JYXkxYuuu1r0eCIsYpqPe/+0k5rqFvPETKyE CFmPH0ZKkaW7ude2V2IrKhwq4WK7pdvino+80U8OZHQTi+1korN4N8c5CdBQJpwl1aea 2VU5ANA6i7KfJX7p+o8aLOmdcsnwir5+xeTv5+sHaod54CqoixvnIZKcpF66FJysh3qz mdVSEAXienvOjwYMDVRbj3gaR5XT/HEsHlJpWAo+pePygphe3MlprXHMTO0/k7MAbnqy Jakg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701945378; x=1702550178; 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=YRyu65Zu4HWwiLpjg4YtKBvk8ET3nb7Q0hBODLOoF5Y=; b=c2iCEHDuAkm+Yt4PsHnTytN5B/lnlsuled2y4nFleZ/gqdm7qr4pjCPosfG6Mfikdl dHWCyseaOCZ2CHnHcs8PwLoYqCJ8iNzjxxh/2a8+17sRpeW8thSuNTguqO0lqrfxDuN2 ldQ7Vge6NUdnBl/rYgZp2c114nVSpHDgbDDhrm93ea5hLktGNtO3rR5/Fl1SDIYsp2Ac iAFt7HPUxja/bRASTxbmE3PH7JQV/BLFVs/VqXA++qbcNS3DsyMilaVrkfVtpTXKcEVt NfpYb8ZL97MdGru+y5fGctX2N/ROgPLCL4ef4Sz1F28SWSE5d3AdJQa3ufb+OshEGf6a ir1g== X-Gm-Message-State: AOJu0YwK55ugIp66lYzEsuM609sXKVHbQlGjwRlwUQyaPHJNR7urm01X kvoZ9MPYA1AXOp0/9h0JCO+BF5MVAMUdoSFddFAicg== X-Google-Smtp-Source: AGHT+IEahUuSnWviLUc7qIX+/hjxxo05qcFDJgGd4RVR0bMyL4PGtXWpGy8oJ7yPtwApoEkyfgJT+Uw+DG2DQuQmx8E= X-Received: by 2002:a17:906:5352:b0:a1d:1fb9:5e39 with SMTP id j18-20020a170906535200b00a1d1fb95e39mr1566562ejo.15.1701945377899; Thu, 07 Dec 2023 02:36:17 -0800 (PST) List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 References: <3C33BBA5-A84D-4F46-B38E-B67F9FE0196D.ref@yahoo.com> <3C33BBA5-A84D-4F46-B38E-B67F9FE0196D@yahoo.com> <2F5E2EA1-246A-4098-A964-3C8DEA2EF297@FreeBSD.org> In-Reply-To: <2F5E2EA1-246A-4098-A964-3C8DEA2EF297@FreeBSD.org> From: Warner Losh Date: Thu, 7 Dec 2023 03:36:05 -0700 Message-ID: Subject: Re: aarch64 and armv6 vs. armv7 support: armv6 is not supported, despite what "man arch" reports To: Dimitry Andric Cc: Mark Millard , Current FreeBSD , FreeBSD-STABLE Mailing List , Dan Langille Content-Type: multipart/alternative; boundary="000000000000ad589a060be909eb" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4Sm9fq5Bvcz4dKK --000000000000ad589a060be909eb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Dec 7, 2023, 2:19 AM Dimitry Andric wrote: > On 7 Dec 2023, at 05:31, Mark Millard 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


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
>=C2=A0 =C2=A0 =C2=A0Some machines support more than one FreeBSD ABI.=C2= =A0 Typically these are
>=C2=A0 =C2=A0 =C2=A064-bit machines, where the =E2=80=9Cnative=E2=80=9D= LP64 execution environment is
>=C2=A0 =C2=A0 =C2=A0accompanied by the =E2=80=9Clegacy=E2=80=9D ILP32 e= nvironment, which was the historical
>=C2=A0 =C2=A0 =C2=A032-bit predecessor for 64-bit evolution.=C2=A0 Exam= ples are:
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0LP64=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0ILP32 counterpart
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0amd64=C2=A0 =C2=A0 =C2=A0 =C2= =A0 i386
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0powerpc64=C2=A0 =C2=A0 powerpc=
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0aarch64=C2=A0 =C2=A0 =C2=A0 ar= mv6/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--