BullseyeCoverage Up Contents Search

Error LNK1000 Internal error during LinkerMain

Symptoms

With Visual Studio 2008, the error below occurs.

LINK : fatal error LNK1000: Internal error during LinkerMain
  Version 9.00....
  ExceptionCode            = C0000005
  ExceptionFlags           = 00000000
  ExceptionAddress         = ...
  NumberParameters         = 00000002
  ExceptionInformation[ 0] = ...
  ExceptionInformation[ 1] = ...
CONTEXT:
  Eax    = ...       Esp    = ...
  Ebx    = ...       Ebp    = ...
  Ecx    = 3FFF03E8  Esi    = 3FFF0410
  Edx    = ...       Edi    = ...
  Eip    = ...       EFlags = ...
  SegCs  = ...       SegDs  = ...
  SegSs  = ...       SegEs  = ...
  SegFs  = ...       SegGs  = ...
  Dr0    = 00000000  Dr3    = 00000000
  Dr1    = 00000000  Dr6    = 00000000
  Dr2    = 00000000  Dr7    = 00000000

Cause

The problem is due to a bug in the Microsoft linker.

Resolution

There are two alternatives:

  1. Disable incremental linking. To do this, use the Visual Studio menu command Project Properties, then navigate to Linker General and change the setting Enable Incremental Linking.
  2. Update to Visual Studio 2010 or later.

Updated: 26 Mar 2013