--- dyninst-11.0.0/dyninst-11.0.0/elf/src/Elf_X.C.orig 2021-04-08 16:48:12.000000000 -0400 +++ dyninst-11.0.0/dyninst-11.0.0/elf/src/Elf_X.C 2021-05-20 11:20:23.204539567 -0400 @@ -1803,2 +1803,5 @@ #endif +#if !defined(EM_AMDGPU) +#define EM_AMDGPU 224 +#endif Dyninst::Architecture Elf_X::getArch() const --- dyninst-11.0.0/dyninst-11.0.0/dwarf/src/dwarfHandle.C.orig 2021-04-08 16:48:12.000000000 -0400 +++ dyninst-11.0.0/dyninst-11.0.0/dwarf/src/dwarfHandle.C 2021-05-20 11:31:17.752268907 -0400 @@ -52,2 +52,5 @@ #endif +#if !defined(EM_AMDGPU) +#define EM_AMDGPU 224 +#endif