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: Resolved
  • Resolution: Fixed
  • Submitted: 2025-10-30
  • Updated: 2025-12-02
  • Resolved: 2025-11-24
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.
JDK 26
26 b26Fixed
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
Comments
Changeset: 67b57f4f Branch: master Author: Vladimir Petko <vpetko@openjdk.org> Committer: Aleksey Shipilev <shade@openjdk.org> Date: 2025-11-24 16:01:40 +0000 URL: https://git.openjdk.org/jdk/commit/67b57f4f758f2fea647a3b6a68c0372a8f9e121b
24-11-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/28406 Date: 2025-11-20 01:27:01 +0000
21-11-2025