Re: Rustc unsoundness on i386
On 2024-11-24 11:00:20, Fabian Grünbichler wrote:
> On Sat, Nov 23, 2024, at 5:50 PM, Chris Hofstaedtler wrote:
> > * Fabian Grünbichler <debian@fabian.gruenbichler.email> [241123 15:31]:
> >> B) bump the i386 baseline in Debian to require SSE2, and stop disabling SSE2 there in rustc
> >> C) disable all optimizations for Rust code on i386 (not really an option I think, just here for completeness sake)
> >
> > D) follow the other teams and stop building Rust on i386.
>
> I am not personally invested in i386 at all, but that is still not a call that I'd want to make as toolchain maintainer. If the release team prefers it over B) and over risking running into the miscompilation issues in practice, then I won't object.
>
> FWIW, my (personal!) current preference would be B), followed by either documenting the issue and accepting it or D). Given the far-reaching implications of both B and D, I don't think this is a decision that either I or the Rust team can make alone.
I've been watching this thread from the sideline so far, but after
thinking some more, I don't understand why B) is simply not the chosen
path forward.
Are there viable/realistic platforms today that are i386 for real, and
don't support SSE2? In other words, if Debian as a whole does B) (not
only for rust), what is the practical impact on any non-toy hardware?
regards,
iustin
Reply to: