[fpc-pascal] System call ABI problem on ppc Linux
    Marco van de Voort 
    marcov at stack.nl
       
    Tue Dec  5 14:55:41 CET 2017
    
    
  
In our previous episode, Tobias Giesen said:
> 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
I replied. Roughly anything with an 64-bit argument, (typically off_t) most
notably mmap.
    
    
More information about the fpc-pascal
mailing list