8335801: [11u] Backport of 8210988 to 11u removes gcc warnings#2838
8335801: [11u] Backport of 8210988 to 11u removes gcc warnings#2838gnu-andrew wants to merge 3 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back andrew! A progress list of the required criteria for merging this PR into |
|
@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 no new commits pushed to the ➡️ To integrate this PR with the above commit message to the |
Webrevs
|
|
@gnu-andrew This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
|
Keep this open. Still waiting on a review. |
|
|
|
Thanks Paul! /approval request Resolves a regression introduced in 11.0.24 by a bad backport of 8210988 which removed all gcc warning flags, along with a number of other minor issues. Patch has been reviewed by Paul Hohensee. |
|
@gnu-andrew |
|
@gnu-andrew This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
|
It would be good to first wait on #2937 and merge that in so as to have fixed MacOX X GHA checks. |
Ok, but you do realise this is fixing a regression, not something new? This should really have been fixed in 11.0.25. We are currently building without any of the usual warnings turned on. |
|
@gnu-andrew This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
|
Merged with latest jdk11u-dev and tests passed. Merging. |
|
@gnu-andrew Pushed as commit c99638d. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
The backport of 8210988 contained a number of issues, the most serious of which is it completely removed warnings from
gccbuilds by changingWARNING_CFLAGS_JDKandWARNING_CFLAGS_JVM, but not definingWARNINGS_ENABLE_ALL,WARNINGS_ENABLE_ADDITIONAL_JVMandDISABLED_WARNINGS.The other more minor issues are the silent inclusion of
-Wreorderto clang builds (should be a backport of JDK-8208672) and-xc99=%none(reverting JDK-8215296), because new lines were used as is without comparing differences in what was being replaced.All three of these changes show up clearly when comparing the 11u & 12u changesets, and are corrected by this patch.
I can also confirm this has the desired effect with warnings as my local build on GCC 13 now fails again, whereas it was passing before (we need some backports there to make that work)
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk11u-dev.git pull/2838/head:pull/2838$ git checkout pull/2838Update a local copy of the PR:
$ git checkout pull/2838$ git pull https://git.openjdk.org/jdk11u-dev.git pull/2838/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 2838View PR using the GUI difftool:
$ git pr show -t 2838Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk11u-dev/pull/2838.diff
Using Webrev
Link to Webrev Comment