Issues with builds on 4.xx
Alex Aitken (192) 8 posts |
aka “Trouble with the MRS”. Building OMAP3 on 4.02 and 4.39 fail with an error about an unsupported mnemonic (at line 10390 in FSLockSRC) which turns out to be “MRS R8, CPSR”. The issue turns out to be that this is not being assembled by the C++ Suite but by the local BASIC module (1.19) which does not support this. The work around thanks to Jeff is wonderfully simple, just run the ROOL BASIC module first so this is softloaded in memory. Would it be feasable to have this happen automatically if the local BASIC fails? It would be better if the build system was not dependent on the local BASIC at all though. |
James Lampard (51) 120 posts |
The Basic module DOES support this, it’s just that the behaviour is slightly different on RO4. Namely on RO4 Basic you must set b4 of the OPT settings to get extended instructions. RO5 Basic always assembles them. For an example of somewhere else this behaviour causes problems see: http://www.riscosopen.org/tracker/tickets/182 |
John-Mark Bell (94) 36 posts |
I’ve committed a modified version of the FSLock sources that sets bit 4 of the OPT flags. In theory, this should fix your problem. |