Mail Archives: djgpp-workers/2001/08/11/22:28:07
X-Authentication-Warning: | new-smtp1.ihug.com.au: Host p217-tnt3.syd.ihug.com.au [203.173.132.217] claimed to be acceleron
|
Message-ID: | <009901c122d5$b8772900$0a02a8c0@acceleron>
|
From: | "Andrew Cottrell" <acottrel AT ihug DOT com DOT au>
|
To: | <djgpp-workers AT delorie DOT com>
|
Subject: | DJGPP & Windows 2000 weelky status report for 12-Aug-2001
|
Date: | Sun, 12 Aug 2001 12:23:04 +1000
|
MIME-Version: | 1.0
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Mailer: | Microsoft Outlook Express 5.50.4807.1700
|
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4807.1700
|
Reply-To: | djgpp-workers AT delorie DOT com
|
This is a multi-part message in MIME format.
------=_NextPart_000_0096_01C12329.8962A820
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Hi all,
With the growing number of people starting to help out with getting DJGPP
fully working on Windows 2000 and other people wanting to know where it is
at I have decided to start sending out my status report on where the DJGPP
compiler & packages is up to with regards to Windows 2000 once a week. I
have for my own sanity had to produce the status report so that I know where
I have been, where I am up to and where I am going.
There has ben allot of progress as you have seen in this list over the last
6 weeks by others and myself with regards to geting DJGPP fully working on
Windows 2000.
This week the major milestone acheived in my opinion was that I can now use
the latest version of Rhide to compile test/debug sample code for fixing Win
2000 issues that I have found. There are still issues and crashes occuring,
but it can be done. This is with LFN enabled.
I will be sending the attached status report out every Sunday until it is no
longer required (or I am on holidays). The report is an attachement as
allot of the lines are very wide and workwrap would make it unreadable on
standard email packages.
Hope this helps.
Regards
Andrew
------=_NextPart_000_0096_01C12329.8962A820
Content-Type: text/plain;
name="djgpp_204_status.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="djgpp_204_status.txt"
Last updated: 11-Aug-2001 11:00 PM (Sydney, OZ, local time)
DJGPP & WIN2K OUTSTANDING ISSUE / TESTING REQURIED
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
1) LFN issues
2) IOCTL issues
3) redirection
a) Btw, I cannot find it in my records, but I'm pretty much sure =
someone
reported that redirection of stderr doesn't work on W2K as well. So
trying "redir -e foo", and the equivalent mantra inside Bash, would
probably be a good idea. It could be even the same problem as with=20
4) Grep configuration issue - can't rebuild using config.bat, can build =
using pre-configured makefile
5) debugging
6) profiling
7) CTRL-C and CTRL-BREAK testing
8) programs that catch SIGPE and SIGINT
9) All the gotchas in section 3.3 of FAQ
10) Help out with crashes of latest RHIDE 1.4.7.9 that now "runs" under =
Win 2K (06-Aug-2001 release)
11) GCC 3.0.1 compile and test
12) Error 183 for testing if directories exist on Win2K (check redirect =
to /dev/nul)
13) Investigate stat() to see if it retuns correct value (comopare =
against fstat())
(highest priority issue is #1, issue 1 & 2 really should be the same =
priority)
=20
DJGPP & WIN2K OUTSTANDING SHOW STOPPERS
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
1) LFN issues with (Conclusion - LFN support in W2K is breaking things =
(like truncate, utime, get_dev_info).
Handles opened with the LFN calls are not being treated the same as =
those opened with the old DOS APIs.)!!!!!
2) IOCTL issues
3) Redirection
a) Btw, I cannot find it in my records, but I'm pretty much sure =
someone
reported that redirection of stderr doesn't work on W2K as well. So
trying "redir -e foo", and the equivalent mantra inside Bash, would
probably be a good idea. It could be even the same problem as with=20
"> /dev/null" we are discussing now.
KNOWN ISSUES THAT CAUSE PROBLEMS
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D
1) DPMI selector leaking is worse under Win 2K than WIn 9x. There are =
potention fixes for Win 9x and a QAD for Win 2K
I have used the QAD Win 2K fix and it appears to work.
DJGPP PACKAGES REBUILT
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
The following outline the status of each of the main packages I have =
have installed and if they
have been re-built with the DJ204 CVS tarball of the 29-July-2001 with =
the crt0 & open.c patches.
Test info: BSP =3D Build Subsequent Packages
Build date info:
W98 - package built on Win98 and used on Win2000
W2K - package built and used on Win2K
N/A - no executables, therefore no need to re-build at this point in =
time
OTB - Out of the box - as downloaded from the WEB
Status:
WIP - Work in progress (untested, but being used to build other =
packages)
OK - So far no issues found and tested
BAD - Issues in package built
NBY - Not built yet
N/A - Not applicabe
# PACKAGE VERSION BUILD DATE STATUS COMMENTS
=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
1 DJGPP/LIBC 29-Jul-200 W2K 11-Aug-2001 WIP Added Charles =
crt0, open.c, utime.c, fstat.c, link.c
2 make 3.791 W2K 11-Aug-2001 WIP
3 bash 2.0.5 W98 10-Aug-2001 WIP
4 sed 3.02 W98 05-Aug-2001 WIP should =
use 3.028 next time
5 filutils 4.0 W98 10-Aug-2001 WIP needs =
LIBC with crt0, open.c & utime.c patches
6 sh-util 1.12 W98 05-Aug-2001 WIP
7 txtutil 2.0 W98 11-Aug-2001 WIP
8 Binutils 2.112 W98 05-Aug-2001 WIP
9 Autoconf 2.50 N/A N/A =20
10 Automake 2.50 N/A N/A =20
11 Grep 2.4 W2K 05-Aug-2001 WIP need to =
patch djgpp\config, need to debug to find the real issue
12 diff 2.72 W2K 05-Aug-2001 WIP =20
13 find 4.1 W2K 05-Aug-2001 WIP need to =
patch djgpp\config, need to debug to find the real issue
14 gawk 3.0.6 W2K 05-Aug-2001 WIP =20
15 texinfo 4.0 W2K 05-Aug-2001 WIP need to =
re-config due to hard coded for directories in makefile
16 PERL 5.004 W2K 05-Aug-2001 WIP make =
install ran out of memory. Need to re-run make install
17 tar 1.12a W2K 05-Aug-2001 WIP =20
18 gzip 1.3 W2K 05-Aug-2001 WIP =20
19 patch 2.5.3 W2K 05-Aug-2001 WIP =20
20 less 3.5.8 W2K 05-Aug-2001 WIP =20
21 indent 2.2.5 W2K 11-Aug-2001 WIP
22 which 2.11 issue with bash or configure scripts=20
23 GCC 2.9.5.3 W98 04-Aug-2001 WIP utime =
patch. WIP on W2K - problems to be investigated
24 RHIDE 1.4.7.9 OTB 06-Aug-01 WIP compiles =
apps , but debugging crashes and burns
25 Bison 1.28 W98 11-Aug-2001 WIP LIBC =
needs bison
26 GDB 5.0 =
_________________________________________________________________________=
________
cperf-2.1a emacs enscript.161 flex-2.5-4
gmp-3.11 gperf-2.72 groff-1.16 gtxt-010.35 =
id-utils.32
m4-1.4 miscfil1.2 readline-2.2 recode-3.5
WIN 2K PATCHES NEEDED FOR 2.03 TO WORK ON WIN 2K:
-------------------------------------------------
1) NTVDM patch :- NTVDM crashes if you nest DJGPP images (make/gcc/cc1).
Solution 1 is to use the NTVDM patch from the CVS version of DJGPP
library and rebuild everything.
2) Many bugs in the long file name support.
open.c issue on redirection. - see below for more info.
3) crt0 SBRK patch:- Sometimes you may see crashes with descriptor =
limits 0x7xxxxxxx - this
is the wrap bug. You can patch an image built with DJGPP V2.03 to
fix this using ftp://clio.rice.edu/djgpp/ntsbrkpat.zip
Name - crt0 patch
4) djdir patch :- _open.c & _create.c - DJDIR environment variables
5) utime patch :- utime.c patch for touch & cp setting time of a file=20
6) rename patch :- _rename patch. W2K reports a strange error code when =
you try rename a file into a
name that's already taken, and that confuses _rename's logic.
7) fstat.c patch :- Use 0x71A6 call on NT/2000/XP so read only bit not =
set\
8) WIP - link.c :- use stat or fstat - don't use either
PATCHES TO GET DJGPP WORKING ON W2K, BUT DEBATEABLE IF IT IS A VALID FIX
------------------------------------------------------------------------
A) open.c patch do not exit if write of a file with zero bytes fail
LFN LIBC SOURCE FILES:
----------------------
DJGPP_204 D:\dj204\src>grep -l LFN ...\*.c
debug\fsdb\ed.c
libc\ansi\stdio\_rename.c
libc\ansi\stdio\remove.c
libc\compat\mntent\mntent.c
libc\crt0\crt1.c
libc\dos\dir\findfirs.c
libc\dos\dir\findnext.c
libc\dos\dos\truename.c
libc\dos\io\_chmod.c
libc\dos\io\_creat.c
libc\dos\io\_creat_n.c
libc\dos\io\_open.c
libc\dos\io\flushdc.c
libc\dos\lfn\_use_lfn.c
libc\dos\lfn\lfnftime.c
libc\dos\lfn\lfnshort.c
libc\dos\process\dosexec.c
libc\dos\process\new\dosexec.c
libc\dos\process\orig\dosexec.c
libc\posix\dirent\closedir.c
libc\posix\dirent\opendir.c
libc\posix\dirent\rewinddi.c
libc\posix\glob\glob.c
libc\posix\sys\stat\check\LSTAT.C
libc\posix\sys\stat\filelen.c
libc\posix\sys\stat\fixpath.c
libc\posix\sys\stat\fstat.c
libc\posix\sys\stat\lfilelen.c
libc\posix\sys\stat\lstat.c
libc\posix\sys\stat\mkdir.c
libc\posix\unistd\access.c
libc\posix\unistd\chdir.c
libc\posix\unistd\getcwd.c
libc\posix\unistd\pathconf.c
libc\posix\unistd\rmdir.c
libc\posix\utime\utime.c
utils\djtar\djtar.c
utils\gxx.c
Once all patches are applied to the DJGPP 2.04 CVS repositry then the =
LFN list above should have not issues
with LFN code not being called on Windows 2K. This does not mean that =
the functions work or have been tested!!
------=_NextPart_000_0096_01C12329.8962A820--
- Raw text -