+6
−0
Loading
The header was 4+4+unsigned long: 12 bytes on ppc, so every block sat at
16n+12 and malloc()/calloc()/realloc() returned pointers only 4-aligned,
below ppc32's alignof(double) and max_align_t (8). GObject aborted in
g_object_new() (g_object_is_aligned) on the nas-itx build; anything
storing doubles or 64-bit atomics in heap memory was affected. A uint64_t
in the union pads it to 16 bytes everywhere (static_assert'ed).
Co-Authored-By:
Claude Opus 5.5 <noreply@anthropic.com>