Bug #85855 Backport #25436469 to MySQL 5.6+
Submitted: 7 Apr 2017 10:36 Modified: 5 Jul 2018 14:10
Reporter: Steinar Gunderson Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.6 OS:Any
Assigned to: CPU Architecture:Any

[7 Apr 2017 10:36] Steinar Gunderson
Description:
We'd like to backport the fix for #25436469 (BUILDS ARE NOT REPRODUCIBLE) to MySQL 5.6 and 5.7 to be able to have reproducible builds for older versions as well. 5.5 will be skipped due to lack of CMake cleanups. Not everything might be possible on all compilers, so we'll need to keep an eye out for any extra tests we'd need to add to the CMake code.

How to repeat:
N/A

Suggested fix:
N/A
[5 Jul 2018 13:45] Steinar Gunderson
Posted by developer:
 
Was fixed for 5.5+ in a commit by Didrik a while back.
[5 Jul 2018 14:10] Paul DuBois
Posted by developer:
 
Fixed in 5.5.67, 5.6.37, 5.7.19, 8.0.1.

MySQL compilation in different directories produced different builds
to leakage of absolute paths into debug information and __FILE__.