https://github.com/AsahiLinux/docs/wiki/Broken-Software - quotes: "AArch64 machine can use 4K, 16K or 64K pages." "Though the default for AArch64 compilers is to produce ELF files with sections aligned to 64K for compatibility with all AArch64 machines"
It look like mingw is inconsistent with AArch64 standards, I think this should also be addressed with the upstream mingw project too.
Also 16k & 64k page alignment break Wine WoW for x86 binaries, but x86 PE support is out of scope for this PR.