This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
No I'm actually comparing library files. Someone had mentioned I should be comparing .o files first, which I did, but they remain the same each time. It's only the build contents I listed and the binary that change.
"Caleb Cittadino" <caleb.cittadino@gmail.com> writes:
> Strangely, when I use -frandom-seed I get a bigger set of differing > data between the resulting library files. I checked the documentation > for gcc and it states this options is used to "produce reproducibly > identical object files." So I assume this will only work on .o files?
Wait: are you comparing .o or .a files? .a files will always have lots of differences, because the .a file includes a timestamp.
You should be able to compare the .o files reliably.
Ian
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |