[fpc-pascal] System call ABI problem on ppc Linux

Tobias Giesen tobiasgiesen at gmail.com
Tue Dec 5 00:02:19 CET 2017


Hello,

I just filed a bug report about FpFtruncate passing the parameters incorrectly to the
system. For example, setting a file size to $D would cause the file to have the size
$D 0000 000D. Apparently the conditional define FPC_ABI_EABI would fix it, but what
other impact does it have?

I wonder which other system calls might be affected? My application seems to work
fine except for this function.

https://bugs.freepascal.org/view.php?id=32772

Cheers,
Tobias





More information about the fpc-pascal mailing list