This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: How to make child of failed fork exit cleanly?
On Wed, 2011-05-04 at 15:58 -0400, Ryan Johnson wrote:
> Update: testing with an app that loads dlls dynamically gives access
> violations while trying to unload statically-linked libraries (namely,
> cyggcc_s, whose copied-over state includes invalid pointers to the dlls
> dynamically-loaded-in-parent-but-not-child).
FWIW, I should note that Dave Korn's changes to GCC 4.5 and binutils
2.21 results in much fewer C libraries being statically-linked against
libgcc_s. In fact, I wonder if the pre-change condition is causing any
of these problems, but I don't pretend to understand the internals of
binutils or GCC.
Yaakov