-
Notifications
You must be signed in to change notification settings - Fork 234
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
8335801: [11u] Backport of 8210988 to 11u removes gcc warnings #2838
base: master
Are you sure you want to change the base?
Conversation
👋 Welcome back andrew! A progress list of the required criteria for merging this PR into |
❗ This change is not yet ready to be integrated. |
@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! |
The backport of 8210988 contained a number of issues, the most serious of which is it completely removed warnings from
gcc
builds by changingWARNING_CFLAGS_JDK
andWARNING_CFLAGS_JVM
, but not definingWARNINGS_ENABLE_ALL
,WARNINGS_ENABLE_ADDITIONAL_JVM
andDISABLED_WARNINGS
.The other more minor issues are the silent inclusion of
-Wreorder
to 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
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk11u-dev.git pull/2838/head:pull/2838
$ git checkout pull/2838
Update a local copy of the PR:
$ git checkout pull/2838
$ git pull https://git.openjdk.org/jdk11u-dev.git pull/2838/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 2838
View PR using the GUI difftool:
$ git pr show -t 2838
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk11u-dev/pull/2838.diff
Webrev
Link to Webrev Comment