Problem passing exceptions between static libraries

Alexandre Oliva aoliva@redhat.com
Sun Sep 9 18:42:00 GMT 2001


On Sep  7, 2001, Josep Lluis Colom <jllcolom@bpo.hp.com> wrote:

> I'm working with gcc 2.95.2

> Anybody has some idea of possible causes of the error?

It may be caused by using too old a version of binutils, or by the
lack of libgcc_s, introduced in GCC 3.0.  One of the main reasons to
introduce libgcc as a shared library was to allow throwing and
catching of exceptions across shared libraries even in cases of
dlopening.  I'm not sure you're dlopening or just dynamic-linking with
shared libraries.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc-bugs mailing list