Bug #101089 | Binary Size of RPM Build | ||
---|---|---|---|
Submitted: | 8 Oct 2020 10:34 | Modified: | 8 Oct 2020 12:33 |
Reporter: | Sebastian Schubert | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Packaging | Severity: | S4 (Feature request) |
Version: | 8.0 | OS: | Red Hat (7) |
Assigned to: | CPU Architecture: | x86 | |
Tags: | unstripped binary build |
[8 Oct 2020 10:34]
Sebastian Schubert
[8 Oct 2020 12:33]
MySQL Verification Team
Hello Sebastian, Thank you for the report and feedback. regards, Umesh
[8 Oct 2020 12:35]
MySQL Verification Team
## imho most of the size is caused by debug symbols, there was some internal discussion happening ls -lh mysql-8.0.11/bin/mysqld* -rwxr-xr-x 1 umshastr common 654M Apr 8 2018 mysql-8.0.11/bin/mysqld -rwxr-xr-x 1 umshastr common 548M Apr 8 2018 mysql-8.0.11/bin/mysqld-debug ls -lh mysql-8.0.16/bin/mysqld* -rwxr-xr-x 1 umshastr common 983M Apr 14 2019 mysql-8.0.16/bin/mysqld -rwxr-xr-x 1 umshastr common 659M Apr 14 2019 mysql-8.0.16/bin/mysqld-debug ls -lh mysql-8.0.20/bin/mysqld* -rwxr-xr-x 1 umshastr common 1.1G Mar 26 2020 mysql-8.0.20/bin/mysqld -rwxr-xr-x 1 umshastr common 703M Mar 26 2020 mysql-8.0.20/bin/mysqld-debug ls -lh mysql-8.0.21/bin/mysqld* -rwxr-xr-x 1 umshastr common 1.1G Jun 16 23:31 mysql-8.0.21/bin/mysqld -rwxr-xr-x 1 umshastr common 725M Jun 16 22:51 mysql-8.0.21/bin/mysqld-debug
[8 Oct 2020 12:37]
MySQL Verification Team
This is nothing to do with rpm builds but this can be even seen in binary tarball builds. Imho most of the size is caused by debug symbols and this looks like reasonable feature request to reduce the size.