bug-make
[Top][All Lists]
Advanced

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

Re: Make run in parallel mode with output redirected to a regular file c


From: Stefano Lattarini
Subject: Re: Make run in parallel mode with output redirected to a regular file can randomly drop output lines
Date: Sun, 26 May 2013 22:33:16 +0200

On 05/26/2013 10:20 PM, Paul Smith wrote:
> On Sun, 2013-05-26 at 22:05 +0200, Stefano Lattarini wrote:
>> On 05/26/2013 09:57 PM, Paul Smith wrote:
>>>
>>> [SNIP]
>>>
>>> Might be worthwhile checking the FreeBSD code for their make, to see if
>>> they do something like this.
>>>
>> Nope, Frank was right: when run in parallel mode, FreeBSD make 
>> unconditionally
>> behaves like GNU make does with the '-O' option enabled (I behavior I 
>> actively
>> dislike, since it cannot be worked around).  And it also has several other
>> terrible hacks and quirks.  For more info, see:
>> <http://www.gnu.org/software/autoconf/manual/autoconf.html#Parallel-Make>
> 
> Nevertheless, I do wonder whether forcing stdout/stderr into O_APPEND
> mode would be worthwhile.  It would fix this problem in any event.  I'm
> having a hard time coming up with a reason NOT to do it.
> 
To be clear: I'm not opposing to the change in any way; it's just that I
don't feel comfortable enough with the area to give an explicit ACK.  If
you think the change would be worthwhile, go for it :-)  I trust your
judgment far more than mine.

Thanks,
  Stefano



reply via email to

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