sendaoYan / riscv-port-jdk8u-ysd

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

[slowdebug]macroAssembler_riscv.cpp:2037:15: error: ‘masm’ was not declared in this scope #222

Open sendaoYan opened 2 weeks ago

sendaoYan commented 2 weeks ago
+ cd build/linux-riscv64-normal-server-slowdebug/hotspot/linux_riscv64_compiler2/generated
+ bash -c '/usr/bin/g++ -DLINUX -D_GNU_SOURCE -DRISCV64 -DASSERT -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="\"debug\"" -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  -g -D_NMT_NOINLINE_ -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'
In file included from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/runtime/globals.hpp:28,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/memory/allocation.hpp:28,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/memory/iterator.hpp:28,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/memory/genOopClosures.hpp:28,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/oops/klass.hpp:28,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/runtime/handles.hpp:28,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/memory/universe.hpp:28,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/code/oopRecorder.hpp:28,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/asm/assembler.hpp:28,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/precompiled/precompiled.hpp:29,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/macroAssembler_riscv.cpp:27:
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/macroAssembler_riscv.cpp: In member function ‘void MacroAssembler::g1_write_barrier_pre(Register, Register, Register, Register, bool, bool)’:
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/macroAssembler_riscv.cpp:2037:15: error: ‘masm’ was not declared in this scope; did you mean ‘ma’?
 2037 |   assert_cond(masm != NULL);
      |               ^~~~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/utilities/debug.hpp:117:9: note: in definition of macro ‘assert’
  117 |   if (!(p)) {                                                                \
      |         ^
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/macroAssembler_riscv.cpp:2037:3: note: in expansion of macro ‘assert_cond’
 2037 |   assert_cond(masm != NULL);
      |   ^~~~~~~~~~~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/macroAssembler_riscv.cpp: In member function ‘void MacroAssembler::g1_write_barrier_post(Register, Register, Register, Register, Register)’:
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/macroAssembler_riscv.cpp:2158:15: error: ‘CardTable’ has not been declared
 2158 |   assert((int)CardTable::dirty_card_val() == 0, "must be 0");
      |               ^~~~~~~~~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/utilities/debug.hpp:117:9: note: in definition of macro ‘assert’
  117 |   if (!(p)) {                                                                \
      |         ^
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/macroAssembler_riscv.cpp: In member function ‘void MacroAssembler::string_indexof_linearscan(Register, Register, Register, Register, Register, Register, Register, Register, int, Register, int)’:
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/macroAssembler_riscv.cpp:5051:34: error: ‘LU’ is not a member of ‘StrIntrinsicNode’
 5051 |   assert(ae != StrIntrinsicNode::LU, "Invalid encoding");
      |                                  ^~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/utilities/debug.hpp:117:9: note: in definition of macro ‘assert’
  117 |   if (!(p)) {                                                                \
      |         ^

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

sendaoYan commented 2 weeks ago

standalone.log 222.patch To github.com:sendaoYan/riscv-port-jdk8u-ysd.git e331d944b1..445a1677de minus-jbs8276799 -> minus-jbs8276799

sendaoYan commented 2 weeks ago

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