Closed Bug 382297 Opened 18 years ago Closed 18 years ago

use a single PDB file per library (back out 286179)

Categories

(Firefox Build System :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla3 alpha7

People

(Reporter: vlad, Assigned: vlad)

References

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

We moved to a single pdb file per object file in bug 286179 to make parallel builds work. With Visual Studio 2005/VC8, this is no longer necessary -- there's a separate server process that manages all access to pdb files, and we're actually slowing down debug builds now. Before backing out this patch, when linking layout in a debug build, mspdbsrv gets to upwards of 500mb and takes around 3-4 min on my laptop. After backing it out, it doesn't go above 100mb and takes about 1.5 min to link.
Go back to using a single PDB per library. This will break -jN builds on anything less than VC8. I think that's fine, because anything less than VC8 isn't supported, yes?
Assignee: nobody → vladimir
Status: NEW → ASSIGNED
Attachment #266453 - Flags: review?(benjamin)
Do we need VC8SP1 for this? I know that we haven't seen the slowdowns of mspdbsrv on the original release of VC8 (which many people are still using, including the tinderboxen).
Hm, not sure; I have SP1 installed.
(In reply to comment #1) > I think that's fine, because anything less than VC8 > isn't supported, yes? Doh, I thought vc71 was still supported, just not what the official builds were made with.
VC71 still works (and would continue to work with this patch as long as you don't use -jN)... we don't test it, and if it breaks we'd expect people who care to provide patches.
Comment on attachment 266453 [details] [diff] [review] go back to using a single PDB per library Bumping this to Ted for investigations.
Attachment #266453 - Flags: review?(benjamin) → review?(ted.mielczarek)
vlad: have you seen this: http://support.microsoft.com/kb/935225 ? It's a hotfix for MSPDBSRV on VC8SP1. If not, can you try it out? Also, I saw something (can't remember where) that led me to believe that VC71 might have mspdbsrv as well. I don't have it installed (just VC2k3 Toolkit), but maybe bent can investigate. I think it lives in Common7\IDE.
Comment on attachment 266453 [details] [diff] [review] go back to using a single PDB per library r=me, we could use a comment on a build page somewhere mentioning that make -jN + vc7.1 will be broken.
Attachment #266453 - Flags: review?(ted.mielczarek) → review+
Checking in config/rules.mk; /cvsroot/mozilla/config/rules.mk,v <-- rules.mk new revision: 3.563; previous revision: 3.562 done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3 M7
Version: unspecified → Trunk
Blocks: 389401
How does this affect developers, so I can document this?
I guess the dev-doc-needed is only in reference to comment 8. We don't officially support Visual C++ 2003 on the trunk anyway (I don't think), so maybe it's not an issue.
Component: Build Config → General
Product: Firefox → Firefox Build System
Target Milestone: Firefox 3 alpha7 → mozilla3 alpha7
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: