Bug #84382 Add an option to randomize link order
Submitted: 2 Jan 2017 12:09 Modified: 9 Jan 2017 17:42
Reporter: Steinar Gunderson Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:8.0.1 OS:Any
Assigned to: CPU Architecture:Any

[2 Jan 2017 12:09] Steinar Gunderson
Description:
We keep seeing spurious regressions that we believe are caused by lucky or unlucky alignment of code. We should implement a way to randomize the link order of functions, so that we can easier see whether these regressions are real or not.

How to repeat:
N/A

Suggested fix:
N/A
[9 Jan 2017 17:42] Paul DuBois
Posted by developer:
 
Noted in 8.0.1 changelog.

Two new CMake options are available for debugging. LINK_RANDOMIZE
indicates whether to randomize the order of symbols in the mysqld
binary (default OFF), and LINK_RANDOMIZE_SEED specifies a seed value
for LINK_RANDOMIZE.