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

Not able to do reproducible builds #146

Open
streaksu opened this issue Feb 16, 2024 · 0 comments
Open

Not able to do reproducible builds #146

streaksu opened this issue Feb 16, 2024 · 0 comments

Comments

@streaksu
Copy link

streaksu commented Feb 16, 2024

I am trying to do reproducible builds of gprbuild projects, for testing that the builds are reproducible, I have used reprotest and disorderfs, which randomize OS reported folder content order.

By using those tools, I found out gprbuild seems to rely on the OS'es reported folder contents for linking order, instead of sorting the files itself, leading to discrepancies and non-reproducible builds if the order of said contents varies.

Is there a way to override this behaviour, or to sort them for the linker step? Am I wrong about this?

The gpr project file I am using to test this can be found here.

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

1 participant