This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 'make aux' hangs ?


Hi!

Thursday, 10 May, 2001 Olivier Fambon Olivier.Fambon@inrialpes.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@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]