[Bug 22316] Wine should be built with -mincoming-stack-boundary=2

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jul 12 14:01:10 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=22316

--- Comment #14 from Mike Frysinger <vapier at gentoo.org> 2011-07-12 14:01:10 CDT ---
the gcc PR mentioned in comment #1 says the Linux ABI is (being updated to
say?) 16 bytes.  the man page also indicates that 4 byte is legacy and 16 byte
is modern.  and further, the man page says that it realigns the stack only when
needed.  so i dont understand why this would be unacceptable to the wine devs
as it doesnt affect code output if no SSE code is generated that needs 16byte
alignment.

-mstackrealign
    Realign the stack at entry.  On the Intel x86, the -mstackrealign option
    will generate an alternate prologue and epilogue that realigns the runtime
    stack if necessary.  This supports mixing legacy codes that keep a 4-byte
    aligned stack with modern codes that keep a 16-byte stack for SSE
    compatibility.  See also the attribute "force_align_arg_pointer",
    applicable to individual functions.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list