Article ID: 974193 - View products that this article applies to.
When you build a project in a Release configuration by using Microsoft Visual Studio 2005 Service Pack 1 (SP1), you receive the following error message:
fatal error LNK1103: debugging information corrupt; recompile module
This problem occurs because there is a bug in the linker that causes the corrupted debug information.
A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.
To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
PrerequisitesYou must have Visual Studio 2005 SP1 installed to apply this hotfix.
Restart requirementYou do not have to restart the computer after you apply this hotfix if no Visual Studio instance is in use.
Hotfix replacement informationThis hotfix does not replace any other hotfixes.
File informationThe English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Collapse this tableExpand this table
To work around this problem, turn off the program database (PDB) file generation for the project.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information about the /PDB option in Visual C++ linker, visit the following Microsoft Web site:
Article ID: 974193 - Last Review: October 7, 2011 - Revision: 2.0