Open tatsuya6502 opened 1 year ago
Update the Linux cross compiler tests:
main
branch (for v0.12.x
):
v0.11.x
branch:
v0.10.x
branch:
v0.9.x
branch:
rust-lang >> t-compiler/help >> mipsel-unknown-linux-musl appears sad between 1.72.1/1.73.0 (near/396569490)
Both MIPS and MIPS64 are affected by a shift bug https://github.com/rust-lang/rust/issues/116177 that happens when the size of the integer is twice as large as a register, and the two are getting swapped for some reason
Updated the Linux cross compiler tests:
main
branch (for v0.12.x
):
Summary:
main
, v0.11.0
, v0.10.0
, v0.9.0
- Rust compiler 1.73.0 has a miscompilation issue for bit-wise shift in MIPS targets:
- It is caused by a LLVM bug:
- [MIPS] miscompile of 64-bit shift with masked shift amount llvm/llvm-project#64794
- They are trying to back-port the fix to the LLVM version that current Rust compiler uses.
The above issues have been resolved for Rust 1.76.0: https://github.com/rust-lang/rust/pull/117907.
1.76.0 is currently Nightly and will be stable on February 8, 2024.
After upgrading Rust toolchain in my local environment to 1.75.0, I noticed rustup
cannot install prebuilt std
for the MIPS targets. This is because the MIPS targets have been demoted from tier 2 to tier 3. So the binary releases for these targets are no longer provided by the Rust project.
Our CI is currently using Rust 1.72.1 for the MIPS targets, so it will continue running.
The above issues have been resolved for Rust 1.76.0: https://github.com/rust-lang/rust/pull/117907.
1.76.0 is currently Nightly and will be stable on February 8, 2024.
When 1.76.0 is released, we will update our CI to use the latest stable for the MIPS targets again, by enabling build-std = true
in the cross.toml
.
Rust 1.73.0 has been released and some unit tests started to fail for 32-bit
mips-unknown-linux-musl
target.Note that the CI is using QEMU's user space emulator, so emulation may not be accurate. However, as long as I can remember, these tests never failed with older versions of Rust.
https://github.com/moka-rs/moka/actions/runs/6436542687/job/17587394644