Rosimildo is a star! (was:RE: Powerpc and C++ - compiler query)

Nick.SIMON at syntegra.bt.co.uk Nick.SIMON at syntegra.bt.co.uk
Thu Jul 27 06:11:56 UTC 2000


> -----Original Message-----
> From: Rosimildo da Silva [mailto:rdasilva at connecttel.com]
> Sent: 27 July 2000 00:12
> To: Nick.SIMON at syntegra.bt.co.uk
> Cc: rtems-users at oarcorp.com
> Subject: Re: Powerpc and C++ - compiler query
> 
> 
 
> Nick,
> 
> do these tasks have try/catch blocks ? If so, try to remove them
> and isolate the problem.

Yes they do; but removing the exception handling is non-trivial (used
throughout dozens of sources).  I'm quite convinced eh is the cause of the
problem.

> Remember that we have added
> multi-threading capabilities when handling C++ exceptions.
> I guess in beta3a was exactly when it was introduced.

If b3a fixes the problem I'll be very happy indeed!  But doesn't this
require compiler changes?

> 
> lib/libc/gxx_wrappers.c implements the functions called by GCC
> to provide thread-safe exceptions. You might be able to play
> with it, and see if it is something there. I have added a 
> preprocessor "flag" in there in case someone needs to 
> debug this a little. :-)
> 

I'll take a look at this as soon as I can get through to the OAR site.
Thanks for holding out hope - I thought we were going to have to remove all
our exception stuff and put in "traditional" error handling, at which my
object-purist colleague would have thrown a major wobbler.




-- Nick Simon 



More information about the users mailing list