Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

16 views
Skip to first unread message

Jungshik Shin

unread,
Jun 22, 2005, 10:11:20 PM6/22/05
to
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. However, when building gklayout.dll, I got the following
error:

***** 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


Neil

unread,
Jun 23, 2005, 7:02:34 AM6/23/05
to
Jungshik Shin wrote:

>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.

Jungshik Shin

unread,
Jun 24, 2005, 12:25:20 AM6/24/05
to
Neil wrote:
> Jungshik Shin wrote:
>
>> I tried to build an optimized build with symbols so that I can debug.

> --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

Jungshik Shin

unread,
Jun 24, 2005, 2:05:49 AM6/24/05
to
Neil wrote:
> Jungshik Shin wrote:
>
>> I tried to build an optimized build with symbols so that I can debug.

> --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

Jungshik Shin

unread,
Jun 24, 2005, 9:32:13 AM6/24/05
to

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

Jungshik Shin

unread,
Jun 25, 2005, 11:58:36 AM6/25/05
to
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

Jungshik Shin

unread,
Jun 25, 2005, 12:15:07 PM6/25/05
to
Jungshik Shin wrote:
> Jungshik Shin wrote:

>> 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....

Matthias Versen

unread,
Jul 1, 2005, 9:43:38 AM7/1/05
to
Jungshik Shin wrote:

> ***** 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

0 new messages