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

Jonas Maebe jonas.maebe at elis.ugent.be
Wed Oct 13 13:04:08 CEST 2010


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.


Jonas



More information about the fpc-devel mailing list