[fpc-devel] Building and running FPC natively on ARM under Debian "Lenny"

Bernd Mueller mueller.b at gmx.net
Wed Oct 13 13:57:26 CEST 2010


Jonas Maebe wrote:
> 
> On 13 Oct 2010, at 09:58, Sven Barth wrote:
> 
>> Am 05.10.2010 10:13, schrieb Jonas Maebe:
>>>
>>> A couple of days ago I fixed an error in svn trunk for ARMEL that caused
>>> the stack to become temporarily unbalanced after performing syscalls
>>> with 5 or more parameters (the bug is still there for OABI, but I can't
>>> fix that because I don't have access to an OABI machine).
>>
>> I have an ARM board with an OABI kernel running (because I wasn't yet 
>> eager enough to test how FPC behaves with an EABI uclibc ^^).
>>
>> If you can tell me what I need to look out for I might be able to help 
>> you there.
> 
> I now looked at the current actual code for OABI syscalls and it seems 
> that the problem does not happen there. For OABI, the quick-exit trick 
> is only used in a single stackframe-less function, and that's fine. 
> Sorry for the false alarm.

sorry for jumping in. I have a complex OABI application based on fpc 
2.2.x and I um using a syscall with 5 parameters heavily. I had no 
problems so far, the applications runs stable. I am worried now, if I 
should adapt the actual OABI code to the old RTL?

Regards, Bernd.




More information about the fpc-devel mailing list