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

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


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