JDK-8370978 : Zero JVM fails to build on i386 after JDK-8351149
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 26
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2025-10-30
  • Updated: 2025-11-03
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.
Other
tbdUnresolved
Related Reports
Causes :  
Description
JEP 501[1] states that Zero will be still buildable for i386 platform:
----
After the 32-bit x86 port is removed, the architecture-agnostic Zero port will be the only way to run Java programs on 32-bit x86 processors.
----
Building Zero fails on i386 with the following error:

=== Output from failing command(s) repeated here ===
* For target hotspot_variant-zero_libjvm_objs_os_linux.o:
/build/reproducible-path/openjdk-26-26~22ea/src/hotspot/os/linux/os_linux.cpp:1831:6: error: #error Method os::dll_load requires that one of following is defined: AARCH64, ALPHA, ARM, AMD64, LOONGARCH64, M68K, MIPS, MIPSEL, PARISC, __powerpc__, __powerpc64__, RISCV, S390, SH, __sparc
 1831 |     #error Method os::dll_load requires that one of following is defined:\
      |      ^~~~~
/build/reproducible-path/openjdk-26-26~22ea/src/hotspot/os/linux/os_linux.cpp: In static member function ‘static void* os::dll_load(const char*, char*, int)’:
/build/reproducible-path/openjdk-26-26~22ea/src/hotspot/os/linux/os_linux.cpp:1842:9: error: ‘running_arch_code’ was not declared in this scope; did you mean ‘running_arch_index’?
 1842 |     if (running_arch_code == arch_array[i].code) {
      |         ^~~~~~~~~~~~~~~~~
      |         running_arch_index

* All command lines available in /build/reproducible-path/openjdk-26-26~22ea/build/make-support/failure-logs.
=== End of repeated output ===

[1] https://openjdk.org/jeps/501