Ok, it is a seven years old issue. Now closed, but the bug is still there. Will FPC change it in the future?
It was not a bug (as I see it).
It was a compilation issue.
When FPC was recompiled with a certain switch, the problem went away.
I got it fpc compiled properly once I got all the make parameters right. It seems it boils down to that I thought OPT parameters for make where cumulative.
Thanks for your help. The bug can be closed.
I'm not sure why it was not done originally.
Maybe if you mention the OS, someone can take a look.
(I don't have aarch64, either Mac or Linux)