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
On macOS, the generated interrogate_wrapper.cpp is not deterministic, leading to a non-reproducible build. On Linux, the exact same build is perfectly reproductible
Steps to Reproduce
Interrogate is called with the following parameters (I removed the app include directories and files for clarity):
Ah, the external imports are in a std::set<CPPType *>, sorting by pointer value isn't guaranteed to be deterministic of course. I'll make a change to resort them.
Description
On macOS, the generated
interrogate_wrapper.cpp
is not deterministic, leading to a non-reproducible build. On Linux, the exact same build is perfectly reproductibleSteps to Reproduce
Interrogate is called with the following parameters (I removed the app include directories and files for clarity):
SOURCE_DATE_EPOCH
is set to a static value andPYTHONHASHSEED
is set to0
The diff of two generated
interrogate_wrapper.cpp
is as follow :and the resulting
.o
files are different (A diff usingobjdump -d
reveals different offsets)Environment
The text was updated successfully, but these errors were encountered: