Lee Noar wrote on Thursday, August 28, 2014 6:41 PM:

On 18/08/14 08:44, alan buckley wrote:
 > On Sat, 16 Aug 2014 14:25:24 +0100 Lee Noar wrote:
 >
 > On 15/08/14 14:59, Alan Buckley wrote:
> > I seem to be having a problem with programs not catching C++ exceptions
 > > when compiled with GCCSDK 4.7.
 >
[snip]

Turned out to be a 26/32bit problem, hence why it works in RISC OS 5,
but not 4. The PSR bits were being interpreted as part of an address
when searching for exception handlers.

Should be fixed with r6737.

It didn't seem to work for me. I may not have rebuilt it correctly though.

I did:
  svn update
  deleted buildstepsdir/cross-gcc-built
  make
  ./install-env

Is there anything else I should do?

I got new gcc and g++ files where I excepted them and the output from
the version commands was:

~/gccsdk/cross/bin/arm-unknown-riscos-g++ --version
arm-unknown-riscos-g++ (GCCSDK GCC 4.7.4 Release 1 Development) 4.7.4 20140527 (
prerelease) [gcc-4_7-branch revision 210956]
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

~/gccsdk/cross/bin/arm-unknown-riscos-gcc --version
arm-unknown-riscos-gcc (GCCSDK GCC 4.7.4 Release 1 Development) 4.7.4 20140527 (
prerelease) [gcc-4_7-branch revision 210956]
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Regards,
Alan


_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

Reply via email to