From nobody Wed Jan 31 01:17:06 2024 X-Original-To: freebsd-arm@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 4TPkfT2Lslz583vv for ; Wed, 31 Jan 2024 01:17:21 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-21.consmr.mail.gq1.yahoo.com (sonic305-21.consmr.mail.gq1.yahoo.com [98.137.64.84]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TPkfS6Tvwz4FXw for ; Wed, 31 Jan 2024 01:17:20 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1706663838; bh=e2V895YtCjLVt6Vyp5ViGqw70ZhQuEy1A/AfcClFu+A=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=V1kNd2LdHa0CQ/wXo0G8I1ilACl61iIBcIL9NxGh/DrrzmC4F4GjT7pfwQ/lgAtQjx6A6vLSd+Y0pLEM5A5Yp+z69usKMP22bC4HsI2YWTPsqwDNL26L2iBuJvilojCz203ms8O06pqrFcW0fpNzrFYP0H9Oq7ZbPmzK5PJuJtN1PuKZ+zBo4wMT6Klq+ps3F4jKpflDtFUgesTegki8UCtsY6+5zC2mVgttZoDxGpD+CG8Pr43Dy+bb6t3Ijftsibwa/4KmISMWJjWEdwfGU1n5uydOunFGp1SGaA/kLIIJf4XBvxg1H2uhViM5KVZxWbQ2D3MTx9hJgS7iJe2mTw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1706663838; bh=P55MZrZ790MFTjBlhhYmfEHiCBoMa061lfGAn27U1N6=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=OY8VaxRef2oxQ91B87OwchIvus4uwQ4G325FowO1ntlRRw9ihwq1nnDLacD3XrzhYw/TvKpUMHz6ic6mVFrWx5NhD/Y2vi4ThIj8ap5F98x78Tu62P14GD+CTDNgKruUZ6zQDdNcwg4W7q05uuH6yy7ER+7sf21htJ/x1AWGf6x0L079vYqjuAetyhSmAZmStKtMgMOumuay+Bj7YWZOrzP8SmbmWqY5pygAvQdcvjZ5SQGtX2mQszz0m3K1gC4KZ6DNFc/WEMox0FjUkxnIvnR8um2rswjliLT/12q4xamr8kMEx7r260cAG3QuPtcxvA42JJkq4PCTgsj5Nz3QCA== X-YMail-OSG: 2xtLrJQVM1nlZhKBz8Aq8n1TvLG0iRNBPrYvNDQSXmgUZoY7kq7d7prJXsF2t6F C2EUXPis1RAYuL0f15QtiOPcT54NSgOLU_9T04vnsr1IEdtrG8dDetKAu1R5Y3swfDDZNCPyJqGU _hK8Ve5ng07E_c3CPnRukObDd7Tf56TD2MdAyNBsx9dv_.YkrWb36RbJ2ftvgIKmR75HrfJoJK1k YeXB84OLqBcHqE9TQKdU7HsUs5eaiJe_IJf9BvhdQ220ZGyfpuBFOawommspDHiEZgZOnKN6voxZ 0M.KCZQb7KTO9ctO2uqsP.D9SkKZPxGI9a2aeO1fOQwOhaErL1CWGLUESlW4Ao7hwSPwghbbinJd 53JBJaOGRFIP1R2GNencf2kKhS6c51.QxLDDOFfQV.rloNHTwBlwZCJyNRfEICIKEnSuofnTu5GH liGmrOaQiYgKYFjdqml1zihudK5AjcnwUJ8_3GOhE.P5UOIyGvXhcW.R767P84e2_fv16v4mBgLx Ds03xIGtGxvToR6NDEdhsfB8hipEC1v5Kj307o7f2xma2otp3YSyrl8VE2mI_SaRM7iF0LJw761a pc5RS9Giv8XRttWU1FW2gvk12HHEDL0fRjiufgr.F952i1SgIx0KOrJukRKgHRLcVHCtefRJabAM mcjpBgKk.7FzGkv1XC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Az3ZsClqOmmUov6WBFDXUbaDys2qitVHK3odqmWzXtx8qzbJu5l_ XKWtkLQM2DzY3Y9SB2ju_.nIxxMxL7q48kW3AXf1a5oVFXEQ0q3ZAjgxLUNkNSjMno7w3Xma_.GL E7VZnm7GjmWIaU6eA3RU2ASu34o2iP9yFd_18dh5Y7yN94wE6k8rmxM0RnFCV_RVpjAgLnXrWGA7 cgd6nBD1TAVqRxrGANyN78cBljJLKeWI0VHuZ5XG.8sdJis6RDXi14VxKV5bv2b1NiRcoOUNjwvJ 3dg2hjDhSJgQ3SAlHgkNX8YGMFFP7yAOlQWTeJyQtL9DLYKLpWTdLbSoVrq4phAsa1mEo2NNAZeS gghu8IsnP.5o0xjL0zHChPo04EtKIZ_zmnqBluCALdR1QGjbBVyq3nldHvBGHWAy_TWl79iqKqjc YrAHxa.CeFt0xzn_jZSvPhzjvJq4ZVuVbKM.m7Rx2O.LTY3STmPByVznnKuNoVczTC6_jONgETzM Xft_mnXvA0pSu8C.4qCmWVvRXfg4eocmeWW4pSq_G_N7h7L1TccmmaGO2h4tbJh3nyDcz1JWLXxI - X-Sonic-MF: X-Sonic-ID: 3d6a066c-9964-4e1a-9560-196c35b188e6 Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Wed, 31 Jan 2024 01:17:18 +0000 Received: by hermes--production-gq1-5c57879fdf-27p5r (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 01301c4f09d4c25203b81d1a04c15d8a; Wed, 31 Jan 2024 01:17:17 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.300.61.1.2\)) Subject: Re: arm64 system clang & llvm From: Mark Millard In-Reply-To: Date: Tue, 30 Jan 2024 17:17:06 -0800 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <26928272-6565-4AE2-B77A-4449E03634CE@yahoo.com> References: To: void X-Mailer: Apple Mail (2.3774.300.61.1.2) X-Rspamd-Queue-Id: 4TPkfS6Tvwz4FXw X-Spamd-Bar: ---- 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:36647, ipnet:98.137.64.0/20, country:US] On Jan 30, 2024, at 13:02, void wrote: > Hi Mark, > > On Tue, Jan 30, 2024 at 09:14:22AM -0800, Mark Millard wrote: >> >> #Disables avoiding bootstrap: WITHOUT_LLVM_TARGET_ALL= > > this means (if it's uncommented) it doesn't avoid bootstrap? It used to cause unnecessary bootstrap rebuils during the overall buildworld . >> MALLOC_PRODUCTION= >> WITH_MALLOC_PRODUCTION= > > aren't these the same thing? (for -current context) I frequently have files designed to be allowed in a range of FreeBSD vintages that might not recognize newer (or even older) notations. I change before needing the new notation. I eventually get rid of the older notation. So I happen to have shown both notations. >> WITHOUT_ASSERT_DEBUG= >> WITHOUT_LLVM_ASSERTIONS= >> >> >> (I've not validated the comment in a very long time. >> There used to be the odd side effect on when bootstrap >> builds happened.) >> >> As FreeBSD main [so: 15] has lib32 support by default >> these days, does your aarch64 hardware support >> AArch32/armv7 code, at least for EL0? > > What's EL0? EL: Exception Level. Suggestive are: EL0: Unprivileged execution (user space). In increasing execution privilege order . . . El1: Normal operating system kernel execution. EL2: Non-secure state of execution for Hypervior execution (virtualization) EL3: Allows the security state associated with the execution to be changed between insecure and secure (for secure monitor operation) So hardware with only EL0 for AArch32/armv7 execution can not boot a AArch32/armv7 kernel. But the OS can allow user code to be AArch32/armv7 and run. I'll note that even before lib32 was implemented, a armv7 world could be installed into a directory tree and one could then chroot (or jail) into that directory tree and run AArch32/armv7 user code. Now one does not need to involved a chroot/jail to execution AARch32/armv7 code unless one wants to. > WITHOUT_LIB32= is also in src.conf WITHOUT_LIB32 does not prevent the chroot/jail technique from being used. But it does avoid building any AArch32/armv7 code in the buildworld (which is what you were after). === Mark Millard marklmi at yahoo.com