www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/07/22/06:17:48

X-Authentication-Warning: smtp3.ihug.com.au: Host p6-max12.syd.ihug.com.au [203.173.155.134] claimed to be acceleron
Message-ID: <001901c11296$8b501440$0a02a8c0@acceleron>
From: "Andrew Cottrell" <acottrel AT ihug DOT com DOT au>
To: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Cc: <djgpp-workers AT delorie DOT com>
References: <006401c111d2$aeefccc0$0a02a8c0 AT acceleron> <2950-Sat21Jul2001170344+0300-eliz AT is DOT elta DOT co DOT il>
Subject: Make 3.791 on Windows 2000 test
Date: Sun, 22 Jul 2001 20:10:30 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Reply-To: djgpp-workers AT delorie DOT com

All,

Test results for Make on Windows 2000. Make works ok building Allegro (well
it did suceed on the second attempt), but failed in trying to re-build Make.
The process and further info is outlined below.  I got side tracked today in
re-building all of the packages with the NTVDM patch instead of building
Rhide so I could then start to use Windows 2000 to build Rhide, but I need
to do some more work before I get to this stage.

Questions and Queries on the test resuts:
1) Does this look like the same problem as before the NTVDM patch?
2) Any suggestions as to where to look next to try to erradicate this bug?
3) Any suggestions as to what to do next?


USE MAKE TO BUILD ALLEGRO
==========================
Process:
1) Built Allegro on Win98SE box.
2) Checked Allegro runs and it does.
3) Copied all (670MB) of the DJ204 directory from Win98SE box to Win2000 box
4) Deleted *.o and *.exe from Contrib\Allegro directory structure
5) Run make in Allegro directory
6) Make failed once with the following message:
        gcc -s -o tests/mathtest.exe obj/djgpp/alleg/mathtest.o
lib/djgpp/liballeg.a
        Load error: can't switch mode
        make.exe: *** [tests/mathtest.exe] Error 1
7) Ran make again and continued creating mathtest.exe and continued on
8) Allegro built fully
9) Allegro demo runs without sound
10) Setup crashed on first time it run, but not on the second time. Thought
it may be a hardware issue. Worked third time

USE MAKE TO BUILD GNU MAKE 3.791
===============================
Process:
1) Tried to run make in make directory to see if I could build make on the
Win2000 PC and unfortunatly
the following error occured:

        DJGPP_204 D:\dj204\gnu\make-3.791>make -d

< I have a redir -eo make -d >make.txt file available that is 3946 lines
long if anyone wants it to look at>

          No implicit rule found for `Makefile'.
          Finished prerequisites of target file `Makefile'.
         No need to remake target `Makefile'.
        Updating goal targets....
        Considering target file `all-recursive'.
         File `all-recursive' does not exist.
         Finished prerequisites of target file `all-recursive'.
        Must remake target `all-recursive'.
        make.exe[1]: Entering directory `d:/dj204/gnu/make-3.791'
        Extended Error 183

        Putting child 0x000ea834 (all-recursive) PID 123 on the chain.
        Live child 0x000ea834 (all-recursive) PID 123
        Reaping winning child 0x000ea834 PID 123
        Exiting due to signal SIGSEGV
        General Protection Fault at eip=00020818
        eax=ffa90000 ebx=ffa90000 ecx=000001d7 edx=ffaa0000 esi=ffa94010
edi=00004000
        ebp=000bf684 esp=000bf65c program=d:\dj204\bin\make.exe
        cs: sel=01f7  base=01d70000  limit=7e27ffff
        ds: sel=01ff  base=01d70000  limit=7e27ffff
        es: sel=01ff  base=01d70000  limit=7e27ffff
        fs: sel=01cf  base=0000a5e0  limit=0000ffff
        gs: sel=020f  base=00000000  limit=0010ffff
        ss: sel=01ff  base=01d70000  limit=7e27ffff
        App stack: [000c480c..0004480c]  Exceptn stack: [00044218..000422d8]

        Call frame traceback EIPs:
          0x00020818 _malloc+620
          0x000334fc __flsbuf+92
          0x00022111 _fputs+257
          0x00025c5f __shell_command+1179
          0x00026a91 _system+649
          0x0000b58f _start_job_command+751, line 1176 of job.c
          0x0000afc3 _reap_children+899, line 710 of job.c
          0x0000ba4c _new_job+600, line 1525 of job.c
          0x00002b30 _execute_file_commands+152, line 363 of commands.c
          0x00017017 _remake_file+255, line 1009 of remake.c
          0x00016703 _update_file_1+2731, line 661 of remake.c
          0x0001560a _update_file+186, line 309 of remake.c
          0x00015311 _update_goal_chain+285, line 156 of remake.c
          0x0000eb36 _main+4774, line 1901 of main.c
          0x0002014f ___crt1_startup+203
        Putting child 0x005b5e58 (all-recursive-am) PID 123 on the chain.
        Live child 0x005b5e58 (all-recursive-am) PID 123
        Reaping losing child 0x005b5e58 PID 123
        make.exe: *** [all-recursive-am] Error -1
        Removing child 0x005b5e58 PID 123  from chain.

        DJGPP_204 D:\dj204\gnu\make-3.791>symify \dj204\bin\make.exe

2) Added a line in job.c before the system call to display the cmdline and
then re-ran make and
the following was the cmdline:
    CMDLINE start = 'echo Making all in glob'
3) Added a line after the system call to display the return code from teh
system call, but this was not displayed.
4) Checked LIBC.A, DOS.H and MAKE.EXE for reference to
maybe_fix_w2k_nvtdm_bug and they are references in those files.

DJGPP PACKAGES REBUILT
======================
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 and the _open, _create and
NTVDM patches.

ITEM            RE-BUILT DATE BUILT
binutl-2.1112    YES     22-July-2001
filutil4.0       YES     22-July-2001
gcc-2.953        YES     22-July-2001
gdb-5.0          YES     22-July-2001
grep-2.4         YES     22-July-2001
make-3.791       YES     22-July-2001
sed-3.02         YES     22-July-2001
sh-util1.12      YES     22-July-2001
txtutil2.0       YES     22-July-2001
DJGPP 2.04/LIBC  YES     22-July-2001

Packages not re-built, but they are installed.
amake-1.4       autocnf2.13     bash-2.03       bash-2.04       bash-2.05
bison-1.28
cperf-2.1a      diffutil.272    emacs           enscript.161    findutil.41
flex-2.5-4
gawk-3.0-6      gmp-3.11        gperf-2.72      groff-1.16      gtxt-010.35
gzip-1.24a
id-utils.32     indent-2.2-5    less-358        m4-1.4          miscfil1.2
patch-2.5-3
perl5004        readline-2.2    recode-3.5      texinfo4.0      which211

- Raw text -


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