[Pkg-rust-maintainers] Bug#976374: Bug#973414: libmozjs-78-0: invalid opcodes when launching GDM on AMD Geode

Martin-Éric Racine martin-eric.racine at iki.fi
Fri Mar 10 07:58:42 GMT 2023


On Thu, Mar 9, 2023 at 5:13 PM Fierelier OwO <fierelier at gmail.com> wrote:
>
> What smcv said is probably the right idea. The Rust toolchain should
> be compiled in i586, and Rust programs should be compiled to i586 as
> well (I'm not sure of the specifics here).
>
> The Rust team has been expressing issues with adapting the correct
> processor definition for their i686 build, see:
> https://github.com/rust-lang/compiler-team/issues/548#issuecomment-1439976916
> -- It is unlikely we will see them change it now, hence the pull that
> Martin linked will most likely never be merged.
>
> I'm not sure if this is too late to change for Debian 13 by now, I'd
> still love to see it happen.

As far as I know, Debian already is compiling for i586 CPU on i386 as
a stopgap measure. This doesn't seem to work as expected.

It's just a hunch, but I don't think that this issue will be resolved
until Debian switches to the Rust compiler that has been merged with
GCC 13, since GCC tends to respect CPU flags across the board.

Martin-Éric



More information about the Pkg-rust-maintainers mailing list