This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: gcc static constructor multi-threading flaw
- From: Christopher Faylor <cgf at redhat dot com>
- To: cygwin-developers at cygwin dot com
- Date: Thu, 6 Mar 2003 11:40:06 -0500
- Subject: Re: gcc static constructor multi-threading flaw
- References: <3E4D06B8.5010306@hekimian.com> <20030305050809.GB29712@redhat.com> <3E677447.80202@hekimian.com>
- Reply-to: cygwin-developers at cygwin dot com
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