Forum > macOS / Mac OS X

warning: arm64 function not 4-byte aligned

(1/1)

trev:

--- Quote ---Compile Project, Target: /Users/trev/Documents/laz_dock_icon_badge/project1: Success, Errors: 2
Error: ld: warning: arm64 function not 4-byte aligned: _main from /Users/trev/Documents/laz_dock_icon_badge/lib/aarch64-darwin/project1.o
Error: ld: warning: arm64 function not 4-byte aligned: _PASCALMAIN from /Users/trev/Documents/laz_dock_icon_badge/lib/aarch64-darwin/project1.o
--- End quote ---

Should I be worried?

[Lazarus main and FPC main from shortly before this post]

PascalDragon:
Considering that ARM64 instructions are 4 Byte in length it is indeed rather strange if the entry point isn't 4 Byte aligned :o

Navigation

[0] Message Index

Go to full version