Subject: b19-make says wait/stop
From: [email-masked] (gyoung yun cho)

13 Mar 1998 06:29:36 -0800
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; name="b19error.txt"
Content-Transfer-Encoding: 7bit
To: [email-masked]

  I tried to build m68k-coff cross-compiler on cygwin-b19. I could build
binutils-2.8.1.0.15 with minor patch. I used egcs-1.0.2. 
  But, I've always encountered following error. At other times, same kind of
error(make[n]: *** wait: Invalid argument. Stop) occurred at another location.

  Does anyone know why the reason ?

========   Error message while building m68k-coff cross-compiler ======

gcc -DCROSS_COMPILE -DIN_GCC -O2 -o ../cc1plus \
    call.o  ..........................

(C:\CYGNUS\B19\H-I386-CYGWIN32\BIN\MAKE.EXE 1121) Exception: STATUS_ILLEGAL_INST
RUCTION
(C:\CYGNUS\B19\H-I386-CYGWIN32\BIN\MAKE.EXE 1121) Dumping stack trace to MAKE.EX
E.core
make: *** wait: Invalid argument.   Stop.
make: *** [all-gcc] Error 128

=============  Content of MAKE.EXE.core  ==============================

(C:\CYGNUS\B19\H-I386-CYGWIN32\BIN\MAKE.EXE 1121) Exception trapped!
(C:\CYGNUS\B19\H-I386-CYGWIN32\BIN\MAKE.EXE 1121) exception C000001D at 17
(C:\CYGNUS\B19\H-I386-CYGWIN32\BIN\MAKE.EXE 1121) exception: ax C107A194 bx 8156D340 cx 815731A0 dx C107A104
(C:\CYGNUS\B19\H-I386-CYGWIN32\BIN\MAKE.EXE 1121) exception: si 40000001 di BFF781A5 bp 254DDF0 sp 254DDAC
(C:\CYGNUS\B19\H-I386-CYGWIN32\BIN\MAKE.EXE 1121) exception is: STATUS_ILLEGAL_INSTRUCTION
(C:\CYGNUS\B19\H-I386-CYGWIN32\BIN\MAKE.EXE 1121) Stack trace:
(C:\CYGNUS\B19\H-I386-CYGWIN32\BIN\MAKE.EXE 1121) frame 0: sp = 0x254DABC, pc = 0x1000A26C
(C:\CYGNUS\B19\H-I386-CYGWIN32\BIN\MAKE.EXE 1121) frame 1: sp = 0x254DBE0, pc = 0xBFF766B8
(C:\CYGNUS\B19\H-I386-CYGWIN32\BIN\MAKE.EXE 1121) frame 2: sp = 0x254DC04, pc = 0xBFF85ADE
(C:\CYGNUS\B19\H-I386-CYGWIN32\BIN\MAKE.EXE 1121) frame 3: sp = 0x254DC9C, pc = 0xFFECBAD7
(C:\CYGNUS\B19\H-I386-CYGWIN32\BIN\MAKE.EXE 1121) frame 4: sp = 0x254DDF0, pc = 0x10030A4B
(C:\CYGNUS\B19\H-I386-CYGWIN32\BIN\MAKE.EXE 1121) frame 5: sp = 0x254DE08, pc = 0x1004B8F4
(C:\CYGNUS\B19\H-I386-CYGWIN32\BIN\MAKE.EXE 1121) frame 6: sp = 0x254DE14, pc = 0x40209E
(C:\CYGNUS\B19\H-I386-CYGWIN32\BIN\MAKE.EXE 1121) frame 7: sp = 0x254DEAC, pc = 0x402C0D
(C:\CYGNUS\B19\H-I386-CYGWIN32\BIN\MAKE.EXE 1121) frame 8: sp = 0x254DEE4, pc = 0x401964
(C:\CYGNUS\B19\H-I386-CYGWIN32\BIN\MAKE.EXE 1121) frame 9: sp = 0x254DF00, pc = 0x40E19C
(C:\CYGNUS\B19\H-I386-CYGWIN32\BIN\MAKE.EXE 1121) frame 10: sp = 0x254DF10, pc = 0x40DA44
(C:\CYGNUS\B19\H-I386-CYGWIN32\BIN\MAKE.EXE 1121) frame 11: sp = 0x254DF4C, pc = 0x40CE27
(C:\CYGNUS\B19\H-I386-CYGWIN32\BIN\MAKE.EXE 1121) frame 12: sp = 0x254DF68, pc = 0x40DC8B
(C:\CYGNUS\B19\H-I386-CYGWIN32\BIN\MAKE.EXE 1121) frame 13: sp = 0x254DF8C, pc = 0x40D5B2
(C:\CYGNUS\B19\H-I386-CYGWIN32\BIN\MAKE.EXE 1121) frame 14: sp = 0x254DFD4, pc = 0x40CE27
(C:\CYGNUS\B19\H-I386-CYGWIN32\BIN\MAKE.EXE 1121) frame 15: sp = 0x254DFF0, pc = 0x40DC8B
(C:\CYGNUS\B19\H-I386-CYGWIN32\BIN\MAKE.EXE 1121) End of stack trace (more stack frames may be present)

==============  My source directory ==============================

c:/usr/src/binutils-2.8.1.0.15
c:/usr/src/egcs-1.0.2
c:/usr/src/build

================= My script file at 'c:/usr/src' ==================

#!/bin/sh

target=m68k-coff
host=i386-pc-cygwin32
prefix=/usr/local
gver=egcs-1.0.2

cd build
rm -rf *

.../binutils-2.8.1.0.15/configure --host=$host --target=$target \
                                 --prefix=$prefix -v

make all
make install
rm -rf *

.../$gver/configure --host=$host --target=$target --prefix=$prefix \
        --with-gnu-as --with-gnu-ld --enable-haifa --with-newlib -v

make LANGUAGES="c c++" all
#make LANGUAGES="c c++" install

================= My 'cygnus.bat' file  ==================

@ECHO OFF
SET MAKE_MODE=unix
SET CYGFS=C:/Cygnus/B19
SET GCC_EXEC_PREFIX=C:\CYGNUS\B19\H-I386~1\lib\gcc-lib\
SET TCL_LIBRARY=%CYGROOT%\share\tcl8.0\
SET GDBTK_LIBRARY=%CYGFS%/share/gdbtcl
SET PATH=C:\CYGNUS\B19\H-I386~1\bin;.;c:\usr\local\bin;%PATH%
bash

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".