From nobody Fri May 10 23:51:47 2024 X-Original-To: freebsd-arch@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 4VblzN2DkBz5KgR6 for ; Fri, 10 May 2024 23:52:00 +0000 (UTC) (envelope-from bofh@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 4VblzN1RsTz4vqt; Fri, 10 May 2024 23:52:00 +0000 (UTC) (envelope-from bofh@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715385120; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hC+HwWQfwLhJSkVHr5GPVidURAPCTNAWP8yIMCOEiBo=; b=RiyyD8p1Ig2d61q768y13LA05uPbHnV7cVxCdZ4/nfmnaVVXL3ml3PUAFi9ClGlFfcCwFq YOSgdjOqAJt6udFGFlDbKSnjrLyYpYgLL9V6Tu62TpxNFqrc664gBtSjL26M3fEDXjjZiF A82INYa46nw/V9gzB2m+8kgYGLTRwyd9iM7VnOIoHNVLrlATeYZj8CglMEH383FcLkf77z PQCyOSggkScUMa9SHDIQo4Vjaww+Ldiaw/wt+vxMMPiP2QrpXQA1TpyrkW19QI0+YSJg2F KxMjaQ8MUKDSWMo7qtk9LGuacSoTaRQvvSne4oTF4T0z4t6cW3J8BRYk21HA0w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715385120; a=rsa-sha256; cv=none; b=Qt0ma0aFDdeyJLuPm5cFNckeQAcWWaLlHSXrzGwBfb2AX8XuaiqUL3iLRxfXUazGkP1RM5 JKnZGGAfwp8vdEwESprQWz31wR3Rs2l964e+65zZtbWCHq0ThHg0qAJ9NLGX8kcwn1GLOE WFW1elpcw/zFOko6xKtZiZ3BFtxVTFlXRu9kIifmrywC2oYO01R6qWRjcntfhwEplSJKeX clX2FE/APh1913KqdSgPlS8hTK/zFzp5/cVRv0iJbLK2IoqRvXamFFZ8dat9kH/TNiX6bm 7y62N067yS2EGRqAbdsLNvC9a8WDvtB6+GyMJJ9LyxYscgGNOX0yJglhZIjwJw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715385120; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hC+HwWQfwLhJSkVHr5GPVidURAPCTNAWP8yIMCOEiBo=; b=T44dWz5yq+MW+1CBx3czg2qHJioH/gWgajK49K1zpwLbUTQ3B9Pp1vpke4T9Q5eK0j8RA/ jK6P0AGcuN5ldVUWruROAiPzLUHAeyfoukxZr9jF3bhnP32IiOa8xkKKQspWnsOI/pYogM pAx1X1tDxF5/17gkjb4uO7MciAsF0LgSrZJ0Co+XVqC+daElAgB7xKg5+kTH3RbfYXVuVT jc2udjN+LnoejtbDchM3JYcsnwqSHILv0xLuEJfk6KajO2yADEjc8mqYVzA6vqMr+dBiXU no74nhgjtxgkzYiWwsFKXkw23EfA6FWzd+9K9e+9vqJrcx0KuXFT4dqB6hrKAQ== Received: from mx.bofh.network (mx.bofh.network [5.9.249.227]) (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 did not present a certificate) (Authenticated sender: bofh/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4VblzM5gKGz1R4n; Fri, 10 May 2024 23:51:59 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtpclient.apple ( [217.117.226.147]) by mx.bofh.network (OpenSMTPD) with ESMTPSA id 53fca2e6 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Fri, 10 May 2024 23:51:58 +0000 (UTC) Content-Type: multipart/signed; boundary="Apple-Mail=_3E4222DF-BA85-4C8D-AE74-6494331191FE"; protocol="application/pgp-signature"; micalg=pgp-sha512 List-Id: Discussion related to FreeBSD architecture List-Archive: https://lists.freebsd.org/archives/freebsd-arch List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arch@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.1\)) Subject: Re: Disabling COMPAT_FREEBSD4/5/6/7/9 in default kernel configurations From: Moin Rahman In-Reply-To: Date: Sat, 11 May 2024 01:51:47 +0200 Cc: Freebsd Arch Message-Id: <3190A201-A742-4579-8EC3-A99F168B599F@freebsd.org> References: To: henrichhartzer@tuta.io X-Mailer: Apple Mail (2.3731.700.6.1.1) --Apple-Mail=_3E4222DF-BA85-4C8D-AE74-6494331191FE Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On May 11, 2024, at 1:38 AM, henrichhartzer@tuta.io wrote: >=20 > Hi everyone, >=20 > Warner suggested that I run this by the list. In 2018, a bug report = was made for disabling COMPAT_FREEBSD4/5/6/7/9 (there's no 8). 6 years = later, I imagine this would be as good of a time as any to do this if = there's no obvious problems doing so. >=20 > Here's the bug report: = https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231768 >=20 > And a pull request in the spirit of the original patch: = https://github.com/freebsd/freebsd-src/pull/1228 >=20 > I imagine if this sounds like a good idea, it would land in 15.0. = Users could always recompile kernels with the old ABI functionality as = needed. I feel like we're all a little curious if anything still uses = this, and making this kind of change is probably the best way to find = out. >=20 > In my opinion, if all goes well, it may be wise to remove the old code = in the next major version. Could do the full list, or just FreeBSD 4 and = 5 compatibility, for instance. Barring notable negative feedback, of = course. >=20 > There were some concerns about Rust, but it sounds like it uses (or = used?) FreeBSD 10.X features, which this patch does not remove. On that = topic: https://github.com/rust-lang/rust/issues/89058 >=20 > Long term, it might be a good idea to enable support for EOL-1, and = maybe remove code for EOL-2, of course a less aggressive policy is also = possible (EOL-2 and EOL-3?). Getting out of the single digit FreeBSD = versions should be a good start, though! >=20 > Appreciate any feedback on this and hopefully we can reach some kind = of consensus on how to proceed in 2024. >=20 > Thank you! >=20 > -Henrich >=20 Hi, Just to clarify that before doing so we have to kill some ports as they will need various misc/compat[4-9]x ports which are dependent on these kernel features. List of ports to be affected: misc/compat4x and emulators/vgba-bin, sysutils/hpacucli misc/compat5x and emulators/mastergear, emulators/vgb-bin, = emulators/vgba-bin, graphics/xnview, net/dhcperf, sysutils/hpacucli misc/compat6x misc/compat7x misc/compat8x and www/thundercache. misc/compat9x misc/compat9x and audio/optimfrog, audio/optimfrog-sse2, misc/compat8x My killing spree for older ports seemed to be proving futile and aggressive and I no longer work on killing outdated and old ports but these ports should be killed or IGNORED before removing these features from the tree. Kind regards, Moin --Apple-Mail=_3E4222DF-BA85-4C8D-AE74-6494331191FE Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEETfdREoUGjQZKBS+fvbm1phfAvJEFAmY+sxNfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDRE Rjc1MTEyODUwNjhEMDY0QTA1MkY5RkJEQjlCNUE2MTdDMEJDOTEACgkQvbm1phfA vJF3UhAAl86Sjz78jDtwjwEkTa+c5pIrWundUkKd9KcC2U/PqGycxD03EnKKuS+H QU7LaYVV9aZhU4Fnt+TbC2zYQwIljZQ3b8svoGFH8tMsHOjH6rmf22YLo1ShIfri UTlMVMgHIoiiydvJdOOIXdSzhy0Ww+gQIMlWMkdl/wuDTAAJtCU2pUAxWWm3+7Hk of99sBANm8EwkqKjtn0k7maVmK15t11SGdIlwnq1rtSa/DzfqEEXFcu1f+wbBF4K aBoDlBlOL33yBw3DfiJ/iRLXFt4LI259OPOoDQQgdm0xsHq/Ww2DHorpNLMyp0r/ pewnC2MoHf5c7RbIKSHxWZQIwOHqRjDeHUHZ6K14WyuarPu8G5XjydnhY+GY/wSg RfyLrx8iBZxk9z6qdeh6jYOfzXRkI00X1JiUh9G+GPJoG9cu1kBWOmwPQp6DnxGu 085HtORQj+x0Vopcy6VQeEm2zE6GyYfxxncoVcDsCN2MDnUuiIjbGkIQfCvp055B CtHum1WsIxui0kVo05LzkJIHyzCICc1iJzbJGD9mfli6TSgEwZOD2IpjCejSmhMl yWjFmig320wsI/m43vpG454VI7c2jSrc1cout3LCDK5CkbrY0FhyrwgWy3afFKk3 C9Oa2SOjK94Z6WTNofHKTjNikmril+vaeQ32khsY8uq7ZgfGXMo= =6Z56 -----END PGP SIGNATURE----- --Apple-Mail=_3E4222DF-BA85-4C8D-AE74-6494331191FE--