reproducibility tests are failed from v1.75 on-wards. https://lists.openembedded.org/g/openembedded-core/message/193092 Same is observed with 1.76 update also. https://lists.openembedded.org/g/openembedded-core/message/195281 Reproducibility test failures should be fixed.
I've analyzed the changes from 1.74.1 to 1.75.0, there are changes related to Cargo, llvm & some changes w.r.t to bolt feature/optimization are there. I've tried a few builds by reverting these changes but still the issue is reproducing. There are a few commits in 85c0ce2 for src/bootstrap/src/core/builder.rs & src/bootstrap/src/bin/rustc.rs files which have changes related to remap-debuginfo option and I suspect this commit might causing the issue. I tried build by reverting the commit & with the latest changes in 4b7e0a0 but still issue is reproducing. Further discussion is on-going with upstream. https://github.com/rust-lang/rust/issues/120825
During the build absolute path names are found in many stages but all are replaced/remapped as per '--remap-path-prefix' command by end of the build except the '.rustc' section contents. I see that the .rustc section of 1.74 libs having the path names with '/rust/$hash' format. Below is the contents of libdarling_macro-*.so file. /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/vendor/darling_macro/src/lib.rs Where as in 1.75 this is having absolute path names /home/skokkond/rust/rustc-1.75.0-src/vendor/darling_macro/src/lib.rs Updated the analysis so far in rust community: https://github.com/rust-lang/rust/issues/120825#issuecomment-1964307219
Issue fixed with below commits: https://git.openembedded.org/openembedded-core/commit/?h=master-next&id=457422ecb25480f9dae1adc7730062770a924487 https://git.openembedded.org/openembedded-core/commit/?h=master-next&id=457422ecb25480f9dae1adc7730062770a924487
Issue fixed with above mentioned commits in Comment #3.
Sundeep, I've re-opened the bug so you can provide links to a branch other than master-next. As you know the commit id on master-next can change. Please update and resolved the bug again. Thanks.
-> Needinfo
Issue fixed with below commit. https://git.openembedded.org/openembedded-core/commit/?id=2eceaa4b6ca398ec233b18c1064970bdf68a9258
Thanks Sundeep.