JDK-8211272 : x86_32 build failures after JDK-8210764 (Update avx512 implementation)
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 11,12
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-09-28
  • Updated: 2019-08-15
  • Resolved: 2018-09-28
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 11
11.0.2Fixed
Related Reports
Relates :  
Description
x86_32:

* For target hotspot_variant-server_libjvm_objs_c1_LIRAssembler_x86.o:
/pool/buildbot/slaves/sobornost/jdkX/build/src/hotspot/cpu/x86/c1_LIRAssembler_x86.cpp: In member function 'void LIR_Assembler::intrinsic_op(LIR_Code, LIR_Opr, LIR_Opr, LIR_Opr, LIR_Op*)':
/pool/buildbot/slaves/sobornost/jdkX/build/src/hotspot/cpu/x86/c1_LIRAssembler_x86.cpp:2399:11: error: enumeration value 'lir_none' not handled in switch [-Werror=switch]
     switch(code) {
           ^

The reported trouble is mishandled switch, but the actual reason is control flow problem with _LP64 disabled:

      case lir_abs :
        {
#ifdef _LP64
          if (UseAVX > 2 && !VM_Version::supports_avx512vl()) {
             ...
          } else {   ; <----- this open brace should show up on !_LP64 path
#endif
         ...
          }
        }

Comments
Fix Request: we need to integrate all the 3 fixes JDK-8210764, JDK-8211272, and JDK-8211251 together as they depend on each other. Read backport justification in main JDK-8210764
26-10-2018