This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Problem with exceptions and shared libs
- To: egcs mailing list <egcs at cygnus dot com>
- Subject: Problem with exceptions and shared libs
- From: Gerald Gryschuk <gerald dot gryschuk at home dot com>
- Date: Mon, 12 Oct 1998 23:23:47 -0600
Hi.
I'm having trouble using exceptions with dynamically linked
libraries and I'm wondering if I'm doing something wrong or
if this case just isn't supported yet.
Specifically the simplest use of throwing an exception from
a dynamically linked library causes an application to
simply Abort with a core dump.
The specifics of my system are, a Redhat 5.1 system
with binutils version 2.9.1, egcs 1.1b. 'as' reports
itself as version 2.9.1 using BFD 2.9.1.0.4. I only
compile using the '-g -O2' flags and link using
'-shared'.
So... are exceptions supposed to work with shared libraries?
If so can someone give me a hint what I might be doing wrong?
Sorry if this has been asked before but I searched the archives
a bit and nothing jumped out at me.
Thanks for any help.
--
Gerald Gryschuk
gerald.gryschuk@home.com
MidNightOil Consulting - "We burn the midnight oil so you don't have
to."