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

RISC-V: fix client build failure due to AlignVector after JDK-8343827

XMLWordPrintable

    • b02
    • riscv

        Failure as below:

        In file included from /home/hamlin/workspace/repos/github/jdk-master/src/hotspot/cpu/riscv/vm_version_riscv.hpp:33,
                         from /home/hamlin/workspace/repos/github/jdk-master/src/hotspot/share/runtime/vm_version.hpp:30,
                         from /home/hamlin/workspace/repos/github/jdk-master/src/hotspot/share/runtime/orderAccess.hpp:29,
                         from /home/hamlin/workspace/repos/github/jdk-master/src/hotspot/share/runtime/atomic.hpp:31,
                         from /home/hamlin/workspace/repos/github/jdk-master/src/hotspot/share/oops/oop.hpp:35,
                         from /home/hamlin/workspace/repos/github/jdk-master/src/hotspot/share/oops/weakHandle.hpp:28,
                         from /home/hamlin/workspace/repos/github/jdk-master/src/hotspot/share/classfile/classLoaderData.hpp:30,
                         from /home/hamlin/workspace/repos/github/jdk-master/src/hotspot/share/precompiled/precompiled.hpp:34:
        /home/hamlin/workspace/repos/github/jdk-master/src/hotspot/cpu/riscv/vm_version_riscv.cpp: In static member function ‘static void VM_Version::common_initialize()’:
        /home/hamlin/workspace/repos/github/jdk-master/src/hotspot/share/runtime/globals_extension.hpp:35:32: error: ‘Flag_AlignVector_enum’ was not declared in this scope; did you mean ‘Flag_LogEvents_enum’?
           35 | #define FLAG_MEMBER_ENUM(name) Flag_##name##_enum
              | ^~~~~
        /home/hamlin/workspace/repos/github/jdk-master/src/hotspot/share/runtime/globals_extension.hpp:77:60: note: in expansion of macro ‘FLAG_MEMBER_ENUM’
           77 | #define FLAG_IS_DEFAULT(name) (JVMFlag::is_default(FLAG_MEMBER_ENUM(name)))
              | ^~~~~~~~~~~~~~~~
        /home/hamlin/workspace/repos/github/jdk-master/src/hotspot/cpu/riscv/vm_version_riscv.cpp:157:7: note: in expansion of macro ‘FLAG_IS_DEFAULT’
          157 | if (FLAG_IS_DEFAULT(AlignVector)) {
              | ^~~~~~~~~~~~~~~
        /home/hamlin/workspace/repos/github/jdk-master/src/hotspot/cpu/riscv/vm_version_riscv.cpp:158:22: error: ‘AlignVector’ was not declared in this scope
          158 | FLAG_SET_DEFAULT(AlignVector, AvoidUnalignedAccesses);
              | ^~~~~~~~~~~
        /home/hamlin/workspace/repos/github/jdk-master/src/hotspot/share/runtime/globals_extension.hpp:82:41: note: in definition of macro ‘FLAG_SET_DEFAULT’
           82 | #define FLAG_SET_DEFAULT(name, value) ((name) = (value))
              | ^~~~

              mli Hamlin Li
              mli Hamlin Li
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: