help-make
[Top][All Lists]
Advanced

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

Re: how does make handle output to stderr ?


From: Per Jessen
Subject: Re: how does make handle output to stderr ?
Date: Mon, 10 Mar 2008 11:31:45 +0100
User-agent: KNode/0.10.4

Per Jessen wrote:

> The problem I'm seeing is (somehow) directly related to output to
> stderr.  One of the utilities I'm using in my jobs produces output to
> both stdout and stderr (5-6 lines of diagnostics etc.)
> 
> I went in and made some minor changes in job.c to deal with stderr
> output.
> After the child has been forked(), I open temporary file and use
> dup2() to direct stderr output that way - and everything suddenly
> works! All of my jobs are run, and the output is also no longer
> garbled nor truncated.

Just to confirm - I'm using my work-around in all these parallel makes
now, which is probably a total of about 10000 jobs/day.  Occasionally
I'll still see some garbled output, but the jobs are all run.


/Per Jessen, Z├╝rich





reply via email to

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