On Sun, Nov 24, 2024, at 2:49 PM, Bastien Roucariès wrote: > Le samedi 23 novembre 2024, 18:29:04 UTC Andrey Rakhmatullin a écrit : >> On Sat, Nov 23, 2024 at 03:14:42PM +0100, Fabian Grünbichler wrote: >> > B) bump the i386 baseline in Debian to require SSE2, and stop disabling >> > SSE2 there in rustc >> >> As suggested by Chris, and a popular opinion/request in general. > > Hi, > > First if we bump ABI could we target "pABI v0" aka amd64 baseline > instead of only SSE2 ? > > It is perfectly equivalent (except minor point about FXSR).
I don't have any opinion on that :) > Moreover you could test cpu support using this > https://wiki.debian.org/InstructionSelection#Isa_support_package that doesn't really help. existing packages are already possibly broken in bookworm as well, and they are broken irrespective of whether the system they are installed on supports SSE2 or not. > I have made qemu-good qemu-bad wrapper to test if needed > > In this case, for your user I will add a wrapper that at preinst time > warn user about unsupported instrution for next debian version and > backport to bookworm PU > > I suppose dpkg could be made pre depends on this wrapper and we could > break the upgrade if instruction is not supported see above, this only helps for non-SSE systems to prevent them from upgrading since they are no longer supported if we raise the baseline, but it doesn't actually solve the issue at hand if we don't. unless we raise the baseline only for Rust, but I don't really see a point in that.