From nobody Sat Aug 31 18:29:45 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 4Wx3Tm07jvz5MqVl for ; Sat, 31 Aug 2024 18:30:04 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-24.consmr.mail.gq1.yahoo.com (sonic312-24.consmr.mail.gq1.yahoo.com [98.137.69.205]) (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 4Wx3Tk33ZYz4X8c for ; Sat, 31 Aug 2024 18:30:02 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=mecMTg5Z; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.205 as permitted sender) smtp.mailfrom=marklmi@yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1725129000; bh=vXX0ko3sP4BYjNu9DZ7aNv5EwGzrf331BqPdVIZX8Hk=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=mecMTg5Z6C2RJ9OthmlNWrOcLUUbC3wPt5AR+vfG8Uptx5CY1aklewok8MK9Ki6RdRfNjsqMnHV1CKKOa88pMb0BluGLhlm5yft6m1LmJNlo2h2OABrYnUaC2kbAVWtwBcQIln8sIgfV/EpoMOGnxiUUtY3sX1efjY0/ewBZuT2r8eVzZo8AfsPKWzL5IBdTAvKggl4n9PjgcAjOYwmvKHWTo6VX9tQOyr3khO0WZd4Ozp/CVewpnBND0UDIDk5ZOYvhW29LrcMVqKxelG/uJnzdKBaPhN8Pam8a+J3nWkXO54ZC8jB93puDEVUgE3CTHDoproJcTeqrTrLTb6DECg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1725129000; bh=h8uKY5vCYQa22kqnoDDSA3EykCmNhWj1fggQV15stzb=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=KF9GYv3KJlf4O0dNp/jEW7C1mp0VbCeJjitNRp481UBprLW0tMtpb6jplaHreNTljy0RZPUNO0HZX4kY01jjDavJYTSeeTKaMrU4u++ESGNXev0k/OgTe3pBHE4El8+b2DdWvvVwpYD0cnbtMkFrjPHlPzQ2srVDbNzXjED0caFkoElss+V+Htm3cO0Z8OFzU4JUDU7WhUBxV8LfxLCiLvrcNRMv4lxG/yr6b+KoNeFX5IeNiNqRk5w+3c/qJ6X5K8WnGiVGAxM24Ur6aLlULcSMX78xlWw/tB2OzR7imbWFgCxbIaYLJ7o/pVdk5ZxOONfqLIZ/FjB7D3Xwqn4JcQ== X-YMail-OSG: zfCSjSoVM1mySkttFCx0A378dT8JBmOChJdWOQyNHVBel8pvquNBhgFS722f5Ra NWHOH6aVCRmzgGbkDY85JYMv1G5e8Ze8pHllOWJwuo5UOfkIpI9q3RB0733zPI8Uhs7RaYmmBvPV gNYtuV_VJiJuJu4dMS3R0a3paqcd0bcGP11_nVJTOQ0rB7Bot7BHTNoaKOdiGoN1znayojiyFONS GE12_e8s8V84gvIUXfV0A6tedc3avNGVPf7urBi.DK.VT8APYCdXrNkeSZLzBWHLEcrOlg8ee3QA OsrNidDnco1py9s9ljgjPUEQWsFDcyQM_AY_FC0HjPhmQU46_2GjgD0RqRvzDXUqq47XI4eEQn5b U4XeRZCSTZOCr2uCQ1qaflPaA7A_R1vPD0zYuFnvBkzCy3j7FQicIBXlVF5hJsV7VsK5UM90B7Bc 2MruevoGa3xGQ.e9Ac2tPr9RUhQgICFy8SOq5k1OPjgyBfaB4bwM.OW5x9auufBeqmRaycepx3O9 BTMoW_SUJnaBmDX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dFJh_fFcSmhyWNIz0COlCHribrsbthbLZmEZy5MNLDDDHfO HaGiqsuYQ.QRYTYI0c28IlOeLU0TTel0li694FBeBO.EKKeZyESW2Df9EOKsmnYfzuZokvCjmGe9 ORCxPr5nB54v8bxFk9pjMHqEzX6gcihPqVsITxO0Gkh2BSoO_SmsvAb4S.oh.x32_xyZ9J1xR2N0 vVyXezD8mBUCuCS53dAi8rGxHBnXlyz7EsZdXoQgQRkGysdfR3P8ShI9iMJ0jYLdD7nZRxauyWwK p9_VKad8eifV3bwMTGS6vchNp7j2ZL6PC1x6usvs9RalmXlZzrPhyk9KfhBJF3K0tXLXuS7Epyji SM2mxUf0mpuW.bSh2sMCHiAaeXLBznx7IwfvaRvVp7FPbeFo1rKJNa8_N5sDSI.XX9qizlwAa8rH Yd4zL8zZNDluH5za58tGuRLChKIxhLNXZk9_OmPnXwnczLGvW5s31lz297xXfEjodVPN_xBbe9Mi gu8xvhPv3g_mB2R5Zvp2.aTWFZp.Ioyh33mmi51Yf3DMV1hGA.jgVOUMaQdFuRy29_KWaA9ndd6M 84WJwmhD_5seYVh.rWlal4M6QBEnhNyx0u5YYC4Zu.XEnJqUdenbmC5kZtg4HmuWaIWJXrQV21XG OUXrsHd0NDWD.iYVLy21KYJplrX8vvVsdt.wz4moZpSa7NZKG_uiD3SGTY1X3CmMEkYMVY0j0UO5 26moL.2kS_Un3v_H5GYi.gNYdHu6p X-Sonic-MF: X-Sonic-ID: de0a0a92-219a-4f18-8ddb-53feabb986eb Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Sat, 31 Aug 2024 18:30:00 +0000 Received: by hermes--production-gq1-5d95dc458-rx7kt (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 5fd4ee56c878e6a3300a2e85e7a4b440; Sat, 31 Aug 2024 18:29:56 +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 \(3776.700.51\)) Subject: Re: For an armv7 context, /usr/local/llvm1[789]/lib/clang/1[789]/include/arm_bf16.h does not exist: one thing blocking a firefox build via llvm1[78] From: Mark Millard In-Reply-To: Date: Sat, 31 Aug 2024 11:29:45 -0700 Cc: FreeBSD Mailing List , FreeBSD ARM List , FreeBSD Toolchain , Brooks Davis , Tomoaki AOKI Content-Transfer-Encoding: quoted-printable Message-Id: <2EC1B62E-7323-467A-992B-CE00491A6E65@yahoo.com> References: <75609A57-7B50-40F5-88A8-0278CCCC018B@yahoo.com> <24D56998-0939-43D0-A98C-E398CCDA0AAA@yahoo.com> <71a16edd-94e7-4a06-9a34-59f17c442a96@FreeBSD.org> To: "mmel@freebsd.org" X-Mailer: Apple Mail (2.3776.700.51) X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.984]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; TO_DN_EQ_ADDR_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; FREEMAIL_FROM(0.00)[yahoo.com]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.205:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; APPLE_MAILER_COMMON(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.205:from]; RCPT_COUNT_FIVE(0.00)[6] X-Rspamd-Queue-Id: 4Wx3Tk33ZYz4X8c On Aug 31, 2024, at 10:43, Mark Millard wrote: >> . . . >=20 > As far as I can tell, for rust conditional compilation with the > likes of (leading whitespace details might not have been > preserved): >=20 > #[cfg(all(unix, target_env =3D "gnu", not(any(target_os =3D = "freebsd", target_os =3D "hurd"))))] > if oflags.contains(OFlags::TMPFILE) && = crate::backend::if_glibc_is_less_than_2_25() { > return openat_via_syscall(dirfd, path, oflags, mode); > } >=20 > is not just textual preprocessing like #if . . . #endif in > C/C++. It seems that the conditional source still gets some > validation processing even though it will not generate any > code. >=20 > If so, the error report indicates that freebsd is not getting > a definition of the likes of OFlags::TMPFILE . >=20 > I do not know if freebsd should have a definition of > OFlags::TMPFILE (and related) vs. not. If the definition > should be present, the problem is not local to the 2 > blocks of code that are rejected. If the definition should > not be present, then the technique for handling freebsd > for armv7 is not valid and the fix might also not be > local to the 2 blocks of code. >=20 > As I'm only trying to see if my armv7 builds can finish based > on the limited effective process address space size, at some > point I'll likely locally adjust the patching to cause > "if false {" or some such that avoids the validation > checking's rejection. >=20 > I have no intention of running firefox --and I have no armv7 > video context set up to do so. >=20 Well, that was a bad idea: if that had been the issue rust itself would not build because if the patched rustix source code. For now I'm testing building firefox-esr's port, which, being back at 115, instead of the recent 128, does not yet have the code that was being patched. Later I might see if a patched firefox rustix copy will work. =3D=3D=3D Mark Millard marklmi at yahoo.com