***** cvpack INTERNAL ERROR, exception code = 0xc0000005 *****
LINK : warning LNK4027: CVPACK error
make[1]: *** [gklayout.dll] Error 66
make[1]: *** Deleting file `gklayout.dll'
make[1]: Leaving directory `/cygdrive/f/moz/builds/fb.opt/layout/build'
make: *** [all] Error 2
MSDN has several articles about *old' (visual c 5.0 or earlier) versions
of cvpack not being able to handle more than 64k symbols. However, I'm
not supposed to come across this problem because I have VC++ 6.0
It'd be nice if somebody could help me with this.
Jungshik
>I tried to build an optimized build with symbols so that I can debug. (I'm trying to solve a problem that only manifests itself in optimized builds). I used 'enable-optimize' along with 'MOZ_PROFILE=1' in my mozconfig file.
>
--enable-optimize and -disable-debug are the default for the trunk, so
you should only need --enable-debugger-info-modules=yes (and not
MOZ_PROFILE=1).
--
Warning: May contain traces of nuts.
> --enable-optimize and -disable-debug are the default for the trunk, so
> you should only need --enable-debugger-info-modules=yes (and not
> MOZ_PROFILE=1).
Thanks. I knew 'enable-optimize' is the default, but specified it out of
an old habit. I wrote to Benjamin to add this info. to his build
document at http://www.mozilla.org/build/
Jungshik
> --enable-optimize and -disable-debug are the default for the trunk, so
> you should only need --enable-debugger-info-modules=yes (and not
Unfortunately, this doesn't seem to help me with 'the cvpack exception'
I keep getting. Just in case, I 'distcleaned' my build and am now
building from the scratch.
Jungshik
It didn't help either. cvpack threw an exception at exactly the same spot:
/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'
-----------
The version information of 'cvpack' is as following:
Microsoft (R) Debugging Information Compactor Version 6.00.8168
Copyright (C) Microsoft Corp 1987-1997. All rights reserved.
----------------------------
Has anyone come across this problem before?
Jungshik
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
>> 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.
Ooops. I thought I had built an optimized build, but it was a debug
build that went fine. I tried to build an optimized build and it failed
exactly at the same place under English(US). So... Anyone knows how
to solve this problem....
> ***** cvpack INTERNAL ERROR, exception code = 0xc0000005 *****
>
> LINK : warning LNK4027: CVPACK error
> make[1]: *** [gklayout.dll] Error 66
> make[1]: *** Deleting file `gklayout.dll'
> make[1]: Leaving directory `/cygdrive/f/moz/builds/fb.opt/layout/build'
> make: *** [all] Error 2
I can confirm that I get the same error with my optzimized with symbols
build. (MSVC6)
It's the first time in 2 years that I get this problem (I always build
with symbols) and it's happening since 2-3 weeks.
Matthias