sendaoYan / riscv-port-jdk8u-ysd

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

sharedRuntime_riscv.cpp:1620:8: error: ‘value’ was not declared in this scope #179

Open sendaoYan opened 2 months ago

sendaoYan commented 2 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/sharedRuntime_riscv.o.d -fpch-deps -o sharedRuntime_riscv.o /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/sharedRuntime_riscv.cpp'
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/sharedRuntime_riscv.cpp: In static member function ‘static nmethod* SharedRuntime::generate_native_wrapper(MacroAssembler*, methodHandle, int, BasicType*, VMRegPair*, BasicType)’:
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/sharedRuntime_riscv.cpp:1620:8: error: ‘value’ was not declared in this scope; did you mean ‘jvalue’?
 1620 |   beqz(value, done);           // Use NULL as-is.
      |        ^~~~~
      |        jvalue
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/sharedRuntime_riscv.cpp:1620:3: error: ‘beqz’ was not declared in this scope
 1620 |   beqz(value, done);           // Use NULL as-is.
      |   ^~~~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/sharedRuntime_riscv.cpp:1623:3: error: ‘andi’ was not declared in this scope
 1623 |   andi(t0, value, JNIHandles::weak_tag_mask);
      |   ^~~~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/sharedRuntime_riscv.cpp:1629:3: error: ‘ld’ was not declared in this scope; did you mean ‘l2d’?
 1629 |   ld(value, Address(value, -JNIHandles::weak_tag_value));  //TODO-RISCV64, imitate from aarch64, needed to be check
      |   ^~
      |   l2d
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/sharedRuntime_riscv.cpp:1630:3: error: ‘verify_oop’ was not declared in this scope; did you mean ‘VerifyOops’?
 1630 |   verify_oop(value);
      |   ^~~~~~~~~~
      |   VerifyOops
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/sharedRuntime_riscv.cpp:1642:7: error: ‘class MacroAssembler’ has no member named ‘b’
 1642 |    __ b(done);
      |       ^
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/sharedRuntime_riscv.cpp:1653:44: error: ‘pending_jni_exception_check_fn_offset’ is not a member of ‘JavaThread’
 1653 |     __ sd(zr, Address(xthread, JavaThread::pending_jni_exception_check_fn_offset()));
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

standalone.log 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

sendaoYan commented 2 months ago

standalone.log 179.patch

sendaoYan commented 2 months ago

To github.com:sendaoYan/riscv-port-jdk8u-ysd.git 653ef836bb..c8f03c1e82 minus-jbs8276799 -> minus-jbs8276799

sendaoYan commented 2 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