delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/02/17/02:41:54

Date: Sat, 17 Feb 2001 09:34:36 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: andyeloff AT yahoo DOT com (Andrew Eloff)
Message-Id: <9003-Sat17Feb2001093436+0200-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6
CC: djgpp AT delorie DOT com
In-reply-to: <3a8e1979$0$70803$1dc6e903@news.corecomm.net>
(andyeloff AT yahoo DOT com)
Subject: Re: Windows2000 memory problem
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1001122103532 DOT 20094E-100000 AT is> <3a8e1979$0$70803$1dc6e903 AT news DOT corecomm DOT net>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: andyeloff AT yahoo DOT com (Andrew Eloff)
> Newsgroups: comp.os.msdos.djgpp
> Date: Sat, 17 Feb 2001 06:25:11 GMT
> 
> prob.1: during make -fmsdos\makefile.dj2, I frequently get the
> following dialog box message during gcc phase (sample gcc command:
> "gcc -MMD -O3  -Wall -Wwrite-strings -Wpointer-arith -Wconversion
> -Wstrict-prototypes -Wmissing-prototypes -c compress.c -o
> compress.o"):
> ntvdm.exe - Application Error:  The instruction at "0x0f048d8a"
> referenced memory at "0x01340ffc".  The memory could not be "written".

I think this is related to the known problem with W2K whereby NTVDM
crashes when DJGPP programs are nested more than 2 levels deep.  You
are lucky: in your case, it doesn't crash.  (You should be able to
verify that the instruction ay 0x0f048d8a is in NTVDM's code.)

> prob. 2: during ar phase of make, I get the same message as Mr. Lee
> (sample command: ar rcs zlib.a adler32.o): "d:\djgpp\bin/ar.exe:
> libz.a: rename: Not enough memory (ENOMEM)"

This is another known problem with W2K: its system call that renames a
file returns a funky error code when the target file already exists,
which confuses the DJGPP's implementation of the library function
`rename'.  This was only fully debugged lately (most DJGPP developers
don't have access to a Windows 2000 machine), and a fix for this is in
the development sources.  But to fix this in ar.exe, you will have to
rebuild Binutils after getting the fixed version of the function
`_rename' from the DJGPP CVS.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019