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

MacOS builds are guaranteed to be non-deterministic #1693

Open
mtl1979 opened this issue Feb 23, 2024 · 2 comments
Open

MacOS builds are guaranteed to be non-deterministic #1693

mtl1979 opened this issue Feb 23, 2024 · 2 comments

Comments

@mtl1979
Copy link
Collaborator

mtl1979 commented Feb 23, 2024

MacOS 11 was last to support deterministic builds and it's being slowly retired from GitHub runners, which means the pkgcheck workflows can intermittently fail until they stop working completely.

@nmoinvaz
Copy link
Member

nmoinvaz commented Mar 6, 2024

https://gist.github.com/pudquick/89c90421a9582f88741b21d10c6a155e
It suggests we may be able to get around it by using a different linker.

@mtl1979
Copy link
Collaborator Author

mtl1979 commented Mar 6, 2024

https://gist.github.com/pudquick/89c90421a9582f88741b21d10c6a155e It suggests we may be able to get around it by using a different linker.

There is differences even before it tries to use linker, so comparing object files already fails... I got as far as having just 1 byte difference, but my knowledge of the executable format used by Mac is quite limited and I don't have recent enough Mac hardware to test, so I can only use the CI to test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants