SWI PSR corruption

Tom Hughes tom at compton.nu
Thu Apr 28 16:49:01 BST 2005


In message <9324bf624d.christian at venice.lab>
        Christian Ludlam <chris at recoil.org> wrote:

> When you build an application targeting 32 bit OSs, it seems you MUST use the
> -zpq512 compiler switch to tell the compiler that inline SWI calls corrupt
> the PSR (why this isn't the default I don't know).

So there is a workaround then... John didn't mention that when I reported
this bug a while ago.

> Of course, the -zpq command line isn't documented and is subject to change.
> What's the recommended workaround?

File a bug with Castle like I did? That and add -Dswi to my command
lines to stop SWI inlining.

Tom

-- 
Tom Hughes (tom at compton.nu)
http://www.compton.nu/



More information about the oslib-user mailing list