Ara
Download

Search or run a command

Jump to a section or open an Ara link.

Diagnostic code · ARA-EXP-AND-024

ELF load alignment invalid

An ELF load segment has insufficient/non-power-of-two alignment or incompatible file and virtual-address offsets. Verification fails: Android requires 16,384-byte alignment; the shared Linux audit uses this same code with 4,096 bytes.

Common causes

  • A native image was linked with incompatible page-size settings or has malformed load-segment metadata.

Fixes

  • For Android, rebuild the offending template or library with NDK r28+ and linker option -Wl,-z,max-page-size=16384.

  • For Linux, rebuild the image with the pinned ara-zigcc lane and inspect the alignment value named by the diagnostic.

  • Code: ARA-EXP-AND-024 (slot 8067)

  • Constant: export::AND_024

  • Reported by: ara-export