emacs-devel
[Top][All Lists]
Advanced

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

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


From: David Engster
Subject: Re: Bootstrap failure using 'make -j4' [Cygwin]
Date: Sat, 22 May 2010 15:41:00 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)

Eli Zaretskii writes:
>> Date: Sat, 22 May 2010 15:00:01 +0200
>> From: Jan Djärv <address@hidden>
>> CC: address@hidden, address@hidden
>> 
>> > I think the -p switch to mkdir is not portable.
>> >
>> 
>> I has been in The Single UNIX ® Specification since 1997 at least.  I think 
>> it 
>> was in POSIX 2 as well (1990), but I lost it, so I can't check.
>> 
>> Do you know any system that doesn't have it?
>
> Not by name, no.  But this is in the GNU Coding Statndards:
>
>        Generally, stick to the widely-supported (usually POSIX-specified)
>     options and features of these programs.  For example, don't use `mkdir
>     -p', convenient as it may be, because a few systems don't support it at
>     all and with others, it is not safe for parallel execution.
>
> If this is no longer a consideration, perhaps we should ask Richard to
> amend standards.texi.

In autoconf, Solaris 8 is mentioned with a thread-unsafe 'mkdir -p', so
this is still an issue. Autoconf's MKDIR_P falls back to 'install-sh -d'
when GNU mkdir isn't available.

-David



reply via email to

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