Closed
Bug 336641
Opened 19 years ago
Closed 12 years ago
Static debug build fails with unresolved external symbol "void __cdecl _FreeAutoLockStatics(void)"
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: jhenry, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060504 Minefield/3.0a1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060504 Minefield/3.0a1
Today I tried to do a debug build (using VS.NET 2005), in order to get a more useful stack for bug 334616. However, the build fails quite early on, during the XPCOM build stage. I get the following error:
/cygdrive/c/MozillaRoot/mozilla/build/cygwin-wrapper link -NOLOGO -DLL -OUT:xpcom_core.dll -PDB:xpcom_core.pdb -SUBSYSTEM:WINDOWS pldhash.obj nsArrayUtils.obj nsCOMPtr.obj nsCOMArray.obj nsCRTGlue.obj nsComponentManagerUtils.obj nsID.obj nsIInterfaceRequestorUtils.obj nsINIParser.obj nsMemory.obj nsWeakReference.obj nsGREGlue.obj nsVersionComparator.obj nsStringAPI.obj nsTHashtable.obj nsQuickSort.obj nsVoidArray.obj nsTArray.obj nsGenericFactory.obj nsXPComInit.obj nsXPCOMStrings.obj dlldeps.obj ../ds/xpcomds_s.lib ../io/xpcomio_s.lib ../components/xpcomcomponents_s.lib ../threads/xpcomthreads_s.lib ../proxy/src/xpcomproxy_s.lib ../base/xpcombase_s.lib ../reflect/xptcall/src/xptcall.lib ../reflect/xptcall/src/xptcmd.lib ../reflect/xptinfo/src/xptinfo.lib ../../dist/lib/xpt.lib ../string/src/string_s.lib ./module.res -DEBUG -DEBUGTYPE:CV ../ds/xpcomds_s.lib ../io/xpcomio_s.lib ../components/xpcomcomponents_s.lib ../threads/xpcomthreads_s.lib ../proxy/src/xpcomproxy_s.lib ../base/xpcombase_s.lib ../reflect/xptcall/src/xptcall.lib ../reflect/xptcall/src/xptcmd.lib ../reflect/xptinfo/src/xptinfo.lib ../../dist/lib/xpt.lib ../string/src/string_s.lib ../../dist/lib/nspr4.lib ../../dist/lib/plc4.lib ../../dist/lib/plds4.lib shell32.lib ole32.lib uuid.lib version.lib imagehlp.lib kernel32.lib user32.lib gdi32.lib winmm.lib wsock32.lib advapi32.lib
Creating library xpcom_core.lib and object xpcom_core.exp
LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
nsXPComInit.obj : error LNK2019: unresolved external symbol "void __cdecl _FreeAutoLockStatics(void)" (?_FreeAutoLockStatics@@YAXXZ) referenced in function _NS_ShutdownXPCOM_P
xpcom_core.dll : fatal error LNK1120: 1 unresolved externals
This is from a clean tree and an empty objdir. My mozconfig specifies a static build; I haven't tried non-static yet. If static debug builds aren't supported, I guess this is invalid.
Reproducible: Always
Comment 1•12 years ago
|
||
static config is gone
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•