[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bootstrap failure using 'make -j4' [Cygwin]

From: Jan Djärv
Subject: Re: Bootstrap failure using 'make -j4' [Cygwin]
Date: Sat, 22 May 2010 13:00:53 +0200
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv: Gecko/20100512 Thunderbird/3.0.5

Eli Zaretskii skrev 2010-05-22 08.57:

Thanks.  I think your problem begins with this error message I see in
the log:

    mkdir: impossibile creare la directory "deps": File exists

This comes from the following fragment in src/Makefile.in:

            $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $<

where MKDEPDIR expands to this:

     test -d ${DEPDIR} || mkdir ${DEPDIR}

Now, if more than one .c.o rule tries to create the `deps'
subdirectory at the same time, one of them might lose due to a race
condition, and fail the entire compilation.

Could you please try changing this line:


and see if that makes the problem go away?

A better solution is probably to replace

      test -d ${DEPDIR} || mkdir ${DEPDIR}


      mkdir -p ${DEPDIR}

        Jan D.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]