Lazarus

Installation => macOS / Mac OS X => Topic started by: trev on May 04, 2022, 12:53:58 pm

Title: warning: arm64 function not 4-byte aligned
Post by: trev on May 04, 2022, 12:53:58 pm
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

Should I be worried?

[Lazarus main and FPC main from shortly before this post]
Title: Re: warning: arm64 function not 4-byte aligned
Post by: PascalDragon on May 04, 2022, 01:19:47 pm
Considering that ARM64 instructions are 4 Byte in length it is indeed rather strange if the entry point isn't 4 Byte aligned :o
TinyPortal © 2005-2018