Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gnu-andrew
Copy link
Member

@gnu-andrew gnu-andrew commented Jul 6, 2024

The backport of 8210988 contained a number of issues, the most serious of which is it completely removed warnings from gcc builds by changing WARNING_CFLAGS_JDK and WARNING_CFLAGS_JVM, but not defining WARNINGS_ENABLE_ALL, WARNINGS_ENABLE_ADDITIONAL_JVM and DISABLED_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

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • JDK-8335801 needs maintainer approval

Issue

  • JDK-8335801: [11u] Backport of 8210988 to 11u removes gcc warnings (Bug - P4 - Requested)

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

@bridgekeeper
Copy link

bridgekeeper bot commented Jul 6, 2024

👋 Welcome back andrew! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk
Copy link

openjdk bot commented Jul 6, 2024

❗ This change is not yet ready to be integrated.
See the Progress checklist in the description for automated requirements.

@openjdk openjdk bot added the rfr Pull request is ready for review label Jul 6, 2024
@mlbridge
Copy link

mlbridge bot commented Jul 6, 2024

Webrevs

@bridgekeeper
Copy link

bridgekeeper bot commented Aug 3, 2024

@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!

@gnu-andrew
Copy link
Member Author

Keep this open. Still waiting on a review.

@openjdk
Copy link

openjdk bot commented Aug 15, 2024

⚠️ @gnu-andrew This change is now ready for you to apply for maintainer approval. This can be done directly in each associated issue or by using the /approval command.

@gnu-andrew
Copy link
Member Author

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.

@openjdk
Copy link

openjdk bot commented Aug 27, 2024

@gnu-andrew
8335801: The approval request has been created successfully.

@openjdk openjdk bot added the approval label Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approval rfr Pull request is ready for review
Development

Successfully merging this pull request may close these issues.

2 participants