-
Notifications
You must be signed in to change notification settings - Fork 236
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
8282231: x86-32: runtime call to SharedRuntime::ldiv corrupts registers #1017
Conversation
👋 Welcome back andrew! A progress list of the required criteria for merging this PR into |
This backport pull request has now been updated with issue from the original commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
@gnu-andrew This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 8 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ To integrate this PR with the above commit message to the |
@gnu-andrew, what testing have you done? Are the GHA sufficient to excercise this code? |
This has been in Fedora for two months now, with each build doing a full bootstrap of the JDK on x86_32. Without this fix, 11u builds encounter register corruption as the XMM registers are not saved, only The bug has been there a long time. I suspect it has just not been encountered more due to luck than anything else. Newer compilers seem to be exercising the XMM registers more; a similar problem on Windows - https://mail.openjdk.java.net/pipermail/jdk8u-dev/2021-October/014379.html - led to their use being turned off. |
I see |
/integrate |
Going to push as commit 7b84611.
Your commit was automatically rebased without conflicts. |
@gnu-andrew Pushed as commit 7b84611. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Same issue with register corruption is present on 11u and causes builds to fail when using GCC 12.
The backport has been in our Fedora RPMs for some time in order to fix this build failure and we've not seen any issues.
Backport was mostly clean, bar the copyright header change.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk11u-dev pull/1017/head:pull/1017
$ git checkout pull/1017
Update a local copy of the PR:
$ git checkout pull/1017
$ git pull https://git.openjdk.java.net/jdk11u-dev pull/1017/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 1017
View PR using the GUI difftool:
$ git pr show -t 1017
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk11u-dev/pull/1017.diff