Hello,
after switching to the Intel compiler suite 2011.6 (i.e. the compiler versions 12.1) I get on some of my systems the following error at the final linker step for debug builds:
xyz.obj : fatal error LNK1318: Unexpected PDB error; RPC (23) '(0x000006BA)'
and then the linker fails.
The xyz.obj was compiled before from a F90 source using the "ifort" compiler with the "/Zi" switch amongst others. The final linking step is done by using "icl" since also other objects from C code are linked (all also compiled with "/Zi").
I found a long ago similar thing in another thread for the C compiler. - Could it be that this is related?
链接已复制
BTW:
- the same happens, if I use "/Z7" instead of "/Zi"
- this is not appearing on all systems equally
- Windows Server 2008 64-bit on Intel CPU compiling with 64-bit Intel-compilers: no error
- Windows Server 2003 64-bit on AMD CPU compiling with 64-bit Intel-compilers: ERROR
- Windows 7 64-bit on Intel CPU compiling with 32-bit Intel-compilers: no error
- Windows 7 64-bit onAMD(?) CPU compiling with 32-bit Intel-compilers: ERROR
No, not explicitly (unless it is a default lib that the compiler/linker automatically pulls in).
> Did you participate in the beta and perhaps are linking to old libraries?
No, we did not install any BETA compilers on these machines.
We are compiling on the commandline using the environment as setup by calling "compilervars_arch.bat
ifort -I. -I../../../include /nologo /fpp /MDd /Qdiag-disable:vec /Qdiag-disable:cpu-dispatch /Qopenmp /Od /Zi -c xyz.f90
Linker command:
icl -I. -I../../../include /nologo /W3 /D_CRT_SECURE_NO_DEPRECATE /MDd /Qdiag-disable:1478 /Qdiag-disable:vec /Qdiag-disable:cpu-dispatch /Qdiag-disable:661 /Qvc10 /Qstd=c99 /GS- /Qdiag-disable:1572 /Od /Zi /D_DEBUG
Unfortunately I cannot attach the xyz.obj here as it is confidential.
Sure, but I need a debug compilation for debugging, thus I need the /Zi (or /Z7)
> I'll have to ask our debug generation experts for other suggestions
Thanks, that is greatly appreciated.
------
Wendy
On my machine with VS2008, the solution fails to build one project in the x64 Debug configuration. On a colleague's machine with VS2010, the same solution builds in x64 Debug, but fails to build Win32 Release.
Let me know if you want me to submit thisto premier support or otherwise.
Mark.
The original test case has been submitted to premier but please submit another one if you have a test case request to to be assigned to Wendy Doerner. We will follow up here with the solution of the investigation.
------
Wendy
Attaching or including files in a post
The original test case has been submitted to premier but please submit another one if you have a test case request to to be assigned to Wendy Doerner. We will follow up here with the solution of the investigation.
------
Wendy
Attaching or including files in a post
Wendy,
I've submitted an issue and marked it for your attention: it's 647164.
Mark
Thanks. I see the issue, already being worked by a colleague. I am checking with him on status.
------
Wendy
