This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Throwing exceptions accross shared lib boundary
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: "Abhijit H. Bhosale" <abhibhosale at yahoo dot co dot uk>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 21 Aug 2002 12:35:17 -0400
- Subject: Re: Throwing exceptions accross shared lib boundary
>>>>> Abhijit H Bhosale writes:
Abhijit> I am working on AIX 4.3.3.0.
Abhijit> Using gcc version 2.95.3 20010315 (release).
Abhijit> I am facing problem in case of
Abhijit> throwing exceptions accross shared lib boundary.
Abhijit> I want to know whether gcc 2.95.3 supports this or not.
Abhijit> We tried with gcc version 3.0.4
Abhijit> It works only if we link the libstdc++ dynamically instead of static
Abhijit> linking.
Abhijit> Will the problem resolve by trying same thing with gcc - 2.95.3.
GCC 2.95.3 does not build libstdc++-v2 as a dynamic library. GCC
2.95.3 also uses setjmp/longjmp for exceptions while GCC 3 uses Dwarf2
information on AIX.
You should upgrade to GCC 3.2 or possibly use GCC from the AIX
Toolbox for Linux if you really need libstdc++-v2.
David