Boost logo

Boost-Build :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2005-11-07 07:33:29


Bronek Kozicki wrote:
>OK, problems also turned on bjam 3.1.10 :/ So it's something else.

>failed to write command file!

A while ago, I noticed an intermittent crash when running an NT (msvc-7.1)
build of bjam within cygwin bash where the file used to write out commands
to would be 0 (because fopen was returning a null file handle, hence the
crash). IIRC, the errno was EMLINK ("Too many links.").

Rene added a guard against this that terminates with the above error
message. I was unable to consistently reproduce the error and haven't seen
it for a while now and am still not sure exactly why the error occurs.

We could try and recover in this situation by waiting for a short while,
then retrying.

NOTE: The problem file is execnt.c (see revision 1.14).

Bronek: what have you used to build bjam? Are you running through DOS or
CYGWIN?

- Reece


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk