RFR: 8242244: Remove redundant ELF machine definitions

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Tue Apr 28 10:52:15 UTC 2020


Hi!

On 4/28/20 12:33 PM, Dmitry Chuyko wrote:
> I have following error during the build of 15 tip:
> 
> * For target hotspot_variant-server_libjvm_objs_os_linux.o:
> jdk/src/hotspot/os/linux/os_linux.cpp: In static member function 'static void* os::dll_load(const char*, char*, int)':
> jdk/src/hotspot/os/linux/os_linux.cpp:1854:6: error: 'EM_486' was not declared in this scope
>      {EM_486,         EM_386,     ELFCLASS32, ELFDATA2LSB, (char*)"IA 32"},
>       ^~~~~~
> jdk/src/hotspot/os/linux/os_linux.cpp:1854:6: note: suggested alternative: 'EM_386'
>      {EM_486,         EM_386,     ELFCLASS32, ELFDATA2LSB, (char*)"IA 32"},
>       ^~~~~~
>       EM_386
> 
> It happens on CenOS 8 and Ubuntu 20.04 (kernel headers installed), aarch64 and amd64.
I have opened a bug for the issue [1].

Will publish the fix suggested by Ao Qi once you can confirm it fixes the problem
for you.

Adrian

> [1] https://bugs.openjdk.java.net/browse/JDK-8243998

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


More information about the hotspot-dev mailing list