https://bugs.kde.org/show_bug.cgi?id=401742

            Bug ID: 401742
           Summary: unreproducible .a files should not be built with LTO
           Product: valgrind
           Version: 3.14.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: jsew...@acm.org
          Reporter: kdebugs...@lsmod.de
  Target Milestone: ---

SUMMARY
While working on reproducible builds for openSUSE, I found that
the valgrind package varied for every build
because its .a files contain .o files
created by gcc -flto -c
Such .o files are gcc version specific and not very useful.
Also they always differ from randomness introduced by gcc,
making it impossible to verify that the build was correct.

See also https://bugzilla.opensuse.org/show_bug.cgi?id=1118163

STEPS TO REPRODUCE
1. build openSUSE Factory valgrind package 2 times
2. compare results

OBSERVED RESULT
.a files differ

EXPECTED RESULT
It should be possible to generate identical build results
multiple times.

ADDITIONAL INFORMATION
I got a patch to fix this and will upload it to Phabricator.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to