On Sun, Nov 24, 2024, at 8:01 AM, Shengjing Zhu wrote: > On Sat, Nov 23, 2024 at 10:30 PM Fabian Grünbichler > <debian@fabian.gruenbichler.email> wrote: >> A) move i386 rustc to Rust's i586 target (which doesn't have SSE out of the >> box), instead of the i686-with-SSE2-disabled it currently uses >> 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) >> > > For reference, golang had a similar problem 3 years ago[1]. We decided > to downgrade the baseline for golang on i386. > > [1] https://lists.debian.org/debian-devel/2021/04/msg00165.html
downgrading the baseline for Rust is what got us into this mess ;) there is no 32-bit x86 softfloat target upstream. there is a 64-bit one for kernel/.. usage: https://doc.rust-lang.org/beta/rustc/platform-support/x86_64-unknown-none.html