dragonwell-releng / issues-repo

0 stars 0 forks source link

[riscv64-8u]frame_riscv.hpp:197:15: error: ‘static jint frame::interpreter_frame_expression_stack_direction()’ cannot be overloaded with ‘static jint frame::interpreter_frame_expression_stack_direction()’ #73

Open sendaoYan opened 5 months ago

sendaoYan commented 5 months ago
/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/precompiled.hpp.gch.d -fpch-deps -x c++-header /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/precompiled/precompiled.hpp -o precompiled.hpp.gch && { echo Done with /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/precompiled/precompiled.hpp; }
In file included from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/runtime/frame.hpp:498,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/prims/jvmtiExport.hpp:33,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/runtime/thread.hpp:32,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/runtime/thread.inline.hpp:30,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/memory/resourceArea.hpp:29,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/classfile/classFileParser.hpp:29,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/classfile/classLoader.hpp:28,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/classfile/systemDictionary.hpp:29,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/ci/ciEnv.hpp:30,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/ci/ciUtilities.hpp:28,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/ci/ciNullObject.hpp:30,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/ci/ciConstant.hpp:29,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/ci/ciArray.hpp:29,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/precompiled/precompiled.hpp:33:
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/frame_riscv.hpp:197:15: error: ‘static jint frame::interpreter_frame_expression_stack_direction()’ cannot be overloaded with ‘static jint frame::interpreter_frame_expression_stack_direction()’
  197 |   static jint interpreter_frame_expression_stack_direction() { return -1; }
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

build-precompiled.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 5 months ago

8199809: Don't include frame.inline.hpp and other.inline.hpp from .hpp files

sendaoYan commented 5 months ago

JDK-8199809.patch files.log

sendaoYan commented 5 months ago

src/hotspot/cpu/riscv/c1_LIRAssembler_riscv.cpp src/hotspot/cpu/riscv/frame_riscv.hpp src/hotspot/cpu/riscv/frame_riscv.inline.hpp src/hotspot/cpu/riscv/interp_masm_riscv.cpp src/hotspot/cpu/riscv/interpreterRT_riscv.cpp src/hotspot/cpu/riscv/interpreterRT_riscv.hpp src/hotspot/cpu/riscv/jvmciCodeInstaller_riscv.cpp src/hotspot/cpu/riscv/methodHandles_riscv.cpp src/hotspot/cpu/riscv/templateTable_riscv.cpp src/hotspot/os_cpu/linux_riscv/thread_linux_riscv.cpp src/hotspot/os_cpu/linux_riscv/thread_linux_riscv.hpp

sendaoYan commented 5 months ago
grep aarch64 ~/Downloads/files.log | awk '{print $3}' | sed "s|a/||" | sed "s|aarch64|riscv|g" | sed "s|src/hotspot/cpu|hotspot/src/cpu|g" | sed "s|hotspot/src/cpu/riscv|hotspot/src/cpu/riscv/vm|" | sed "s|src/hotspot/os_cpu/linux_riscv|hotspot/src/os_cpu/linux_riscv/vm|"

hotspot/src/cpu/riscv/vm/c1_LIRAssembler_riscv.cpp hotspot/src/cpu/riscv/vm/frame_riscv.hpp hotspot/src/cpu/riscv/vm/frame_riscv.inline.hpp hotspot/src/cpu/riscv/vm/interp_masm_riscv.cpp hotspot/src/cpu/riscv/vm/interpreterRT_riscv.cpp hotspot/src/cpu/riscv/vm/interpreterRT_riscv.hpp hotspot/src/cpu/riscv/vm/jvmciCodeInstaller_riscv.cpp hotspot/src/cpu/riscv/vm/methodHandles_riscv.cpp hotspot/src/cpu/riscv/vm/templateTable_riscv.cpp hotspot/src/os_cpu/linux_riscv/vm/thread_linux_riscv.cpp hotspot/src/os_cpu/linux_riscv/vm/thread_linux_riscv.hpp

sendaoYan commented 5 months ago

hotspot/src/cpu/riscv/vm/jvmciCodeInstaller_riscv.cpp 8u没有这个文件

sendaoYan commented 5 months ago

build-precompiled.log make-riscv64.log 73.patch To github.com:sendaoYan/riscv-port-jdk8u-ysd.git fa0f07d396f..282d9b43e58 minus-jbs8276799 -> minus-jbs8276799