-
Bug
-
Resolution: Fixed
-
P4
-
20
-
b15
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;
| ^~
```
```
* 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;
| ^~
```
- relates to
-
JDK-8293344 JDK-8242181 broke stack printing for non-attached threads
-
- Resolved
-