Bug #21441 Binaries in mysql-standard-5.0.24-linux-i686.tar.gz haven't been stripped
Submitted: 4 Aug 2006 7:05 Modified: 7 Aug 2006 12:33
Reporter: Anders Henke Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:5.0.24 OS:Linux (Linux)
Assigned to: CPU Architecture:Any

[4 Aug 2006 7:05] Anders Henke
Description:
The binaries in the "Linux standard static" package for 5.0.24 haven't been stripped, so the package requires about twice the disk space. 

How to repeat:
db:/usr/local# du -sh mysql-standard-5.0.24-linux-i686/bin/ mysql-standard-5.0.22-linux-i686/bin/
108M    mysql-standard-5.0.24-linux-i686/bin/
53M     mysql-standard-5.0.22-linux-i686/bin/

Run the "file" command on each file:

db:/usr/local# file mysql-standard-5.0.24-linux-i686/bin/mysqld mysql-standard-5.0.22-linux-i686/bin/mysqld

mysql-standard-5.0.24-linux-i686/bin/mysqld: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.0.0, statically linked, not stripped

mysql-standard-5.0.22-linux-i686/bin/mysqld: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.0.0, statically linked, stripped

Suggested fix:
strip bin/*
[4 Aug 2006 7:06] Anders Henke
Note: stripping the files in bin/ makes the file require only 55 MB instead of 108 MB.
[7 Aug 2006 12:33] MySQL Verification Team
Thank you for the bug report. Currently for debuginfo non RPM package
aren't stripped.
[7 Aug 2006 13:15] Kent Boortz
MySQL AB has recently done a change in general not to strip binaries.
This is to better support the users in case things go wrong.

RPMs will be stripped if the rpm tool chain for the Linux distribution
support a separate "debuginfo" package, where the symbols for the
stripped binaries are kept in separatel files.

Note that on most modern operating system the symbols from the non
stripped binary will not be loaded into memory, and causes no or
minimal performance loss.