gcc static constructor multi-threading flaw
Joe Buehler
jbuehler@hekimian.com
Thu Mar 6 16:16:00 GMT 2003
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.
Your fix should eliminate the core dumps caused by atexit data structure
corruption, though.
--
Joe Buehler
More information about the Cygwin-developers
mailing list