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.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.053 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.