JDK-8293680 : PPC64BE build failure after JDK-8293344
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 20
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-09-13
  • Updated: 2022-09-19
  • Resolved: 2022-09-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 20
20 b15Fixed
Related Reports
Relates :  
Description
The bug manifests on PPC64, since `section_by_name` is protected by `#if defined(PPC64) && !defined(ABI_ELFv2)`:

```
* For target hotspot_variant-server_libjvm_objs_elfFile.o:
/home/shade/trunks/jdk/src/hotspot/share/utilities/elfFile.cpp: In member function 'int ElfFile::section_by_name(const char*, Elf_Shdr&)':
/home/shade/trunks/jdk/src/hotspot/share/utilities/elfFile.cpp:261:16: error: aggregate 'ResourceMark rm' has incomplete type and cannot be defined
  261 |   ResourceMark rm;
      |                ^~
```
Comments
Changeset: b3461c18 Author: Aleksey Shipilev <shade@openjdk.org> Date: 2022-09-14 05:37:34 +0000 URL: https://git.openjdk.org/jdk/commit/b3461c188a1d364a71e2ef7f6b2ccc29dd3ac66f
14-09-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/10247 Date: 2022-09-13 06:55:34 +0000
13-09-2022