Hi,
We are getting a strange error at link time for optimized builds due to PDB flags. The error we get is -
LINK : fatal error LNK1318: Unexpected PDB error; RPC (23) '(0x000006BA)'
We support VS 2008 and VS 2010 built products and so far observed the issue only with with VS 2010 builds. Following are the details used to generate PDB for our builds -
A) /Zi and -Fd<a seperate pdb file for each object> is used at compile time. We use seperate file for each object to store pdb information since we use parallel make in our build environment.
B) /DEBUG and -opt:ref,icf is used at link time.
We really want to nail down the issue happening with PDB flags using VS 2010 build environment. We cannot get rid of PDB generation for optimized builds since we use this mechanism to debug dmp file for optimized builds.
Please let us know your recommendations to address this issue.
-Karthik