[fpc-devel] i386-linux switched to a 16 byte aligned stack

Henry Vermaak henry.vermaak at gmail.com
Mon Sep 16 17:34:32 CEST 2019


On Mon, 16 Sep 2019 at 14:58, Ben Grasset <operator97 at gmail.com> wrote:
> On Sun, Sep 15, 2019 at 1:36 PM Florian Klämpfl <florian at freepascal.org> wrote:
>> In r43005 to 43014 I committed a couple of patches so FPC generates
>> stack frames aligned to 16 byte boundaries on i386-linux
>
> Good change! Means, for example, the long-standing issues with popular libraries like SDL2 on 32-bit Linux won't be a problem anymore.

Wow, I almost forgot about this train wreck.  For us it was opencv and
we luckily had our own library between fpc and opencv so we could add
-mstackrealign.

Henry


More information about the fpc-devel mailing list