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

8292361: Build failure on PPC64 BE after JDK-8290840 #9876

Closed
wants to merge 1 commit into from

Conversation

shipilev
Copy link
Member

@shipilev shipilev commented Aug 15, 2022

The only platform where this reproduces seems to be ppc64be. ppc64le builds fine.

* For target hotspot_variant-server_libjvm_objs_abstractInterpreter.o:
In file included from /home/buildbot/worker/build-jdkX-debian11/build/src/hotspot/share/runtime/os.inline.hpp:31,
                 from /home/buildbot/worker/build-jdkX-debian11/build/src/hotspot/cpu/ppc/macroAssembler_ppc.inline.hpp:37,
                 from /home/buildbot/worker/build-jdkX-debian11/build/src/hotspot/share/asm/macroAssembler.inline.hpp:30,
                 from /home/buildbot/worker/build-jdkX-debian11/build/src/hotspot/share/interpreter/abstractInterpreter.cpp:27:
/home/buildbot/worker/build-jdkX-debian11/build/src/hotspot/os_cpu/linux_ppc/os_linux_ppc.inline.hpp: In static member function 'static void* os::resolve_function_descriptor(void*)':
/home/buildbot/worker/build-jdkX-debian11/build/src/hotspot/os_cpu/linux_ppc/os_linux_ppc.inline.hpp:35:50: error: cannot call member function 'void* os::Linux::resolve_function_descriptor(void*)' without object
   35 |   return os::Linux::resolve_function_descriptor(p);
      |                                                  ^

I think we can make it go away if you make sure that resolve_function_descriptor is universally declared as static. os_aix.hpp and os.hpp already do that. This patch fixes the third declaration.

Additional testing:

  • linux-x86_64-server-fastdebug build
  • linux-x86_64-zero-fastdebug build
  • linux-x86-server-fastdebug build
  • linux-aarch64-server-fastdebug cross-build
  • linux-arm-server-fastdebug cross-build
  • linux-riscv64-server-fastdebug cross-build
  • linux-s390x-server-fastdebug cross-build
  • linux-ppc64le-server-fastdebug cross-build
  • linux-ppc64-server-fastdebug cross-build (now passes)

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

Issue

  • JDK-8292361: Build failure on PPC64 BE after JDK-8290840

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk pull/9876/head:pull/9876
$ git checkout pull/9876

Update a local copy of the PR:
$ git checkout pull/9876
$ git pull https://git.openjdk.org/jdk pull/9876/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 9876

View PR using the GUI difftool:
$ git pr show -t 9876

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/9876.diff

@bridgekeeper
Copy link

bridgekeeper bot commented Aug 15, 2022

👋 Welcome back shade! 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 openjdk bot added the rfr Pull request is ready for review label Aug 15, 2022
@openjdk
Copy link

openjdk bot commented Aug 15, 2022

@shipilev The following label will be automatically applied to this pull request:

  • hotspot-runtime

When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command.

@openjdk openjdk bot added the hotspot-runtime hotspot-runtime-dev@openjdk.org label Aug 15, 2022
@mlbridge
Copy link

mlbridge bot commented Aug 15, 2022

Webrevs

@shipilev
Copy link
Member Author

shipilev commented Aug 16, 2022

Paging @iklam ;)

@openjdk
Copy link

openjdk bot commented Aug 16, 2022

@shipilev 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:

8292361: Build failure on PPC64 BE after JDK-8290840

Reviewed-by: stefank, stuefe

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 14 new commits pushed to the master branch:

  • 4cc6cb9: 8290041: ModuleDescriptor.hashCode is inconsistent
  • d1edda8: 8292338: aarch64: Use cbnz instruction in gen_continuation_enter when possible
  • 21f4eb2: 6521141: DebugGraphics NPE @ setFont();
  • 6e6ae59: 8292286: Convert PlaceholderTable to ResourceHashtable
  • ea2c82e: 8291949: Unexpected extending of SupportedGroups
  • b5707b0: 8292196: Reduce runtime of java.util.regex microbenchmarks
  • b00eede: 8291511: Redefinition of EXIT_FAILURE in libw2k_lsa_auth
  • 3a09077: 8291337: Reduce runtime of vm.lamdba microbenchmarks
  • dd2034b: 8291972: Fix double copy of arguments when thawing two interpreted frames
  • aa5b718: 8292182: [TESTLIB] Enhance JAXPPolicyManager to setup required permissions for jtreg version 7 jar
  • ... and 4 more: https://git.openjdk.org/jdk/compare/e89abb7d2d902c6e6b3c9953fc6663de10db77b9...master

As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

➡️ To integrate this PR with the above commit message to the master branch, type /integrate in a new comment.

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Aug 16, 2022
Copy link
Member

@tstuefe tstuefe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and trivial.

..Thomas

@shipilev
Copy link
Member Author

Thank you!

/integrate

@openjdk
Copy link

openjdk bot commented Aug 16, 2022

Going to push as commit ec53fba.
Since your change was applied there have been 14 commits pushed to the master branch:

  • 4cc6cb9: 8290041: ModuleDescriptor.hashCode is inconsistent
  • d1edda8: 8292338: aarch64: Use cbnz instruction in gen_continuation_enter when possible
  • 21f4eb2: 6521141: DebugGraphics NPE @ setFont();
  • 6e6ae59: 8292286: Convert PlaceholderTable to ResourceHashtable
  • ea2c82e: 8291949: Unexpected extending of SupportedGroups
  • b5707b0: 8292196: Reduce runtime of java.util.regex microbenchmarks
  • b00eede: 8291511: Redefinition of EXIT_FAILURE in libw2k_lsa_auth
  • 3a09077: 8291337: Reduce runtime of vm.lamdba microbenchmarks
  • dd2034b: 8291972: Fix double copy of arguments when thawing two interpreted frames
  • aa5b718: 8292182: [TESTLIB] Enhance JAXPPolicyManager to setup required permissions for jtreg version 7 jar
  • ... and 4 more: https://git.openjdk.org/jdk/compare/e89abb7d2d902c6e6b3c9953fc6663de10db77b9...master

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label Aug 16, 2022
@openjdk openjdk bot closed this Aug 16, 2022
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review labels Aug 16, 2022
@openjdk
Copy link

openjdk bot commented Aug 16, 2022

@shipilev Pushed as commit ec53fba.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

@shipilev shipilev deleted the JDK-8292361-ppc64be-build branch September 5, 2022 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hotspot-runtime hotspot-runtime-dev@openjdk.org integrated Pull request has been integrated
Development

Successfully merging this pull request may close these issues.

3 participants