Uriel Ginsburg wrote:
> Working with NSS 3.3, I un-tar'ed and un-gzip'ed the archive and built it > with the BUILD_OPT flag set to 1, and the MOZ_DEBUG and USE_DEBUG_RTL unset. > The library compiled easily without any problems. > > AND YET - > Compiling the DEBUG version (MOZ_DEBUG=1, USE_DEBUG_RTL=1) works fine, while > the optimized build causes several page faults, memory overruns, etc. in the > library. > > I wanted to know - > > 1. Is this a known bug? (I'm compiling on a Win98 machine, with MSVC6) > 1a. If this is in fact a known bug, is there a workaround or a fix for > it? No building on WinNT and MSVC6 works just fine. If you are running on Win98, you need to make sure your target is set to WIN95. WINNT uses the NT version of NSPR. > 2. Can anyone give me an idea where to start looking? I've tried to trace > the problem but not very successfully. I'm continuing to look for it anyway, > but any help would be greatly appreciated... Other then the possibility above, I don't know of anything. We typically only build on NT machines, but the fact you got a debug build to work seems to indicate you are running into build issues. Are you using coreconf or autoconf? > > Thanks, > Uriel Ginsburg > > >
