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]riscv.ad:1118:7: error: ‘StackReservedPages’ was not declared in this scope #24

Open sendaoYan opened 3 months ago

sendaoYan commented 3 months ago
+ cd build/linux-riscv64-normal-server-release/hotspot/linux_riscv_compiler2/generated
+ /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/ad_riscv.o.d -fpch-deps -o ad_riscv-tmp.o ../generated/adfiles/ad_riscv.cpp
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/riscv.ad: In member function ‘virtual void MachEpilogNode::emit(CodeBuffer&, PhaseRegAlloc*) const’:
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/riscv.ad:1118:7: error: ‘StackReservedPages’ was not declared in this scope; did you mean ‘pd_StackReservedPages’?
 1118 |   if (StackReservedPages > 0 && C->has_reserved_stack_access()) {
      |       ^~~~~~~~~~~~~~~~~~
      |       pd_StackReservedPages
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/riscv.ad:1118:36: error: ‘class Compile’ has no member named ‘has_reserved_stack_access’
 1118 |   if (StackReservedPages > 0 && C->has_reserved_stack_access()) {
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/riscv.ad: At global scope:
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/riscv.ad:1471:12: error: no declaration matches ‘const bool Matcher::match_rule_supported_vector(int, int)’
 1471 | const bool Matcher::match_rule_supported_vector(int opcode, int vlen) {
      |            ^~~~~~~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/riscv.ad:1471:12: note: no functions named ‘const bool Matcher::match_rule_supported_vector(int, int)’
In file included from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/opto/machnode.hpp:29,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/precompiled/precompiled.hpp:272,
                 from ../generated/adfiles/ad_riscv.cpp:29:
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/opto/matcher.hpp:41:7: note: ‘class Matcher’ defined here
   41 | class Matcher : public PhaseTransform {
      |       ^~~~~~~

ad_riscv.log make-fastdebug-aarch64.log make-fastdebug-x86_64.log make-release-aarch64.log make-release-x86_64.log make-riscv64.log make-slowdebug-aarch64.log make-slowdebug-x86_64.log

sendaoYan commented 3 months ago

8172144: AArch64: Implement "JEP 270: Reserved Stack Areas for Critical Sections"

sendaoYan commented 3 months ago

24.patch ad_riscv.log make-riscv64.log To github.com:sendaoYan/riscv-port-jdk8u-ysd.git 0bbcd709b94..a3ddc841045 minus-jbs8276799 -> minus-jbs8276799

sendaoYan commented 3 months ago

ad_riscv.log make-fastdebug-aarch64.log make-fastdebug-x86_64.log make-release-aarch64.log make-release-x86_64.log make-riscv64.log make-slowdebug-aarch64.log make-slowdebug-x86_64.log