[Bug 1040589] bash/gcc/gzip/python differ between builds because of profiling
http://bugzilla.suse.com/show_bug.cgi?id=1040589 http://bugzilla.suse.com/show_bug.cgi?id=1040589#c28 --- Comment #28 from Martin Liška <martin.liska@suse.com> --- We've got a team meeting and we discuss the topic quite thoroughly. There's an analysis why the mentioned packages have not reproducible builds: 1) GCC: it's using garbage collected memory and similar mechanisms that are dependent on memory layout (ASLR, heap allocation). That makes it complicated to achieve a reproducible builds. 2) Python: I haven't analyzed the package, but I would expect it's affected by similar problem. 3) gzip - looks stable to me right now 4) xz - likewise 5) sed - analyzed here: https://bugzilla.suse.com/show_bug.cgi?id=1040589#c9 6) hello - the package looks stable 7) bash: I did concat of gcov-dump of all gcda and gcno files (by adding --coverage): $ find /var/tmp/ -name '*.gcda' 2>/dev/null | sort | xargs -L1 gcov-dump -l > .. and using a simple script: https://github.com/marxin/script-misc/blob/master/gcov-diff.py $ ./gcov-diff.py /tmp/gcda1 /tmp/gcda2 /tmp/gcno1 | colordiff Difference for fn 1039863413 (fmtumax fmtulong.c:84) --- +++ @@ -1,6 +1,6 @@ 01a10000: 60:COUNTERS arcs 30 counts 0: 0 0 275415 91 0 0 0 0 - 8: 198528 76887 12 184735 0 0 0 0 + 8: 198528 76887 12 184812 0 0 0 0 16: 0 0 0 0 0 0 0 0 24: 0 0 0 0 0 91 01a30000: 8:COUNTERS interval 4 counts Difference for fn 1133735831 (mbschr mbschr.c:43) --- +++ @@ -1,5 +1,5 @@ 01a10000: 24:COUNTERS arcs 12 counts - 0: 1720761 1105721 1105721 669139 1665477 667538 667538 667533 - 8: 1035 6682747 668104 1987469 + 0: 1720761 1105721 1105721 669139 1665499 667538 667538 667533 + 8: 1035 6682747 668104 1987491 01af0000: 2:COUNTERS time_profiler 1 counts 0: 38 Difference for fn 1191969440 (timeval_to_cpu timeval.c:73) --- +++ @@ -1,6 +1,6 @@ 01a10000: 16:COUNTERS arcs 8 counts 0: 6 0 0 0 36 24 0 6 01a70000: 6:COUNTERS single 3 counts - 0: 9 4 6 + 0: 11 2 6 01af0000: 2:COUNTERS time_profiler 1 counts 0: 265 Difference for fn 58810953 (make_word_flags make_cmd.c:102) --- +++ @@ -1,5 +1,5 @@ 01a10000: 22:COUNTERS arcs 11 counts - %2 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com