- 
    Type:
Bug
 - 
    Resolution: Unresolved
 - 
    Priority:
  P4                     
     - 
    Affects Version/s: 26
 - 
    Component/s: hotspot
 
                    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
----
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
- caused by
 - 
                    
JDK-8351149 Remove dead IA32/X32/!AMD64 code blocks after 32-bit x86 removal
-         
     - Resolved
 
 -