-
Notifications
You must be signed in to change notification settings - Fork 6k
8355570: [s390x] Update -march to z13 generation #24869
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
base: master
Are you sure you want to change the base?
Conversation
👋 Welcome back amitkumar! A progress list of the required criteria for merging this PR into |
@offamitkumar This change is no longer ready for integration - check the PR body for details. |
@offamitkumar The following label will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command. |
Webrevs
|
That's weird, the build for s390x is failing in cross compile:
I tested on my system and tier1 test were totally fine, Head stream build is not broken for s390x. |
This is a failure when building the gtest framework. Could this different arch flag be sensitive to different gcc versions? When you say you tested locally, what gcc version did you use? |
This is the config: gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04) |
GHA is using gcc 10.5.0 and it does not work. Maybe you can try building locally with 10.5.0 and see if you can reproduce the problem? Otherwise I have no suggestions to offer. But if you want to integrate this change, it cannot break GHA. |
Just one thing I am not able to understand. How does changing the minimum-architecture will results into this build failure. GHA is using same gcc for other PRs as well and they are totally working fine. And in this PR I haven't interfered with GCC at all. If any error then I was expecting more of running into SIGILL but certainly not a compile failure. |
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.
This is an overdue change, I agree.
BUT: I would like to see successful PRODUCT tests. This change enables new gcc optimizations which fully kick in only in the release build.
Out of curiosity: do you see any performance gain?
This PR interferes with gcc by means of modified parameters. Do the change incrementally to find the culprit. Annoying, but necessary.
locally both fastdebug + release builds are totally fine, I did build + tier1 test run and didn't see any issue.
I haven't ran any benchmarks yet, just trying to figure out the reason of build failure. |
Ok. I am able to reproduce the error locally now. But I am not sure how we should proceed. I asked in my team and they suggested to disable the warnings. Because it is only caused by the older gcc compiler. As I mentioned as well, that with my current local setup(gcc-11.4) I don't see these warnings. |
It looks like the failure was in gtest code. We have recently upgraded to a new version of googletest. Maybe you should just merge with master and try again? |
@magicus, still the error is there:
|
updated march level from z10 to z13.
Testing: tier1 (fastdebug-vm)
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/24869/head:pull/24869
$ git checkout pull/24869
Update a local copy of the PR:
$ git checkout pull/24869
$ git pull https://git.openjdk.org/jdk.git pull/24869/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 24869
View PR using the GUI difftool:
$ git pr show -t 24869
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/24869.diff
Using Webrev
Link to Webrev Comment