-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Christopher Faylor on 8/22/2008 1:22 PM: > On Fri, Aug 22, 2008 at 08:31:07PM +0200, Christian Franke wrote: >> ... I could also reproduce this problem. > > Unfortunately, I can't. > > A simple test cause would be appreciated.
The parallel make is hit and miss; I've seen make go for quite some time without failures. I'm also seeing occasional failures with gcc -pipe. But it looks like I've finally stumbled on a 100% reproducible testcase, in the m4 testsuite. /home/eblake/m4/build/src/m4 is a self-built m4 from the latest m4.git; when I replace that string with /bin/m4, I don't see the failure, so it might be something added in m4.git since m4 1.4.10b that tickles the behavior; I'm still trying to set up a decent debugging session to catch that. I'll continue trying to trim it down even further, hopefully to a simple C program; but in the meantime, here's the testcase: $ cat foo.m4 esyscmd(`echo 1m4exit' | /home/eblake/m4/build/src/m4) sysval $ /bin/m4 foo.m4 /home/eblake/m4/build/src/m4: write error 1 1 The parent process uses popen() to implement esyscmd. The child m4 was able to successfully write '1' to stdout (as evidenced by the fact that the parent process read '1' from the pipe), but then reports a write error during the atexit() handling. The expected behavior is to output "1 0", with no error message. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkivJr0ACgkQ84KuGfSFAYB+NwCgpqDkNKqzK4+9GOTsfdxq3Q5B KlUAnApFlbv55Ly27lLiXjRBKDhltlPU =EDtF -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/