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]macroAssembler_riscv.cpp:2260:37: error: ‘vtable_start_offset’ is not a member of ‘Klass’ #136

Open pengying-flora opened 1 month ago

pengying-flora commented 1 month 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/macroAssembler_riscv.o.d -fpch-deps -o macroAssembler_riscv.o /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/macroAssembler_riscv.cpp'
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/macroAssembler_riscv.cpp: In member function ‘void MacroAssembler::lookup_interface_method(Register, Register, RegisterOrConstant, Register, Register, Label&, bool)’:
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/macroAssembler_riscv.cpp:2260:37: error: ‘vtable_start_offset’ is not a member of ‘Klass’
 2260 |   int vtable_base = in_bytes(Klass::vtable_start_offset());
      |                                     ^~~~~~~~~~~~~~~~~~~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/macroAssembler_riscv.cpp:2263:34: error: ‘size_in_bytes’ is not a member of ‘vtableEntry’
 2263 |   int vte_size    = vtableEntry::size_in_bytes();
      |                                  ^~~~~~~~~~~~~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/macroAssembler_riscv.cpp:2266:44: error: ‘vtable_length_offset’ is not a member of ‘Klass’
 2266 |   lwu(scan_tmp, Address(recv_klass, Klass::vtable_length_offset()));
      |                                            ^~~~~~~~~~~~~~~~~~~~

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

pengying-flora commented 1 month ago

8148047: Move the vtable length field to Klass

pengying-flora commented 1 month ago

JDK-8148047.patch

pengying-flora commented 1 month ago

To github.com:sendaoYan/riscv-port-jdk8u-ysd.git dce3a297c6f..5b11fb44b77 minus-jbs8276799 -> minus-jbs8276799

pengying-flora commented 1 month ago

136.patch standalone.log

pengying-flora commented 1 month 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