This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Support thread cleanup without mingwm10.dll
- From: Brian Dessent <brian at dessent dot net>
- To: "Aaron W. LaFramboise" <aaronavay62 at aaronwl dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, Danny Smith <dansmister at gmail dot com>
- Date: Mon, 18 Aug 2008 18:30:27 -0700
- Subject: Re: [PATCH] Support thread cleanup without mingwm10.dll
- References: <48A9CCC3.firstname.lastname@example.org>
- Reply-to: gcc-patches <gcc-patches at gcc dot gnu dot org>
"Aaron W. LaFramboise" wrote:
> This patch removes the requirement the -mthread be passed to link
> against mingwm10.dll if multithreaded exceptions are desired.
The thing about using the PE static TLS callback is that it won't work
for 9x/ME where the current method does. I don't know how many people
use gcc to build C++ MT apps that support 9x/ME, but I'm sure that
number is non-zero and I'm sure they won't appreciate that their apps
silently leak like crazy after upgrading their compiler because the
dtors never got called. At the very least this needs to be documented
in the manual and release notes as it's kind of a major change for those
that still have to support 9x/ME, crazy as they might be.
Also the documentation for -mthread should be updated to indicate that
it no longer does anything and is only included for compatibility,
preferably with a "will be removed in the future" type of wording.