-
Notifications
You must be signed in to change notification settings - Fork 231
8324243: Compilation failures in java.desktop module with gcc 14 #2468
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
Conversation
Reviewed-by: jwaters, ihse, kbarrett, prr
|
👋 Welcome back jkratochvil! A progress list of the required criteria for merging this PR into |
|
@jankratochvil This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. 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 1 new commit pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@TheRealMDoerr) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
|
This backport pull request has now been updated with issue from the original commit. |
| HARFBUZZ_DISABLED_WARNINGS_CXX_gcc := reorder delete-non-virtual-dtor strict-overflow \ | ||
| maybe-uninitialized class-memaccess unused-result extra use-after-free noexcept-type \ | ||
| expansion-to-defined dangling-reference | ||
| expansion-to-defined dangling-reference calloc-transposed-args |
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.
Can you include openjdk/jdk@ec79ab4, please, such that the code looks like the upstream version?
And consider using "/issue add JDK-8319268". GCC8 should still be supported.
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.
I would like to backport it separately. The list of versions affected is different and moreover I do not have the problem reproducible. I have tried devtoolset-8-gcc-8.3.1-3.2.el7.x86_64 (CentOS-7) and gcc-8.3.0.tar.xz (rebuilt from source). I have tried to build this branch https://github.com/jankratochvil/jdk17u-dev/tree/8324243 .
Filed as #2475 .
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.
Even better. Thanks! This should make this backport clean and no longer require a review. And it will make future backports which touch this code clean, too.
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.
Now it should look like: openjdk/jdk@8e5f6dd
It was later reformatted a bit but that is a different patch: openjdk/jdk@d292aab#diff-c75e2d581b3730cf900075cedb66ac72eaba40fbbd92eaac5710161830b572b4
TheRealMDoerr
left a comment
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.
Thanks! Looks good, now.
|
/integrate |
|
@jankratochvil This pull request has not yet been marked as ready for integration. |
|
/integrate |
|
@jankratochvil |
|
/sponsor |
|
@TheRealMDoerr @jankratochvil Pushed as commit 0e524e2. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
It is needed to build OpenJDK-17 on Fedora 40 x86_64 (gcc-14.1.1-1.fc40.x86_64).
It needs all of JDK-8328997 (backport), JDK-8331352 (backport) and JDK-8324243 (this backport).
Git cherry-pick was not clean but it was easy to apply.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk17u-dev.git pull/2468/head:pull/2468$ git checkout pull/2468Update a local copy of the PR:
$ git checkout pull/2468$ git pull https://git.openjdk.org/jdk17u-dev.git pull/2468/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 2468View PR using the GUI difftool:
$ git pr show -t 2468Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk17u-dev/pull/2468.diff
Webrev
Link to Webrev Comment