#10509: Stack is not aligned -----------------------------+---------------------------- Reporter: pulkomandy | Owner: axeld Type: enhancement | Status: new Priority: normal | Milestone: R1/alpha5 Component: System/Kernel | Version: R1/Development Resolution: | Keywords: Blocked By: | Blocking: Has a Patch: 0 | Platform: x86 -----------------------------+---------------------------- Comment (by pdziepak): Fortunately, System V ABI for x86_64 states explicitly what the alignment requirement is: The end of the input argument area shall be aligned on a 16 byte boundary. Apparently, that's exactly the same requirement we have for i386 (well, that's hardly surprising) and means that we need to subtract 8 from the initial stack pointer returned by `arch_randomize_stack_pointer`. -- Ticket URL: <https://dev.haiku-os.org/ticket/10509#comment:9> Haiku <https://dev.haiku-os.org> Haiku - the operating system.