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: Paul Smith
Subject: Re: Make run in parallel mode with output redirected to a regular file can randomly drop output lines
Date: Sun, 26 May 2013 16:20:30 -0400

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.




reply via email to

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