Skip to content

Make sure the i386 sysv stack is aligned #219

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 28, 2023
Merged

Make sure the i386 sysv stack is aligned #219

merged 1 commit into from
Jan 28, 2023

Conversation

nielsdos
Copy link
Contributor

The previous fix #218 had a typo in which the wrong offset was used which meant that the alignment still wasn't correct. Fix this properly now.

Sorry for this mistake, my testing didn't catch this because I set it up wrongly. This PR properly fixes the alignment and fixes the bug the original PR was meant to fix.

The previous fix had a typo in which the wrong offset was used which
meant that the alignment still wasn't correct. Fix this properly now.
@olk olk merged commit 072846b into boostorg:develop Jan 28, 2023
nielsdos added a commit to nielsdos/php-src that referenced this pull request Jan 28, 2023
Fixes phpGH-10398

The stack was misaligned upon entering the trampoline function [1], this
causes a CPU trap when the SSE instruction is executed to copy data from
the stack. This was fixed upstream [2]. This commit syncs all upstream
changes from the boost/context assembly files to our copy.

[1] php#10407 (comment)
[2] boostorg/context#219
devnexen pushed a commit to php/php-src that referenced this pull request Feb 5, 2023
Fixes GH-10398

The stack was misaligned upon entering the trampoline function [1], this
causes a CPU trap when the SSE instruction is executed to copy data from
the stack. This was fixed upstream [2]. This commit syncs all upstream
changes from the boost/context assembly files to our copy.

[1] #10407 (comment)
[2] boostorg/context#219

Closes GH-10407.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants