-
Notifications
You must be signed in to change notification settings - Fork 171
8324184: Windows VS2010 build failed with "error C2275: 'int64_t'" #435
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
|
👋 Welcome back andrew! A progress list of the required criteria for merging this PR into |
|
This backport pull request has now been updated with issue from the original commit. |
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.
Looks fine.
|
|
|
/approval request Additional change from the January security update which fixes new code introduced by a security patch to compile on older C compilers that require declarations to precede statements in a block. Patch applies clean and fixes the Windows x86 (VS2010) build failure we are seeing in GHA. |
|
@gnu-andrew |
Thanks Severin. The Linux test failures seem to be sporadic gc failures unrelated to this change. |
|
@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 |
|
/integrate |
|
Going to push as commit 4a69ad2. |
|
@gnu-andrew Pushed as commit 4a69ad2. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Hi all,
This pull request contains a backport of commit 4d078930 from the openjdk/jdk21u repository & the clean backport commit 4f80edf from 17u, also now in 11u. A new bug ID, JDK-8324184, had to be created as JDK-8317331, the original bug, is private.
The commit being backported was authored by Coleen Phillimore on 2 Oct 2023 and had no reviewers.
The backport fixes the VS2010 build which is broken by the placing of the declarations of
low,highandindexin JDK-8314295 after statements; see https://github.com/gnu-andrew/jdk8u-dev/actions/runs/7549766959/job/20554342418. This positioning is disallowed by C90.Adding
-Werror=declaration-after-statementto the build flags replicated the failure on GCC 8. I will look at adding this to the build in a follow-up fix. It also needs a number of other changes to fix Linux-specific code which has never been built to this standard.Backport was clean and built fine on GNU/Linux with GCC 8.
Thanks!
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk8u-dev.git pull/435/head:pull/435$ git checkout pull/435Update a local copy of the PR:
$ git checkout pull/435$ git pull https://git.openjdk.org/jdk8u-dev.git pull/435/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 435View PR using the GUI difftool:
$ git pr show -t 435Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk8u-dev/pull/435.diff
Webrev
Link to Webrev Comment