Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.


8261310: PPC64 Zero build fails with 'VMError::controlled_crash(int):…
Browse files Browse the repository at this point in the history
…:FunctionDescriptor functionDescriptor' has incomplete type and cannot be defined

Reviewed-by: stuefe, iklam
  • Loading branch information
shipilev committed Feb 15, 2021
1 parent c82a994 commit cc3417d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/utilities/vmError.cpp
Expand Up @@ -1795,7 +1795,7 @@ void VMError::controlled_crash(int how) {
char * const dataPtr = NULL; // bad data pointer
const void (*funcPtr)(void); // bad function pointer

#if defined(PPC64) && !defined(ABI_ELFv2)
#if defined(PPC64) && !defined(ABI_ELFv2) && !defined(ZERO)
struct FunctionDescriptor functionDescriptor;

functionDescriptor.set_entry((address) 0xF);
Expand Down

1 comment on commit cc3417d

Copy link

Choose a reason for hiding this comment

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

Please sign in to comment.