Soliciting help with libstdc++ and exceptions

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Tue Dec 21 04:17:00 GMT 1999


>      http://www.cygnus.com/~green/eh_and_libgcc.html

Anthony,

After reading this text, I can see the problem, but I cannot see the
cause.

First, why could it ever happen that one copy of libgcc.a was compiled
with --enable-threads, and the other was not? I know that it is easy
to configure that way, but I thought that the platform pretty much
defines what to use. In particular, on Linux, you should always
configure the compiler with --enable-threads - right? So if you don't,
you loose.

More interesting, what is the specific problem that is causing the
bug? AFAICT, none of the signatures involved depend on
--enable-threads (including the layout of objects passed as
parameters). All stuff that depends on --enable-threads is static in
frame.c.

Any insights appreciated,

Martin



More information about the Gcc-bugs mailing list