Soliciting help with libstdc++ and exceptions

Anthony Green green@cygnus.com
Mon Dec 20 05:27:00 GMT 1999


Chip Salzenberg <chip@valinux.com> writes:

> Now I'm up against trouble.  The troublesome program *WORKS* when
> linked -static, but continues to fail when linked shared.  So the
> exception problem is specific to dynamic linking somehow, which of
> course makes it much harder to debug.  Fooey.

It's a shot in the dark, but try adding -Wl,-u,__register_frame_info
to your link line.

See http://www.cygnus.com/~green/eh_and_libgcc.html to see why.

AG

-- 
Anthony Green                                               Cygnus Solutions
                                                       Sunnyvale, California


More information about the Gcc-bugs mailing list