[coldfire-gnu-discuss] Interrupts failing in 4.2-8 but had working in 4.1-32
Carlos O'Donell
carlos at codesourcery.com
Tue Jun 26 19:22:05 UTC 2007
On Sun, Jun 24, 2007 at 12:26:23AM +0200, Mark Butcher wrote:
> There are some uTasker users who's projects are based on CodeSourcery GNU.
> Some registers users have 4.2.15 and found that the project would no
> longer run but immediately crashes due to an address error.
> Therefore I have just downloaded the 4.2-8 Lite (which is probably 4.2.15
> like) to see what happens and it is the same on my M52235 board - the
> reference project doesn't run.
> The reason that I see is that the interrupt routines are trying to return
> using RTS (rather than RTI) which result in instant death.
We were able to reproduce this problem. We are looking into the issue.
The workaround is to use -O1 instead of -Os.
Cheers,
Carlos.
--
Carlos O'Donell
CodeSourcery
carlos at codesourcery.com
(650) 331-3385 x716
More information about the coldfire-gnu-discuss
mailing list