gcc static constructor multi-threading flaw

Christopher Faylor cgf@redhat.com
Thu Mar 6 16:39:00 GMT 2003


On Thu, Mar 06, 2003 at 11:16:07AM -0500, Joe Buehler wrote:
>Christopher Faylor wrote:
>>Since neither gcc nor newlib have responded to this problem, I've added
>>a wrapper in cygwin.  It will be in 1.3.21.
>
>By the way, if I recall correctly, the real fix *has* to be made in
>gcc.  There is still a race in the gcc-generated code that can cause
>double-destruction at process exit.

I am sure that this is the case.  I'm not going to change gcc, though.

cgf



More information about the Cygwin-developers mailing list