Skip to content

building the std for aarch64_be-unknown-linux-gnu_ilp32 twice in a row, the binary libcompiler_builtins.rlib is inconsistent #119372

Closed
@lxy19980601

Description

@lxy19980601

We have experimented with recent versions of rust(from 2023-10-30 to 2023-12-27).
use RUSTC_BOOTSTRAP=1 cargo build --target aarch64_be-unknown-linux-gnu_ilp32 -Z build-std
It has been found that the 2023-11-05 version has binary inconsistencies in libcompiler_builtins.rmeta, and the 11-06 version is completely consistent. So th problem is fixed on 11-05. And I also found that 11-05 uses compiler_builtins v0.1.101, but 11-06 uses compiler_builtins v0.1.103.
I replaced the compiler_builtins version in rust-2023-11-05 from v0.1.101 to v0.1.103, and then found libcompiler_builtins.rmeta is consistent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-reproducibilityArea: Reproducible / deterministic buildsC-bugCategory: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions