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)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla3 alpha7
People
(Reporter: vlad, Assigned: vlad)
References
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
524 bytes,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
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.
Assignee | ||
Comment 1•18 years ago
|
||
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?
Comment 2•18 years ago
|
||
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).
Assignee | ||
Comment 3•18 years ago
|
||
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.
Comment 5•18 years ago
|
||
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 6•18 years ago
|
||
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)
Comment 7•18 years ago
|
||
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 8•18 years ago
|
||
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+
Updated•18 years ago
|
Keywords: checkin-needed
Comment 9•18 years ago
|
||
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-
Keywords: checkin-needed → dev-doc-needed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3 M7
Version: unspecified → Trunk
Comment 10•16 years ago
|
||
How does this affect developers, so I can document this?
Comment 11•16 years ago
|
||
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.
Comment 12•16 years ago
|
||
Added a note about this here:
https://developer.mozilla.org/en/Windows_Build_Prerequisites#Microsoft_Visual_C.2b.2b_%28MSVC%29
Keywords: dev-doc-needed → dev-doc-complete
Updated•6 years ago
|
Component: Build Config → General
Product: Firefox → Firefox Build System
Updated•6 years ago
|
Keywords: dev-doc-complete
Target Milestone: Firefox 3 alpha7 → mozilla3 alpha7
Updated•6 years ago
|
Keywords: dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•