libgcc exception handling not thread safe

Andreas Damm andreas-sourceforge@radab.org
Fri Feb 8 01:47:00 GMT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

libgcc.a in the gcc package does not seem to be thread safe with regards
to c++ exception handling. Doing a nm libgcc.a does not show any
dependencies on Windows synchronisation and thread functions (e.g.
InterlockedIncrement and TlsAlloc).

When compiling a c++ program with -mno-cygwin which runs multiple threads
it will eventually crash.

Should this be fixed?


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQE8Y56h6JfsLTFvWG8RAncgAJwNKAJ7vt/YrWbsgQK0hWEManqRJACfam0K
gdn4+z2YYg3PmkF5++9l9YU=
=btR0
-----END PGP SIGNATURE-----



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list