From nobody Thu Dec 07 10:33:08 2023 X-Original-To: freebsd-current@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 4Sm9bN03P0z540q9; Thu, 7 Dec 2023 10:33:20 +0000 (UTC) (envelope-from fuz@fuz.su) Received: from fuz.su (fuz.su [IPv6:2001:41d0:8:e508::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "fuz.su", Issuer "fuz.su" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sm9bM2FCzz4b4f; Thu, 7 Dec 2023 10:33:19 +0000 (UTC) (envelope-from fuz@fuz.su) Authentication-Results: mx1.freebsd.org; none Received: from fuz.su (localhost [127.0.0.1]) by fuz.su (8.17.1/8.17.1) with ESMTPS id 3B7AX9qh087594 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 7 Dec 2023 11:33:09 +0100 (CET) (envelope-from fuz@fuz.su) Received: (from fuz@localhost) by fuz.su (8.17.1/8.17.1/Submit) id 3B7AX8OI087593; Thu, 7 Dec 2023 11:33:08 +0100 (CET) (envelope-from fuz) Date: Thu, 7 Dec 2023 11:33:08 +0100 From: Robert Clausecker To: Mark Millard Cc: Warner Losh , Current FreeBSD , FreeBSD-STABLE Mailing List , dan@langille.org Subject: Re: aarch64 and armv6 vs. armv7 support: armv6 is not supported, despite what "man arch" reports Message-ID: References: <3C33BBA5-A84D-4F46-B38E-B67F9FE0196D.ref@yahoo.com> <3C33BBA5-A84D-4F46-B38E-B67F9FE0196D@yahoo.com> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3C33BBA5-A84D-4F46-B38E-B67F9FE0196D@yahoo.com> 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:16276, ipnet:2001:41d0::/32, country:FR] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4Sm9bM2FCzz4b4f Hi; Am Wed, Dec 06, 2023 at 08:31:13PM -0800 schrieb Mark Millard: > 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 > > aarch64 will support execution of armv6 or armv7 binaries if the CPU > implements AArch32 execution state, however older armv4 and armv5 > binaries aren't supported. > END QUOTE > > (I take "armv6 or armv7 binaries" as what was built targeting a FreeBSD > architecture triple for one of those. FreeBSD keeps them distinct.) > > However, the armv6 part of that is wrong: The infrastructure supports > only one 32-bit alternative for a given kernel, not a family of them at > once . . . See also https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256132 Yours, Robert Clausecker -- () ascii ribbon campaign - for an encoding-agnostic world /\ - against html email - against proprietary attachments