Please consider applying this patch to enable build on arm64 (aarch64) architectures.
I added aarch64 support in git (95d807e9). Please test.
Maarten: I have applied your patch in Ubuntu, and it successfully built on arm64. Note that openmsx-catapult also needs to be fixed.
Catapult should be working now too, please confirm.
I don't have aarch64 hardware to test it on, but a similar patch was applied in Ubuntu, so it should work.
Then we can only assume it works... I'll close this ticket.