Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8287980

Build is broken due to SuperWordMaxVectorSize when C2 is disabled after JDK-8287697

XMLWordPrintable

    • b26

      Rerpoduce:
       configure --with-jvm-features=-compiler2 ..
       make images

      ```
      * For target hotspot_variant-server_libjvm_objs_vm_version_x86.o:
      In file included from /root/df/jdk/src/hotspot/cpu/x86/vm_version_x86.cpp:34:
      /root/df/jdk/src/hotspot/cpu/x86/vm_version_x86.cpp: In static member function 'static void VM_Version::get_processor_features()':
      /root/df/jdk/src/hotspot/share/runtime/globals_extension.hpp:35:32: error: 'Flag_SuperWordMaxVectorSize_enum' was not declared in this scope; did you mean 'Flag_MaxVectorSize_enum'?
         35 | #define FLAG_MEMBER_ENUM(name) Flag_##name##_enum
            | ^~~~~
      /root/df/jdk/src/hotspot/share/runtime/globals_extension.hpp:70:60: note: in expansion of macro 'FLAG_MEMBER_ENUM'
         70 | #define FLAG_IS_DEFAULT(name) (JVMFlag::is_default(FLAG_MEMBER_ENUM(name)))
            | ^~~~~~~~~~~~~~~~
      /root/df/jdk/src/hotspot/cpu/x86/vm_version_x86.cpp:1298:7: note: in expansion of macro 'FLAG_IS_DEFAULT'
       1298 | if (FLAG_IS_DEFAULT(SuperWordMaxVectorSize)) {
            | ^~~~~~~~~~~~~~~
      /root/df/jdk/src/hotspot/cpu/x86/vm_version_x86.cpp:1302:24: error: 'SuperWordMaxVectorSize' was not declared in this scope
       1302 | FLAG_SET_DEFAULT(SuperWordMaxVectorSize, MIN2(MaxVectorSize, (intx)32));
            | ^~~~~~~~~~~~~~~~~~~~~~
      /root/df/jdk/src/hotspot/share/runtime/globals_extension.hpp:75:41: note: in definition of macro 'FLAG_SET_DEFAULT'
         ... (rest of output omitted)
      ```

            jiefu Jie Fu
            jiefu Jie Fu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: