Soliciting help with libstdc++ and exceptions

Anthony Green green@cygnus.com
Mon Dec 20 18:14:00 GMT 1999


Chip wrote:
> *DING*DING*DING*  We have a winner!
> 
> The test works with that flag added.  A thousand thanks, Anthony.

Great - I'm glad this helped.  It's a very frustrating problem, isn't
it.

> Now, how to really fix this issue for g++?

I think _most_ people believe libgcc should be built as a shared
library.  Others believe that this is the wrong approach.

I'm sure people will object to this hack, but it might work well
enough.  Change GCC so when it is configured with --enable-threads,
the appropriate specs files for g++ include "-u  __register_frame_info".

This is a hack, but I suspect that it might be a reliable hack.

I can't think of any other short term solution.

The least we can do is add something to the FAQ.  I'm guessing that
there's nothing there right now.

AG

-- 
Anthony Green                                               Cygnus Solutions
                                                       Sunnyvale, California


More information about the Gcc-bugs mailing list