-
Notifications
You must be signed in to change notification settings - Fork 5.8k
8258856: VM build without C1/C2 fails after JDK-8243205 #1876
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
The declaration sites for JVM flags were changed by JDK-8243205 and the subsequent JDK-8258074. As a result, undeclared identifier errors occurred while building VM without compiler1 or compiler2 feature. Making the corresponding header files included would fix it.
👋 Welcome back shqking! A progress list of the required criteria for merging this PR into |
/label add build |
@shqking |
Webrevs
|
Check the compilation condition INCLUDE_JVMCI before trying to include the header file, i.e. jvmci_globals.hpp, for stubGenerator_x86_64.cpp In jvmciCompilerToVMInit.cpp, remove the redundant header jvmci_globals.hpp since it is already included by compiler_globals.hpp Change-Id: I8858d4ca94b6d12396db6bbebf226b351b5f230a CustomizedGitHooks: yes
Check the compilation condition INCLUDE_JVMCI before trying to include the header file, i.e. jvmci_globals.hpp, for oopMap.cpp Change-Id: I9885291d9f971984d83942669a22ee030722a206 CustomizedGitHooks: yes
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.
LGTM
Thanks for the update.
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.
Good.
@shqking 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 6 new commits 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 (@DamonFool, @vnkozlov) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
/integrate |
/sponsor |
@DamonFool @shqking Since your change was applied there have been 7 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit cdb487a. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Just an observation but it seems to me that if we are not including C1 or C2 in a build (ie interpreter-only) then really the build system should not be building the source files that had to be fixed. David |
Hi David, However, the build failures this patch aimed to address are 'server build without C1 feature' and 'server build without C2 feature'. As stated in JDK-8258856, the build failures can be reproduced by Hope that I made myself understood. Thanks. |
Mailing list message from David Holmes on build-dev: Hi Hao, On 24/12/2020 4:56 pm, Hao Sun wrote:
Sorry I did misunderstand the context of the problem. And my comment was David |
The declaration sites for JVM flags were changed by JDK-8243205 and the
subsequent JDK-8258074. As a result, undeclared identifier errors
occurred while building VM without compiler1 or compiler2 feature.
Making the corresponding header files included would fix it.
Note that we have tested locally with this patch, build without C1/C2 succeeded on Linux X86/AArch64 machines.
Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jdk pull/1876/head:pull/1876
$ git checkout pull/1876