delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/26/02:38:00

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <200110260636.JAA29184@cs.tut.fi>
X-Mailer: exmh version 2.1.1 10/15/1999
To: "Gerrit P. Haase" <cygwin AT cygwin DOT com>
Subject: Re: //c path prefix (again) with a legacy sw?
In-reply-to: Your message of "Thu, 25 Oct 2001 17:42:33 +0200."
<58199167197 DOT 20011025174233 AT familiehaase DOT de>
X-uri: http://www.cs.tut.fi/%7Ejyke/
X-content-transfer-encoding: Royale-With-Cheese
Mime-Version: 1.0
Date: Fri, 26 Oct 2001 09:36:47 +0300
From: Jokinen Jyke <jyke AT cs DOT tut DOT fi>

>> 1. Compiling the package again to no avail. It's a Modula-3 compiler from
>>   http://m3.polymtl.ca/m3/download. Package pm3-1.1.15-src-NT386GNU-boot.tgz
>>   worked quite fine in 1.1.8 but I only get strange errors (means I cannot
>>   correct them) in 1.3.3 (win2k pro). 
>What errors?

During the compiler bootstrap comes a point where a generated
tool (m3build) says:
---------- building m3cc in language\modula3\m3compiler ----------

C:\cygwin\usr\src\pm3-1.1.15\src\..\boot-NT386GNU\m3build\NT386GNU\m3build -T C:
\cygwin\usr\src\pm3-1.1.15\src\..\m3config\src -F C:\cygwin\usr\src\pm3-1.1.15\s
rc\..\NT386GNU\config.tmpl
      0 [main] sh 556 fhandler_base::dup: dup(some disk file) failed, handle 0, 
Win32 error 6
      0 [main] sh 1476 fhandler_base::dup: dup(some disk file) failed, handle 0,
 Win32 error 6
--- building in NT386GNU ---

m3build: quake error: quake error: runtime error: Failed to configure m3cc

--procedure--  -line-  -file---
error              --  <builtin>
                   77  C:\cygwin\usr\src\pm3-1.1.15\language\modula3\m3compiler\
m3cc\src\m3makefile
------------------------------------------------------------------
syscall trace looks like:
------------------------------------------------------------------
   85  814228 [main] sh 1212 stat_worker: 32 = file_attributes for 'C:\cygwin\bi
n\sh.exe'
   80  814308 [main] sh 1212 fhandler_base::open: (C:\cygwin\bin\sh.exe, 0x11000
0)
  683  814991 [main] sh 1212 fhandler_base::open: 0x148 = CreateFileA (C:\cygwin
\bin\sh.exe, 0x80000000, 0x7, 0x22F1F4, 0x3, 0x2000080, 0)
  106  815097 [main] sh 1212 fhandler_base::open: filemode set to binary
   86  815183 [main] sh 1212 fhandler_base::open: 1 = fhandler_base::open (C:\cy
gwin\bin\sh.exe, 0x110000)
   82  815265 [main] sh 1212 fhandler_disk_file::open: 1 = fhandler_disk_file::o
pen (C:\cygwin\bin\sh.exe, 0x110000)
  107  815372 [main] sh 1212 fhandler_disk_file::fstat: 1 = GetFileInformationBy
Handle (C:\cygwin\bin\sh.exe, 328)
   98  815470 [main] sh 1212 fhandler_disk_file::fstat: 0 = fstat (, 0x22F7F4) s
t_atime=3BD86DBB st_size=69120, st_mode=0x81ED, st_ino=240048, sizeof=64
   84  815554 [main] sh 1212 fhandler_base::close: handle 0x148
  103  815657 [main] sh 1212 stat_worker: 0 = stat (/bin/sh, 0x22F7F4)
  234  815891 [main] sh 1212 dtable::build_fhandler: /dev/piper - cb 60, fd 3, f
h 0x614E25C4
  100  815991 [main] sh 1212 dtable::build_fhandler: /dev/pipew - cb 60, fd 4, f
h 0x614E4024
   83  816074 [main] sh 1212 fhandler_base::init: created new fhandler_base for 
handle 0x148
   80  816154 [main] sh 1212 fhandler_base::init: created new fhandler_base for 
handle 0x104
   79  816233 [main] sh 1212 make_pipe: 0 = make_pipe ([3, 4], 16384, 0x10000)
  206  816439 [main] sh 1212 dtable::build_fhandler: some disk file - cb 60, fd 
-1, fh 0x614E489C
   95  816534 [main] sh 1212 fhandler_base::dup: in fhandler_base dup
 816623 [main] sh 1212 fhandler_base::dup: dup(some disk file) failed, handle 0,
 Win32 error 6
   89  816623 [main] sh 1212 fhandler_base::dup: dup(some disk file) failed, han
dle 0, Win32 error 6
154773  971396 [main] sh 1212 seterrno_from_win_error: /cygnus/netrel/src/cygwin
-1.3.3-2/winsup/cygwin/fhandler.cc:1064 errno 6
   79  971475 [main] sh 1212 geterrno_from_win_error: windows error 6 == errno 9
   68  971543 [main] sh 1212 vfork: 0 = vfork()
   62  971605 [main] sh 1212 _close: close (10)
   75  971680 [main] sh 1212 fhandler_base::close: handle 0xC0
------------------------------------------------------------------
Full strace is located at <URL:http://www.cs.tut.fi/%7Ejyke/tmp/sh.trace.txt>
(6.8 MB).

	- Jyke



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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