J
Jonathan Payne
I am having some problems with the linker and I was wondering if anyone had
any suggestions. I am working on a large project (the main .exe file is
around 7 mb release, 14 mb debug) and after building a number of debug
builds I get a linker error (see below).
I do a complete clean and rebuild every evening so I have a fresh build by
the morning. By early afternoon (after perhaps 20 or so incremental
builds), I start seeing the linker errors and once they start occurring, I
get them roughtly every other time I build until I do a full rebuild.
The following knowledge base articles seem to detail similar problems but
for the 2002 edition of the compiler (I am using Visual Studio 2003):
http://support.microsoft.com/default.aspx?kbid=329593
http://support.microsoft.com/default.aspx?scid=kb;en-us;826326
As these have updated link.exe files from after the 2003 release, I was
wondering if the fix was discovered after the 2003 release and if so, if
Microsoft has an equivalent fix for Visual Studio 2003. Is there a hot fix
I could get from Microsoft support?
Alternatively, are there any work arounds? I was wondering if deleting some
of the intermediate files and letting it do a full relink at lunch time each
day would help but I think it is already doing a full relink after the
linker crashes as the previous link failed (although I am thinking of
experimenting with deleting the .ilk files at lunch time).
Of course the other solution would be not to use incremental linking but I
would like to carry on using it if possible (as a full link takes much
longer).
Jonathan
Here are the error messages. I have collected a few but as they are all
almost identical I will only post a selection:
14:46 09/03/2004
LINK : fatal error LNK1000: Internal error during Pass2
Version 7.10.3077
ExceptionCode = C0000005
ExceptionFlags = 00000000
ExceptionAddress = 0044A956 (00400000) "C:\Program Files\Microsoft
Visual Studio .NET 2003\Vc7\bin\link.exe"
NumberParameters = 00000002
ExceptionInformation[ 0] = 00000000
ExceptionInformation[ 1] = 010240E7
CONTEXT:
Eax = 000002FF Esp = 0012F2C8
Ebx = 3FFF0338 Ebp = 00000001
Ecx = 01023DE8 Esi = 00E25368
Edx = 0000028F Edi = 0000028F
Eip = 0044A956 EFlags = 00010206
SegCs = 0000001B SegDs = 00000023
SegSs = 00000023 SegEs = 00000023
SegFs = 00000038 SegGs = 00000000
Dr0 = 0012F2C8 Dr3 = 3FFF0338
Dr1 = 00000001 Dr6 = 01023DE8
Dr2 = 00000000 Dr7 = 00000000
14:54 09/03/2004
LINK : fatal error LNK1000: Internal error during Pass2
Version 7.10.3077
ExceptionCode = C0000005
ExceptionFlags = 00000000
ExceptionAddress = 0044A956 (00400000) "C:\Program Files\Microsoft
Visual Studio .NET 2003\Vc7\bin\link.exe"
NumberParameters = 00000002
ExceptionInformation[ 0] = 00000000
ExceptionInformation[ 1] = 010240E7
CONTEXT:
Eax = 000002FF Esp = 0012F2C8
Ebx = 3FFF0338 Ebp = 00000001
Ecx = 01023DE8 Esi = 00E25368
Edx = 0000028F Edi = 0000028F
Eip = 0044A956 EFlags = 00010206
SegCs = 0000001B SegDs = 00000023
SegSs = 00000023 SegEs = 00000023
SegFs = 00000038 SegGs = 00000000
Dr0 = 0012F2C8 Dr3 = 3FFF0338
Dr1 = 00000001 Dr6 = 01023DE8
Dr2 = 00000000 Dr7 = 00000000
14:27 11/03/2004
LINK : fatal error LNK1000: Internal error during Pass2
Version 7.10.3077
ExceptionCode = C0000005
ExceptionFlags = 00000000
ExceptionAddress = 0044A956 (00400000) "C:\Program Files\Microsoft
Visual Studio .NET 2003\Vc7\bin\link.exe"
NumberParameters = 00000002
ExceptionInformation[ 0] = 00000000
ExceptionInformation[ 1] = 00D970D7
CONTEXT:
Eax = 000002FF Esp = 0012F2C8
Ebx = 3FFF0338 Ebp = 00000008
Ecx = 00D96DD8 Esi = 00A0B080
Edx = 0000028F Edi = 0000028F
Eip = 0044A956 EFlags = 00010206
SegCs = 0000001B SegDs = 00000023
SegSs = 00000023 SegEs = 00000023
SegFs = 00000038 SegGs = 00000000
Dr0 = 0012F2C8 Dr3 = 3FFF0338
Dr1 = 00000008 Dr6 = 00D96DD8
Dr2 = 00000000 Dr7 = 00000000
any suggestions. I am working on a large project (the main .exe file is
around 7 mb release, 14 mb debug) and after building a number of debug
builds I get a linker error (see below).
I do a complete clean and rebuild every evening so I have a fresh build by
the morning. By early afternoon (after perhaps 20 or so incremental
builds), I start seeing the linker errors and once they start occurring, I
get them roughtly every other time I build until I do a full rebuild.
The following knowledge base articles seem to detail similar problems but
for the 2002 edition of the compiler (I am using Visual Studio 2003):
http://support.microsoft.com/default.aspx?kbid=329593
http://support.microsoft.com/default.aspx?scid=kb;en-us;826326
As these have updated link.exe files from after the 2003 release, I was
wondering if the fix was discovered after the 2003 release and if so, if
Microsoft has an equivalent fix for Visual Studio 2003. Is there a hot fix
I could get from Microsoft support?
Alternatively, are there any work arounds? I was wondering if deleting some
of the intermediate files and letting it do a full relink at lunch time each
day would help but I think it is already doing a full relink after the
linker crashes as the previous link failed (although I am thinking of
experimenting with deleting the .ilk files at lunch time).
Of course the other solution would be not to use incremental linking but I
would like to carry on using it if possible (as a full link takes much
longer).
Jonathan
Here are the error messages. I have collected a few but as they are all
almost identical I will only post a selection:
14:46 09/03/2004
LINK : fatal error LNK1000: Internal error during Pass2
Version 7.10.3077
ExceptionCode = C0000005
ExceptionFlags = 00000000
ExceptionAddress = 0044A956 (00400000) "C:\Program Files\Microsoft
Visual Studio .NET 2003\Vc7\bin\link.exe"
NumberParameters = 00000002
ExceptionInformation[ 0] = 00000000
ExceptionInformation[ 1] = 010240E7
CONTEXT:
Eax = 000002FF Esp = 0012F2C8
Ebx = 3FFF0338 Ebp = 00000001
Ecx = 01023DE8 Esi = 00E25368
Edx = 0000028F Edi = 0000028F
Eip = 0044A956 EFlags = 00010206
SegCs = 0000001B SegDs = 00000023
SegSs = 00000023 SegEs = 00000023
SegFs = 00000038 SegGs = 00000000
Dr0 = 0012F2C8 Dr3 = 3FFF0338
Dr1 = 00000001 Dr6 = 01023DE8
Dr2 = 00000000 Dr7 = 00000000
14:54 09/03/2004
LINK : fatal error LNK1000: Internal error during Pass2
Version 7.10.3077
ExceptionCode = C0000005
ExceptionFlags = 00000000
ExceptionAddress = 0044A956 (00400000) "C:\Program Files\Microsoft
Visual Studio .NET 2003\Vc7\bin\link.exe"
NumberParameters = 00000002
ExceptionInformation[ 0] = 00000000
ExceptionInformation[ 1] = 010240E7
CONTEXT:
Eax = 000002FF Esp = 0012F2C8
Ebx = 3FFF0338 Ebp = 00000001
Ecx = 01023DE8 Esi = 00E25368
Edx = 0000028F Edi = 0000028F
Eip = 0044A956 EFlags = 00010206
SegCs = 0000001B SegDs = 00000023
SegSs = 00000023 SegEs = 00000023
SegFs = 00000038 SegGs = 00000000
Dr0 = 0012F2C8 Dr3 = 3FFF0338
Dr1 = 00000001 Dr6 = 01023DE8
Dr2 = 00000000 Dr7 = 00000000
14:27 11/03/2004
LINK : fatal error LNK1000: Internal error during Pass2
Version 7.10.3077
ExceptionCode = C0000005
ExceptionFlags = 00000000
ExceptionAddress = 0044A956 (00400000) "C:\Program Files\Microsoft
Visual Studio .NET 2003\Vc7\bin\link.exe"
NumberParameters = 00000002
ExceptionInformation[ 0] = 00000000
ExceptionInformation[ 1] = 00D970D7
CONTEXT:
Eax = 000002FF Esp = 0012F2C8
Ebx = 3FFF0338 Ebp = 00000008
Ecx = 00D96DD8 Esi = 00A0B080
Edx = 0000028F Edi = 0000028F
Eip = 0044A956 EFlags = 00010206
SegCs = 0000001B SegDs = 00000023
SegSs = 00000023 SegEs = 00000023
SegFs = 00000038 SegGs = 00000000
Dr0 = 0012F2C8 Dr3 = 3FFF0338
Dr1 = 00000008 Dr6 = 00D96DD8
Dr2 = 00000000 Dr7 = 00000000