delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/10/10:05:29

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
Date: Thu, 10 May 2001 17:02:58 +0400
From: egor duda <deo AT logos-m DOT ru>
X-Mailer: The Bat! (v1.45) Personal
Reply-To: egor duda <cygwin AT cygwin DOT com>
Organization: deo
X-Priority: 3 (Normal)
Message-ID: <190852746.20010510170258@logos-m.ru>
To: Olivier Fambon <Olivier DOT Fambon AT inrialpes DOT fr>
CC: cygwin AT cygwin DOT com
Subject: Re: 'make aux' hangs ?
In-reply-To: <3AFA8D72.1862893@inrialpes.fr>
References: <3AF979D6 DOT CFFFE8CE AT inrialpes DOT fr>
<5016127229 DOT 20010509212620 AT logos-m DOT ru> <3AFA7D2A DOT 83852811 AT inrialpes DOT fr>
<12883601112 DOT 20010510161054 AT logos-m DOT ru> <3AFA8874 DOT 85299606 AT inrialpes DOT fr>
<12584843087 DOT 20010510163136 AT logos-m DOT ru> <3AFA8D72 DOT 1862893 AT inrialpes DOT fr>
Mime-Version: 1.0

Hi!

Thursday, 10 May, 2001 Olivier Fambon Olivier DOT Fambon AT inrialpes DOT fr wrote:

>> of course it does. strace is not a magic wand supposed to cure
>> problems. it's an analysis tool. you should really take a look at
>> make.strace.log file for occurrences of 'aux'

OF> Did that. And yesterday, I tried gdb too, which behaved much the same. I
OF> just did not expect these to use a cmd window (although I know that it
OF> is the simplest way to fork processes in windows).

OF> You were right though, strace reports that make (or the shell parsing
OF> the cmd line ?) tries to open *file* aux.

it's not the shell parsing. its 'make':

OF>   159  387936 [main] make 1424 fhandler_base::open: 0 =
                         ^^^^ this shows us who's misbehaving

OF> fhandler_base::open (E:\home\fambon\Makefile, 0x110000)
OF>   162  388098 [main] make 1424 fhandler_disk_file::open: 0 =
OF> fhandler_disk_file::open (E:\home\fambon\Makefile, 0x110000)
OF>   161  388259 [main] make 1424 stat_worker: -1 = stat (Makefile,
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                   and this shows why.
apparently make cannot find Makefile in current directory, so it has
no reasons to treat 'aux' as phony. so, it checks if there exists such
file.

OF> 0x242F474)
OF> 18734  406993 [main] make 1424 stat_worker: stat (aux, 0x242F384)
OF>   181  407174 [main] make 1424 mount_info::conv_to_win32_path:
OF> conv_to_win32_path (aux)

Egor.            mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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