EH fails if libstdc++.so built with -ffunction-sections

Loren James Rittle rittle@latour.rsch.comm.mot.com
Mon Jul 17 15:39:00 GMT 2000


> I have a program that dumps core when it throws an exception.  The
> program is dynamically linked to a v3 libstdc++.so.

> The same program, staically linked, works fine.

Yup, this problem was discussed on libstdc++ and a report
was posted to binutils (and libstdc++):

http://sources.redhat.com/ml/libstdc++/2000-06/msg00125.html

There was a *lot* of followup that spanned both mailing lists.

The final result was a patch to binutils 2.10.  This issue was not
considered important enough to halt the binutils 2.10 release since
they expect another release of binutils before GCC 3.0 ships (which
might/will use libstdc++ v3 by default)...

Regards,
Loren


More information about the Gcc-bugs mailing list