public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Mixing exception handling libraries with non exception handling
@ 2008-08-04 14:40 Barry Andrews
  2008-08-04 15:00 ` Andrew Haley
  0 siblings, 1 reply; 8+ messages in thread
From: Barry Andrews @ 2008-08-04 14:40 UTC (permalink / raw)
  To: gcc-help

Hi All,

I have a 3rd party library ( which I'll call X ) which I believe was 
compiled with exception handling disabled. Then I have my C++ library 
which does have exception handling. When I load the X library first into 
a process, then load my library in the same process, exception handling 
becomes disabled and the abort() function is called. from unwind-dc2.c 
if I try to throw an exception in my code. This only happens if I load 
the X library first. I don't have any control over the X library, i.e. I 
cannot recompile it.

Has anyone run into this before? Is there some compiler option in gcc or 
#define I should have to keep exception handling enabled when I load my 
library? It appears that this is some sort of runtime thing.

Many many thanks for any guidance!

-B


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-08-05 16:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-04 14:40 Mixing exception handling libraries with non exception handling Barry Andrews
2008-08-04 15:00 ` Andrew Haley
     [not found]   ` <48971DE4.90804@gmail.com>
2008-08-04 15:26     ` Andrew Haley
     [not found]       ` <48972282.2060208@gmail.com>
2008-08-04 15:54         ` Andrew Haley
     [not found]           ` <489728DE.50403@gmail.com>
2008-08-04 16:25             ` Andrew Haley
2008-08-05 14:33           ` Ian Lance Taylor
     [not found]             ` <489867BB.1090204@gmail.com>
2008-08-05 15:28               ` Andrew Haley
2008-08-05 16:23               ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).