From owner-freebsd-arm@freebsd.org Thu Apr 1 16:25:08 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A21EA57E645 for ; Thu, 1 Apr 2021 16:25:08 +0000 (UTC) (envelope-from mhorne@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FB7nc45Psz4VHL; Thu, 1 Apr 2021 16:25:08 +0000 (UTC) (envelope-from mhorne@freebsd.org) Received: from mail-yb1-f176.google.com (mail-yb1-f176.google.com [209.85.219.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: mhorne) by smtp.freebsd.org (Postfix) with ESMTPSA id 7A62824DF1; Thu, 1 Apr 2021 16:25:08 +0000 (UTC) (envelope-from mhorne@freebsd.org) Received: by mail-yb1-f176.google.com with SMTP id l15so2413202ybm.0; Thu, 01 Apr 2021 09:25:08 -0700 (PDT) X-Gm-Message-State: AOAM530FAt8c1YWZXDeLEfH890gn+PPPw/KzeACF2/7AL+ggaF/sfM/q YvJtUCImjMhvmMBpdWxisWN8N359MnUANei45fY= X-Google-Smtp-Source: ABdhPJycFQ2DBtccf1CP8gp/MP9NoIb/63eDnE5Y+q69dpXfwTfYEz5r3v5tI8WBYAKfMJ67mLONDubYDECC9PV5AGA= X-Received: by 2002:a25:1883:: with SMTP id 125mr12437246yby.465.1617294308042; Thu, 01 Apr 2021 09:25:08 -0700 (PDT) MIME-Version: 1.0 References: <202103311655.12VGtx3T036893@office.dignus.com> <20210401151755.GO92026@FreeBSD.org> In-Reply-To: <20210401151755.GO92026@FreeBSD.org> From: Mitchell Horne Date: Thu, 1 Apr 2021 13:24:56 -0300 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: 32-bit executables on aarch64? To: Glen Barber Cc: Robert Clausecker , freebsd-arm Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2021 16:25:08 -0000 On Thu, Apr 1, 2021 at 12:18 PM Glen Barber wrote: > > On Wed, Mar 31, 2021 at 08:48:50PM -0300, Mitchell Horne wrote: > > On Wed, Mar 31, 2021 at 7:45 PM Robert Clausecker wrote: > > > > > > Hi Mark, > > > > > > The intent is to test and develop software that only runs on > > > armv7 (specifically, Mecrisp Stellaris, a Forth system written > > > in ARM assembly). This is best done natively. > > > > > > It's actually kinda annoying that no binary release tarballs > > > are provided for armv7, so setting up the jail involves an > > > annoying make world step. For amd64 jails, I can just unpack > > > the binary tarballs and fix the configuration and I'm good to go. > > > > > > > This issue about lack of distribution sets for armv7 has come up a > > couple of times. It wouldn't take much to start producing them > > officially, so I plan to submit a patch for this once re@ is done with > > the 13.0 release. > > > > The problem is (was?) the armv6/armv7 bits used a specific KERNCONF for > each SoC, which made it somewhat impossible to guarantee that > distribution sets would "just work". As I understand it now, this is no > longer an issue. > > However, the release/Makefile has no real knowledge of how to build > a release for armv7; the build is done using release.sh and a specific > configuration file for each board. > > If the previous comment regarding KERNCONF is indeed no longer an issue, > I will be happy to work with you on creating these distribution sets. > Sounds good, thanks Glen. As Warner points out this is no longer a blocker, and should not pose a problem for userland anyway. I expect the main consumer of these sets will be people setting up a quick armv7 jail/chroot on arm64, e.g. for poudriere. I'll reach out in a couple weeks. Mitchell > Glen >