https://sourceware.org/bugzilla/show_bug.cgi?id=31384

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nickc at redhat dot com

--- Comment #1 from Nick Clifton <nickc at redhat dot com> ---
(In reply to Stanislav Šimek from comment #0)
Hi Stanislav,

> Any idea what could be wrong?

This sounds like a race condition of some kind.

The error message is issued when the make_tempname() function fails to create a
temporary file.  That function (in <binutils-sources>/binutils/bucomm.c)
creates the file using the C library function mkstemp(), if available, or
mktemp() otherwise.  So presumably one of these functions is failing, and the
likely problem is a collision in the "random" name generation they use.

I am not sure what to suggest as a solution.  You might try adding code to
make_tempname() so that if the first attempt fails, the code backs off and
tries again a little bit later.

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to