[RFC] Cygwin libstdc++ plan (operator new/delete replacement)

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Fri Oct 2 16:04:00 GMT 2009

On Fri, Oct 02, 2009 at 03:43:26PM +0100, Dave Korn wrote:
>Corinna Vinschen wrote:
>> On Oct  2 01:54, Christopher Faylor wrote:
>>> No, this has to stop at some point.  The current workaround is adequate
>>> and really should go away soon; maybe even for 1.7.1.  We're not going
>>> to stand on our heads for a handful of dlls which might have been built
>>> using beta code and might have overridden the cxx_malloc structure.  I
>>> made that decision when I added this kludge.
>  It's not just a handful of DLLs, it's also every executable that was built
>before we repurposed the forkee field.

Yeah, that occurred to me as I was drifting off to sleep last night.
So, the code is there to stay.  I don't want to go through another round
where we move the forkee structure and then realize that code built in
2002 has the same problem.

One thing that I wish I'd done was move most of the
_cygwin_crt0_common.cc code into the Cygwin DLL itself so that we could
make these changes in the DLL and not force a recompile.  I wish I'd
that had occurred to me in 1998...


More information about the Cygwin-developers mailing list