How to generate pdb files for parallel builds?

3

We are seeking ideas on resolving a problem with linking/pdb generation when running multiple devenv.com using Visual Studio 2005.

We are getting the following intermittently errors when doing parallel builds using devenv.com. I.e. when the following get run at the same time on the same build server:

devenv.com master.sln /build "Release|Win32" 
devenv.com master.sln /build "Debug|x64" 

fatal error LNK1318: Unexpected PDB error; RPC (23) '(0x000006BA)'
error C2471: cannot update program database 

We want the pdb files, so turning them off isn't realy an option. Running the builds serially doesn't cause the issue, but of course slows down the build process.

References found so far indicate

  • that there are issues with length of file names exceeding the 256 file path limit, this doesn't seem to be our problem as we can build individually, and the path+filename length is around 160 chars.
  • there are issues with incremental builds (but mainly in Visual Studio 2008) and we have incremental linking turned off.

We are looking for input on resolving this multiple process issue, if possible.

How do we resolve it?

visual-studio-2005
visual-c++
multiprocessing
devenv
asked on Stack Overflow Sep 25, 2009 by Greg Domjan • edited Oct 20, 2009 by Peter Mortensen

2 Answers

0

Try enabling source-code parallel builds instead. That will efficiently use all cores on your server, unless you have more cores than source files in your solution. Here is more information on how you have enable source-code parallel builds: http://vagus.wordpress.com/2008/02/15/source-level-parallel-build-in-visual-studio-2005/

answered on Stack Overflow Aug 6, 2010 by Sergiy Belozorov
0

this may be a related problem&solution, because it produces

Unexpected PDB error; RPC (23) '(0x000006BA)'

https://software.intel.com/en-us/articles/unexpected-pdb-error-rpc-23-0x000006ba/

answered on Stack Overflow Dec 25, 2015 by Fillippo • edited Dec 25, 2015 by Fillippo

User contributions licensed under CC BY-SA 3.0