You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
I am trying to do reproducible builds of gprbuild projects, for testing that the builds are reproducible, I have used
reprotest
anddisorderfs
, 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.
The text was updated successfully, but these errors were encountered: