#10509: Stack is not aligned ---------------------------+------------------------------ Reporter: pulkomandy | Owner: axeld Type: enhancement | Status: new Priority: normal | Milestone: Unscheduled Component: System/Kernel | Version: R1/Development Keywords: | Blocked By: Blocking: | Has a Patch: 0 Platform: x86 | ---------------------------+------------------------------ Our stack is aligned only on 8-byte. GCC sometimes generates code that assumes a 16-byte alignment, with instructions such as MOVDQA or MOVAPS. This leads to a "General Protection Fault" crash. This can be worked around with -mtackrealign, but this makes the code slower. Instead, we should fix all places where our code doesn't guarantee stack alignment. -- Ticket URL: <https://dev.haiku-os.org/ticket/10509> Haiku <https://dev.haiku-os.org> Haiku - the operating system.