[Pkg-rust-maintainers] Bug#993855: rustc: Bootstrapping rustc for x32

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Tue Sep 7 10:01:18 BST 2021


Source: rustc
Severity: normal

Hello!

Bootstrapping the Rust compiler on x32 is now possible provided that the
LLVM version used is 13 or newer. I have successfully cross-compiled the
Rust compiler from git for x86_64-unknown-linux-gnux32 which is what we
call x32 in Debian.

There is one pending patch [1] necessary for the build to succeed. So, if
the patch is not included in Rust 1.55.0, please pull it from there.

I was already able to cross-compile and upload the cargo package and I will
keep updating the package manually once new upstream versions have been
uploaded to unstable.

Once we have version 1.55.0 in unstable, we will be able to build the rustc
package for x32 without any problems. I haven't verified the testsuite results
though.

Adrian

> [1] https://github.com/rust-lang/rust/pull/88668

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



More information about the Pkg-rust-maintainers mailing list