Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't reproduce binary using different Linux users #555

Open
gaojiaqi7 opened this issue Apr 4, 2023 · 4 comments
Open

Can't reproduce binary using different Linux users #555

gaojiaqi7 opened this issue Apr 4, 2023 · 4 comments
Milestone

Comments

@gaojiaqi7
Copy link
Member

No description provided.

@jyao1 jyao1 modified the milestones: 2023'Q1, 2023'Q2 Apr 10, 2023
@liuw1
Copy link
Contributor

liuw1 commented Apr 10, 2023

I will take this

@jyao1 jyao1 assigned liuw1 and unassigned gaojiaqi7 Apr 10, 2023
@liuw1
Copy link
Contributor

liuw1 commented Apr 13, 2023

After investigation, the relocation section and symbol map of the output binaries generated by the Rust compiler may differ between different Linux users due to differences in file permissions and environment variables. See blow image:
image

Rust Reproducible Build Ref link: https://users.rust-lang.org/t/testing-out-reproducible-builds/9758

@liuw1
Copy link
Contributor

liuw1 commented Apr 13, 2023

Recommendation:

  1. Use same user name 'tdshim'
  2. Use same tool configuration(same version):
    clang
    nasm
    rustc
    cargo
    cargo-xbuild
    rust-toolchain

@liuw1
Copy link
Contributor

liuw1 commented Dec 4, 2023

It has been fixed with 2300bb8.

@liuw1 liuw1 removed their assignment Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants