dependency generation changes

Roland McGrath roland@redhat.com
Fri May 2 07:21:00 GMT 2003


> This new method has a problem with -jN, N > 1.  The stamp.oST files are
> sometimes not created before needed in another goal.
>
> make[2]: Entering directory `/misc/myware/drepper/gnu/libc/locale'
> .././scripts/mkinstalldirs /home/drepper/local/glibc-build/20030501/locale
> echo '' > /home/drepper/local/glibc-build/20030501/locale/stamp.oST
> /bin/sh: line 1:
> /home/drepper/local/glibc-build/20030501/locale/stamp.oST: No such file
> or directory
> mkdir /home/drepper/local/glibc-build/20030501/locale
> make[2]: *** [/home/drepper/local/glibc-build/20030501/locale/stamp.oS]
> Error 1

An error like this from sh means the directory didn't exist.  I added the
$(make-target-directory) that should fix this case.  There might be others
that can come up with -j too.  Many could be omitted before because the
deps pass always did it first.  If any similar problem comes up, it should
be fixed just as simply.


Thanks,
Roland



More information about the Libc-hacker mailing list