From nobody Wed Aug 02 17:26:52 2023 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 4RGJnh3TH0z4qkwY for ; Wed, 2 Aug 2023 17:27:10 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic306-20.consmr.mail.gq1.yahoo.com (sonic306-20.consmr.mail.gq1.yahoo.com [98.137.68.83]) (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 4RGJnQ55gSz4NJ7 for ; Wed, 2 Aug 2023 17:27:06 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=inEcVdv2; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.68.83 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1690997225; bh=MojFUMFvj1uhAj5zknqAn0dSevZXaXGSGprTDJKNmWI=; h=From:Subject:Date:Cc:To:References:From:Subject:Reply-To; b=inEcVdv25BGVeLtVM1G3i+Nlh9TLl8bfiFdJDDkvxKYeaXzQZ92blEo2oljUEeWOdCiwFn7Xv9f1UwxlPnrKIvMWAobP7vBQIqrAWS4Iz38vjd6OrNKoZU7rzLmsUiVUgpva+fAZF21KTo2V1oCCsA3m0IP/Q2a5/qquB/yFl4AuXVIgdzyj/yvnChufdvohh2tZOy9pmk8XPuj+M2fvkn3W2AxjkdKe3YURjfKwsIvQ62e+0RVfnTTzyjK6D+XT5jNQXibYj8pCoi6zfOIRLFRq0xzhp2/9TjfIyhL+oIc1sLTEIYqDS1npZn/YBUkaaBDAAOZmIsGAZPrld2gdBA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1690997225; bh=Ct7s4CchfhQDYTBYuSGqrMuKF30Bm79dxColPPfZQQa=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=tqjYUf2V7/+v4iAF6nCzUrkmA0z/02du2vMlYMdPEuHoY4XurktGkkqMszSXlEM7UnXXQGX4n2fO+FDCU22GcWwNNFc6uH2eeHi2Lz5xQtFM1Tg5hVDtKCJPM4QuwqEzRx541K0uPpGoTtimBRIcEmL8rd6zMY9UPBHLXMP42IkAOfgb5+jC/nVYzXtd/+g3id+RBMtH0RXOmuw9pERON389RbsDS6fJLdXJN8JFyGhsYwLjgjkQeZjsmjG8n9hFMOwYwmFiWgWQpkM4dzHV4i6n5R3KRBRx1fZJfX7i5RiAv/iXtCq3+dvqP789M9Hq2chV5zrzH1cqhaj97CnfaA== X-YMail-OSG: _XrV.1sVM1mhFOvpgNKBpMpyECSs1CiA_rw5bgDh3lTv0cx..unErVCzpteWPgZ dCOarjjISE57.57bLBM0qeSG2YnD_c5iuecyCgak6WMt68VoTrlAd4MwJLKE1r51V18pW6nxUKaL OHWxGmxMTNVy2EtLfyBZs1XE_5GA7QHsAYjNuOAJ1TBM4nwDMSCcZ7xHDayNiq3xBsN8kBGndfrc YymO7KC7cX9rGvUiHEG7cJOI6Xc3tnASyqz5W47W_RUrmN1j0qE7ERJqMBv9tB17JkmqkuXp2rC. 8qZ7mLJKCj9KOnVkSMT4TiGijq2Wv_moJ0rEQX32o.U5I54hcz91HUmTmzEPilH2NW68sfNGsYPB tg4UWg9HnSVIW24e77L2AweS2fckmaVrbureEChyU9ffqS8g9e2qp2TzvC7jCHnSxq1cpUo_8CKf 7V.l.3yrNXne98CPFr7vfiTQvz29Kh2_ORcV7QknSttjlEHvcEjE8edXegsWYKhNBJIVIx5LEdud _DQk4oh4hL_S1M1otp4HEgENbAZ7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iTq8FcorSuvDMtoT2MfM3AGQblvT.7nXDMocFXYTw36_8Un yPHzyo4wbAU_pasCRiiJpAU4RjYsQ61Bzo_XWOpfEokHJgL4AXbI2hdMgaTQ_6pSRtpdRr4epBrt 3ufiSBB6CgkPgtJLYupt1Tj4iVH1Ihwk2mKdSh4EdIaNMkcQLk_PK6FW0hiwOi4cuQ4glyIc5nmA DSJIz72X1uobVhraNQVaQUqDS46oMhDra6xVlDAqy9hcEH7se8gGud4SawTzVq9TmTqSDx0JbG9a TQlGwkZuL46bG8yVwYHrVQmMCcHViicBsIjZgzrjQFYPSebnjnbbRiasAiryZpARFuGC2oQOJIFA yY9R3unTAxMIs8IYOSKRsTe9Cl5eSHXjHGrjnGwsAHpMoh4uDngLfCNhNsD5Nn_Ax38L49ujDXdk 6c5aU3fV0e9V3Hn55S2ET8uqKBRlxOaIeT2G0v75DJU0CCcDHlNMhoRx_NrDDoF4LIl4e7hcFl5v D7ee4wBGshKukaMLkT_aBVbVtQShj0ruRPMbHdMjI9I_b_tsvvM.888b30RWLRxn1IYxhpuGq.7n ycLaR5qRxo38BrGoJUZ1vHKZPWTvH9THXM5VnUWSfuIMXzJXWati36JXeVBVw4Klzp6gtCQgCT7B Ickucd023pj2Zn33dhKjk9asoYATBf788ecl0qLhs9mb9cXJGPvZoqJBKJ_mCNJlj0eCojAhulbb MVPJR_7A- X-Sonic-MF: X-Sonic-ID: b11533ea-d9af-44ca-bc25-0bf09015198f Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.gq1.yahoo.com with HTTP; Wed, 2 Aug 2023 17:27:05 +0000 Received: by hermes--production-gq1-7d844d8954-pkqkw (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 65aeada7a322bf1e07fd0d38d06bcc69; Wed, 02 Aug 2023 17:27:03 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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 \(3731.700.6\)) Subject: sys/modules/Makefile and MACHINE_ARCH vs arm64 (in use) vs aarch64 (not in use) VS. man arch; also COMPAT_FREEBSD32_ENABLED use Message-Id: Date: Wed, 2 Aug 2023 10:26:52 -0700 Cc: FreeBSD ARM List To: Warner Losh , Current FreeBSD X-Mailer: Apple Mail (2.3731.700.6) References: X-Rspamd-Queue-Id: 4RGJnQ55gSz4NJ7 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.38 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.88)[-0.885]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.83:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; TO_DN_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; MID_RHS_MATCH_FROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.68.83:from] man arch reports: MACHINE MACHINE_CPUARCH MACHINE_ARCH arm64 aarch64 aarch64 . . . arm arm armv6, armv7 So I'd not expect arm64 in MACHINE_ARCH . But sys/modules/Makefile has (from a grep for MACHINE_ARCH): .if ${MACHINE_ARCH} =3D=3D "amd64" || ${MACHINE_ARCH} =3D=3D "arm64" .if ${MACHINE_ARCH} =3D=3D "amd64" || ${MACHINE_ARCH} =3D=3D "arm64" || = ${MACHINE_ARCH:Mpowerpc64*} Another issue may be that COMPAT_FREEBSD32_ENABLED is only put to use in the Makefile for MACHINE_CPUARCH being i386 or amd64 : .if ${MACHINE_CPUARCH} =3D=3D "i386" || ${MACHINE_CPUARCH} =3D=3D = "amd64" _agp=3D agp .if ${MACHINE_CPUARCH} =3D=3D "i386" || !empty(COMPAT_FREEBSD32_ENABLED) . . . =3D=3D=3D Mark Millard marklmi at yahoo.com