Re: On Win32, optimized build (firefox) with profile fails with an error from cvpack

Jungshik Shin <[email protected]> Sun, 26 Jun 2005 00:58:36 +0900
Newsgroups gmane.comp.mozilla.devel.windows
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Jungshik Shin wrote:
:
> 
> /cygdrive/e/works/moz/mozilla/build/cygwin-wrapper link -NOLOGO -DLL 
> -OUT:gklayo
> ut.dll -PDB:gklayout.pdb -SUBSYSTEM:WINDOWS  nsLayoutModule.obj 
> nsContentHTTPSta
> rtup.obj nsContentDLF.obj   ./module.res -DEBUG -OPT:REF -OPT:nowin98 
> -PDB:NONE
>  -IMPLIB:fake-import  ../../dist/l .........................
> s.lib ../../dist/lib/xpcom.lib ../../dist/lib/xpcom_core.lib 
> ../../dist/lib/nspr
> 4.lib ../../dist/lib/plc4.lib ../../dist/lib/plds4.lib 
> ../../dist/lib/js3250.li
> b   kernel32.lib user32.lib gdi32.lib winmm.lib wsock32.lib advapi32.lib
>    Creating library fake-import and object fake-import.exp
> 
> 
> ***** cvpack INTERNAL ERROR, exception code = 0xc0000005 *****
> 
> LINK : warning LNK4027: CVPACK error
> make[4]: *** [gklayout.dll] Error 66
> make[4]: *** Deleting file `gklayout.dll'
> -----------

It turned out that this is yet another case of VC++ (and accompanying 
utilities) not being 'I18N-proof'. By switching my 'ANSI' locale to 
English(US) from Korean, I was able to solve the problem.

  Perhaps, we need to mention this issue in the Windows build page:

When coming across an inexplicable error from VC++, linker, and other 
utilties, try to switch 'ANSI' locale to English.

Jungshik