Bug #87372 Remove unused code from binaries
Submitted: 10 Aug 2017 11:59 Modified: 2 Oct 2017 17:25
Reporter: Steinar Gunderson Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:8.0.3 OS:Any
Assigned to: CPU Architecture:Any

[10 Aug 2017 11:59] Steinar Gunderson
Description:
Our binaries keep functions around even if they are unused or duplicated. Newer linker functionality allow us to get rid of this, at least on main platforms.

How to repeat:
N/A

Suggested fix:
N/A
[2 Oct 2017 17:25] Paul DuBois
Posted by developer:
 
Fixed in 8.0.4.

On platforms for which the GNU gold linker is used, removal of unused
functions is now enabled, reducing the size of binaries.