This is the mail archive of the gcc-bugs@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]

[Bug c++/34684] Cross DLL Exceptions



------- Comment #3 from brian at dessent dot net  2008-01-09 03:18 -------
FSF gcc does not currently support exceptions across shared libraries on Cygwin
or MinGW.  This is because a shared libgcc is required, and libgcc only builds
static on those platforms.

For the 3.4 gcc releases that MinGW and Cygwin ship, there is a local patch
that lets exceptions across shared libraries work with static libgcc.  This
patch is quite a hack and was offered but never accepted upstream.  It cannot
be used with 4.x because the internals have changed so much.

The real solution is to build libgcc shared, which is what the MinGW gcc 4.2
release does with a number of MinGW-local patches.  They have not made their
way into FSF gcc, so until somebody works on this FSF gcc will continue to be
broken.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34684


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