| Bug #28611 | libmysql.dll has become much larger in size | ||
|---|---|---|---|
| Submitted: | 23 May 2007 6:52 | Modified: | 13 Jun 2007 13:10 |
| Reporter: | Yoshiaki Tajika (Basic Quality Contributor) | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server: Compiling | Severity: | S3 (Non-critical) |
| Version: | 5.0.41 | OS: | Windows |
| Assigned to: | CPU Architecture: | Any | |
[23 May 2007 6:52]
Yoshiaki Tajika
[13 Jun 2007 13:10]
MySQL Verification Team
Thank you for the bug report. The explanation of sizes difference (debug
Info introduced in the 5.0.41 build) see below section header 2 with dumpbin tool:
C:\temp>dumpbin /headers mysql-5.0.37-win32\bin\libmySQL.dll
Microsoft (R) COFF/PE Dumper Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file mysql-5.0.37-win32\bin\libmySQL.dll
PE signature found
File Type: DLL
FILE HEADER VALUES
14C machine (x86)
4 number of sections
45EC8052 time date stamp Mon Mar 05 17:40:50 2007
0 file pointer to symbol table
0 number of symbols
E0 size of optional header
210E characteristics
Executable
Line numbers stripped
Symbols stripped
32 bit word machine
DLL
<cut>
SECTION HEADER #2
.rdata name
133CA virtual size
61000 virtual address (10061000 to 100743C9)
14000 size of raw data
61000 file pointer to raw data (00061000 to 00074FFF)
0 file pointer to relocation table
0 file pointer to line numbers
0 number of relocations
0 number of line numbers
40000040 flags
Initialized Data
Read Only
<cut>
Summary
FE000 .data
14000 .rdata
6000 .reloc
60000 .text
C:\temp>dumpbin /headers mysql-5.0.41-win32\bin\libmySQL.dll
Microsoft (R) COFF/PE Dumper Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file mysql-5.0.41-win32\bin\libmySQL.dll
PE signature found
File Type: DLL
FILE HEADER VALUES
14C machine (x86)
6 number of sections
463AE6D9 time date stamp Fri May 04 04:55:05 2007
0 file pointer to symbol table
0 number of symbols
E0 size of optional header
210E characteristics
Executable
Line numbers stripped
Symbols stripped
32 bit word machine
DLL
<cut>
SECTION HEADER #2
.rdata name
198F5 virtual size
9E000 virtual address (1009E000 to 100B78F4)
1A000 size of raw data
9E000 file pointer to raw data (0009E000 to 000B7FFF)
0 file pointer to relocation table
0 file pointer to line numbers
0 number of relocations
0 number of line numbers
40000040 flags
Initialized Data
Read Only
Debug Directories
Time Type Size RVA Pointer
-------- ------ -------- -------- --------
463AE6D9 cv 7C 000B42D4 B42D4 Format: RSDS, {1FAC7C46-CB58-4E7E-93AC-EF4BF6F61CBD}, 9, f:\build\mysq
l-5.0.41-winbuild\mysql-community-nt-5.0.41-build\libmysql\RelWithDebInfo\libmysql.pdb
<cut>
Summary
132000 .data
2000 .idata
1A000 .rdata
7000 .reloc
9D000 .text
1000 .tls
