sendaoYan / riscv-port-jdk8u-ysd

https://openjdk.org/projects/riscv-port
GNU General Public License v2.0
0 stars 0 forks source link

[riscv64-8u]interp_masm_riscv.cpp:878:30: error: ‘interpreter_frame_mdp_offset’ is not a member of ‘frame’ #105

Open sendaoYan opened 3 months ago

sendaoYan commented 3 months ago
+ cd build/linux-riscv64-normal-server-release/hotspot/linux_riscv_compiler2/generated
+ bash -c '/usr/bin/g++ -DLINUX -D_GNU_SOURCE -DRISCV64 -DPRODUCT -I. -I/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/prims -I/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm -I/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/precompiled -I/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm -I/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/os_cpu/linux_riscv/vm -I/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/os/linux/vm -I/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/os/posix/vm -I../generated -DHOTSPOT_RELEASE_VERSION="\"25.412-b00\"" -DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"yansendao\"" -DHOTSPOT_LIB_ARCH=\"riscv64\" -DHOTSPOT_VM_DISTRO="\"OpenJDK\""  -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_riscv -DTARGET_ARCH_MODEL_riscv -DTARGET_OS_ARCH_linux_riscv -DTARGET_OS_ARCH_MODEL_linux_riscv64 -DTARGET_COMPILER_gcc -DINCLUDE_JFR=1 -DCOMPILER2 -DCOMPILER1 -fPIC -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden  -pipe -fno-strict-aliasing  -fno-omit-frame-pointer -O3  -g -DVM_LITTLE_ENDIAN -D_LP64=1 -Werror -Wpointer-arith -Wsign-compare -Wundef -Wunused-function -Wunused-value -Wformat=2 -Wreturn-type   -fstack-protector  -fno-delete-null-pointer-checks -fno-lifetime-dse -std=gnu++98 -DDTRACE_ENABLED -c -MMD -MP -MF ../generated/dependencies/interp_masm_riscv.o.d -fpch-deps -o interp_masm_riscv.o /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/interp_masm_riscv.cpp'
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/interp_masm_riscv.cpp: In member function ‘void InterpreterMacroAssembler::test_method_data_pointer(Register, Label&)’:
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/interp_masm_riscv.cpp:878:30: error: ‘interpreter_frame_mdp_offset’ is not a member of ‘frame’
  878 |   ld(mdp, Address(fp, frame::interpreter_frame_mdp_offset * wordSize));
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/interp_masm_riscv.cpp: In member function ‘void InterpreterMacroAssembler::set_method_data_pointer_for_bcp()’:
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/interp_masm_riscv.cpp:897:30: error: ‘interpreter_frame_mdp_offset’ is not a member of ‘frame’
  897 |   sd(x10, Address(fp, frame::interpreter_frame_mdp_offset * wordSize));
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/interp_masm_riscv.cpp: In member function ‘void InterpreterMacroAssembler::update_mdp_by_offset(Register, int)’:
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/interp_masm_riscv.cpp:1022:33: error: ‘interpreter_frame_mdp_offset’ is not a member of ‘frame’
 1022 |   sd(mdp_in, Address(fp, frame::interpreter_frame_mdp_offset * wordSize));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/interp_masm_riscv.cpp: In member function ‘void InterpreterMacroAssembler::update_mdp_by_offset(Register, Register, int)’:
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/interp_masm_riscv.cpp:1032:33: error: ‘interpreter_frame_mdp_offset’ is not a member of ‘frame’
 1032 |   sd(mdp_in, Address(fp, frame::interpreter_frame_mdp_offset * wordSize));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/interp_masm_riscv.cpp: In member function ‘void InterpreterMacroAssembler::update_mdp_by_constant(Register, int)’:
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/interp_masm_riscv.cpp:1040:33: error: ‘interpreter_frame_mdp_offset’ is not a member of ‘frame’
 1040 |   sd(mdp_in, Address(fp, frame::interpreter_frame_mdp_offset * wordSize));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/interp_masm_riscv.cpp: In member function ‘void InterpreterMacroAssembler::profile_arguments_type(Register, Register, Register, bool)’:
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/interp_masm_riscv.cpp:1774:34: error: ‘interpreter_frame_mdp_offset’ is not a member of ‘frame’
 1774 |       sd(mdp, Address(fp, frame::interpreter_frame_mdp_offset * wordSize));
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

make-gcc10-riscv64-fastdebug.log make-gcc10-riscv64-release.log make-gcc10-riscv64-slowdebug.log make-gcc13-aarch64-fastdebug.log make-gcc13-aarch64-release.log make-gcc13-aarch64-slowdebug.log make-gcc13-riscv64-fastdebug.log make-gcc13-riscv64-release.log make-gcc13-riscv64-slowdebug.log make-gcc13-x86_64-fastdebug.log make-gcc13-x86_64-release.log make-gcc13-x86_64-slowdebug.log standalone.log

sendaoYan commented 3 months ago

8068054: AARCH64: Assembler interpreter, shared runtime

sendaoYan commented 3 months ago

在jdk8u里面是frame::interpreter_frame_mdx_offset,在jdk9u以上的版本里是frame::interpreter_frame_mdp_offset。找不到是哪个commit,把mdx换成mdp的

sendaoYan commented 3 months ago

8004128: NPG: remove stackwalking in Threads::gc_prologue and gc_epilogue code JDK-8004128.patch

sendaoYan commented 3 months ago

standalone.log 105.patch

sendaoYan commented 3 months ago

To github.com:sendaoYan/riscv-port-jdk8u-ysd.git 1a1b8c33a5b..b39be4a2534 minus-jbs8276799 -> minus-jbs8276799

sendaoYan commented 3 months ago

make-gcc10-aarch64-fastdebug.log make-gcc10-aarch64-release.log make-gcc10-aarch64-slowdebug.log make-gcc10-riscv64-fastdebug.log make-gcc10-riscv64-release.log make-gcc10-riscv64-slowdebug.log make-gcc10-x86_64-fastdebug.log make-gcc10-x86_64-release.log make-gcc10-x86_64-slowdebug.log make-gcc13-aarch64-fastdebug.log make-gcc13-aarch64-release.log make-gcc13-aarch64-slowdebug.log make-gcc13-riscv64-fastdebug.log make-gcc13-riscv64-release.log make-gcc13-riscv64-slowdebug.log make-gcc13-x86_64-fastdebug.log make-gcc13-x86_64-release.log make-gcc13-x86_64-slowdebug.log standalone.log