public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Throwing exceptions accross shared lib boundary
@ 2002-08-21  9:29 Abhijit H. Bhosale
  2002-08-21  9:35 ` David Edelsohn
  0 siblings, 1 reply; 2+ messages in thread
From: Abhijit H. Bhosale @ 2002-08-21  9:29 UTC (permalink / raw)
  To: gcc

Hi,
I am working on AIX 4.3.3.0.
Using gcc version 2.95.3 20010315 (release).
I am facing problem in case of
throwing exceptions accross shared lib boundary.
I want to know whether gcc 2.95.3 supports this or not.

We tried with gcc version 3.0.4
------------
Reading specs from 
/usr/local/gcc-3.0.4/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/3.0.4/specs
Configured with: ../gcc-3.0.4/configure --prefix=/usr/local/gcc-3.0.4 
--enable-threads=posix --enable-languages=c,c++ --disable-libgcj
Thread model: single
gcc version 3.0.4
------------
It works only if we link the libstdc++ dynamically instead of static 
linking.
Will the problem resolve by trying same thing with gcc - 2.95.3.

thanks
Abhijit.


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

* Re: Throwing exceptions accross shared lib boundary
  2002-08-21  9:29 Throwing exceptions accross shared lib boundary Abhijit H. Bhosale
@ 2002-08-21  9:35 ` David Edelsohn
  0 siblings, 0 replies; 2+ messages in thread
From: David Edelsohn @ 2002-08-21  9:35 UTC (permalink / raw)
  To: Abhijit H. Bhosale; +Cc: gcc

>>>>> 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

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

end of thread, other threads:[~2002-08-21  9:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-21  9:29 Throwing exceptions accross shared lib boundary Abhijit H. Bhosale
2002-08-21  9:35 ` David Edelsohn

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).