Bug #42001 Restore the .MAP file generation
Submitted: 9 Jan 2009 15:36 Modified: 24 Feb 2009 0:43
Reporter: Calvin Sun Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:v6 OS:Windows
Assigned to: Vladislav Vaintroub CPU Architecture:Any

[9 Jan 2009 15:36] Calvin Sun
Description:
The generation of MAP file on Windows was removed recently (http://lists.mysql.com/commits/57778). The MAP file is currently required by the InnoDB dynamic plugin on Windows.

Vlad did suggest a workaround by using PDB file, which is also a hack, but unfortunately not a better one, IMO. After discussions, Vlad agrees to restore the MAP file in v6 release, which has no risk at all.

How to repeat:
Build mysqld from source on Windows, then check for mysqld.map file.

Suggested fix:
Restore the MAP file generation in v6.
[9 Jan 2009 16:41] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/62860

2963 Vladislav Vaintroub	2009-01-09
       Bug#42001- restore map file generation on Windows. 
      Innodb plugin uses map files to locate address of server functions and variables by names.
[9 Jan 2009 19:19] Timothy Smith
OK.

This whole thing needs to go away, but requires a proper server api so plugins have access to exactly the symbols they need.
[13 Feb 2009 7:25] Bugs System
Pushed into 6.0.10-alpha (revid:alik@sun.com-20090211182317-uagkyj01fk30p1f8) (version source revid:olav@sun.com-20090113103017-41jbad7qlvlwpwxh) (merge vers: 6.0.10-alpha) (pib:6)
[24 Feb 2009 0:43] Paul DuBois
Noted in 6.0.10 changelog.

The MAP file was not included in Windows distribution, but is needed
by the InnoDB plugin. MAP file generation has again been enabled.