This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Support thread cleanup without mingwm10.dll


"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.

Brian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]