I'm trying to diagnose a problem I'm having with -j when running on
DYNIX/ptx. This Makefile demonstrates the problem I'm having:
--------------------------------------CUT---------------------------------------
TARGETS = $(patsubst %.abc,%.xyz,$(wildcard *[0-9].abc))
%.xyz: %.abc
@touch $@
all: $(TARGETS)
clean:
@rm -f *.xyz
--------------------------------------CUT---------------------------------------
There are 100 files in the directory called 1.abc, 2.abc, and so on.
$ gmake -j
gmake: *** No rule to make target `12.abc', needed by `12.xyz'. Stop.
gmake: *** Waiting for unfinished jobs....
The number varies, but it usually fails somewhere. Without the -j option,
or with -j1, the build completes as expected. Also, gmake -j2 is just
as unreliable so I don't think it's a resource or memory problem.
$ gmake --version
GNU Make version 3.78.1, by Richard Stallman and Roland McGrath.
Built for i386-sequent-sysv4
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Report bugs to <[EMAIL PROTECTED]>.
$ uname -a
DYNIX/ptx roll 4.0 V4.4.4 i386
Incidently, I can also reproduce it on V4.4.7.
This is how I configured it:
./configure --prefix=/auto --infodir=/auto/lib/gmake/share/info --program-prefix=g
I have the output of gmake -dj available, but it's huge, so didn't
included it. If anyone's interested, I can send it to you. Also avaiable
is config.h.
Is there anyone out there with access to a DYNIX/ptx box that could
try to reproduce this? IBM thinks it's a problem with gmake, but I'm
not convinced.
Michael Sterrett
-Mr. Bones.-
[EMAIL PROTECTED]