-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Build reproducibility issue on Windows caused issues for 3.4.4 release #55995
Comments
//cc @rmacnak-google |
The differences are in the PE/COFF timestamps and a GUID in the RSDS reference to the PDB file. It looks like ldd-link offers some flags to handle the COFF timestamp, but we are still using the MSVC linker even when we compile with Clang. (https://blog.llvm.org/2019/11/deterministic-builds-with-clang-and-lld.html) |
@athomas looks like we have always had this issue and it is not a recent regressions, I would like to understand the criticality of this problem (i.e is it something we have to fix?) |
It's probably a P2 (depending on the effort needed to fix it), impact is:
|
- Add missing memory permissions - Add missing alignment directive - Add missing compatible-with-SafeSEH flag Bug: #55995 Change-Id: Iad5aeb2af29511d079a8b8fa113d9c09e764a3f9 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/373881 Commit-Queue: Ryan Macnak <[email protected]> Reviewed-by: Alexander Aprelev <[email protected]>
- Make the build deterministic Bug: #55995 Change-Id: Ic800dd66f23bc402dfede09db3f67f01aa82d29d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/373360 Reviewed-by: Alexander Aprelev <[email protected]> Commit-Queue: Ryan Macnak <[email protected]>
These builds were triggered on the same commits:
https://ci.chromium.org/ui/p/dart-internal/builders/ci/dart-sdk-win-arm64-stable/42/overview
https://ci.chromium.org/ui/p/dart-internal/builders/ci/dart-sdk-win-arm64-stable/43/overview
They created these CIPD packages:
https://chrome-infra-packages.appspot.com/p/dart/dart-sdk/windows-arm64/+/BJQj5t8FiV7ro7FDJSGRGDZf3p05YsCdagql2lSq2-AC
https://chrome-infra-packages.appspot.com/p/dart/dart-sdk/windows-arm64/+/syZDaczXKFTFVfvT13KA4jL6sSHuhY-nHSPJqWLTwSIC
The packages have slight differences (handful of bytes) in these binaries:
This caused the CIPD packages to have different hashes, which in turn caused an inconsistency because there are now two packages with the same
git_version
tag but different content.The text was updated successfully, but these errors were encountered: