Closed Bug 463420 Opened 12 years ago Closed 12 years ago

SIMPLE_PROGRAMS leads to bustage with generated.pdb?

Categories

(Firefox Build System :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ted, Assigned: benjamin)

References

Details

(Keywords: fixed1.9.1)

Attachments

(1 file)

Building on Win32 with VC8sp1, make -j2, my build broke in xpcom/tests:

TestStringAPI.cpp
Building deps for /d/build/mozilla-central/xpcom/tests/TestStringAPI.cpp
link -nologo -out:nsIFileEnumerator.exe -pdb:nsIFileEnumerator.pdb nsIFileEnumer
ator.obj  -NXCOMPAT -SAFESEH -DYNAMICBASE -MANIFEST:NO  -DEBUG -OPT:REF -OPT:now
in98   ../../dist/lib/xpcomglue_s.lib d:/build/obj-firefox-opt-libxul/dist/lib/x
pcom.lib d:/build/obj-firefox-opt-libxul/dist/lib/xul.lib d:/build/obj-firefox-o
pt-libxul/dist/lib/nspr4.lib d:/build/obj-firefox-opt-libxul/dist/lib/plc4.lib d
:/build/obj-firefox-opt-libxul/dist/lib/plds4.lib    kernel32.lib user32.lib gdi
32.lib winmm.lib wsock32.lib advapi32.lib
cl -FoTestStringAPI.obj -c  -DOSTYPE=\"WINNT5.1\" -DOSARCH=WINNT -I/d/build/mozi
lla-central/xpcom/tests/../ds -I/d/build/mozilla-central/xpcom/tests/services  -
I/d/build/mozilla-central/xpcom/tests -I. -I../../dist/include/string -I../../di
st/include   -I../../dist/include/xpcom -Id:/build/obj-firefox-opt-libxul/dist/i
nclude/nspr     -Id:/build/obj-firefox-opt-libxul/dist/sdk/include       -GR- -T
P -nologo -Zc:wchar_t- -W3 -Gy -Fdgenerated.pdb  -DNDEBUG -DTRIMMED -Zi -UDEBUG
-DNDEBUG -O1 -EHsc -MD            -D_CRT_SECURE_NO_DEPRECATE=1 -D_CRT_NONSTDC_NO
_DEPRECATE=1 -DWINVER=0x500 -D_WIN32_WINNT=0x500 -D_WIN32_IE=0x0500 -DX_DISPLAY_
MISS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XUL=
1 -DMOZ_TREE_CAIRO=1 -DHAVE_UINT64_T=1 -DMOZ_XUL=1 -DMOZ_PROFILELOCKING=1 -DMOZ_
RDF=1 -DMOZ_MORKREADER=1 -DMOZ_DLL_SUFFIX=\".dll\"  -D_MOZILLA_CONFIG_H_ -DMOZIL
LA_CLIENT /d/build/mozilla-central/xpcom/tests/TestStringAPI.cpp
TestStringAPI.cpp
d:/build/mozilla-central/xpcom/tests/TestStringAPI.cpp : fatal error C1033: cann
ot open program database 'd:\build\obj-firefox-opt-libxul\xpcom\tests\generated.
pdb'
make[5]: *** [TestStringAPI.obj] Error 2
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory `/d/build/obj-firefox-opt-libxul/xpcom/tests'
make[4]: *** [tools] Error 2
make[4]: Leaving directory `/d/build/obj-firefox-opt-libxul/xpcom'
make[3]: *** [tools_tier_xpcom] Error 2
make[3]: Leaving directory `/d/build/obj-firefox-opt-libxul'
make[2]: *** [tier_toolkit] Error 2
make[2]: Leaving directory `/d/build/obj-firefox-opt-libxul'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/d/build/obj-firefox-opt-libxul'
make: *** [build] Error 2
Please test to make sure this works.
Assignee: nobody → benjamin
Status: NEW → ASSIGNED
Attachment #346702 - Flags: review?(ted.mielczarek)
I can't actually reproduce this right now. Not sure what happened there.
I was able to reproduce the issue reliably with VC9 (with SP1). Applying the patch seems to have fixed it.
Attachment #346702 - Flags: review?(ted.mielczarek) → review+
http://hg.mozilla.org/mozilla-central/rev/dcd1373d1dff
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment on attachment 346702 [details] [diff] [review]
Use the slow path when SIMPLE_PROGRAMS is set, rev. 1

No-risk
Attachment #346702 - Flags: approval1.9.1?
Attachment #346702 - Flags: approval1.9.1? → approval1.9.1+
Comment on attachment 346702 [details] [diff] [review]
Use the slow path when SIMPLE_PROGRAMS is set, rev. 1

a191=beltzner
Blocks: 475111
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.