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]abstractInterpreter.hpp:230:50: error: ‘is_Java_byte_ordering_different’ is not a member of ‘Bytes’ #5

Open sendaoYan opened 3 days ago

sendaoYan commented 3 days 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/interpreter/cppInterpreter.hpp:28,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/interpreter/interpreter.hpp:29,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/runtime/frame.inline.hpp:30,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/prims/methodHandles.hpp:30,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/ci/ciMethod.hpp:33,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/code/debugInfoRec.hpp:30,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/ci/ciEnv.hpp:31,
                 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/share/vm/interpreter/abstractInterpreter.hpp: In static member function ‘static jint* AbstractInterpreter::int_addr_in_slot(intptr_t*)’:
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/interpreter/abstractInterpreter.hpp:230:50: error: ‘is_Java_byte_ordering_different’ is not a member of ‘Bytes’
  230 |     if ((int) sizeof(jint) < wordSize && !Bytes::is_Java_byte_ordering_different())
      |                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/interpreter/abstractInterpreter.hpp: At global scope:
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/interpreter/abstractInterpreter.hpp:286:3: error: ‘InterpreterMacroAssembler’ does not name a type
  286 |   InterpreterMacroAssembler* _masm;
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/asm/macroAssembler.hpp:49,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/interp_masm_riscv.hpp:30,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/interpreter/templateTable.hpp:38,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/interpreter/templateInterpreter.hpp:29,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/interpreter/interpreter.hpp:30:
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/macroAssembler_riscv.hpp:218:39: error: ‘DecoratorSet’ has not been declared
  218 |   void access_load_at(BasicType type, DecoratorSet decorators, Register dst,
      |                                       ^~~~~~~~~~~~

build-precompiled.log make-riscv64.log make-fastdebug-aarch64.log make-fastdebug-x86_64.log make-release-aarch64.log make-release-x86_64.log make-slowdebug-aarch64.log make-slowdebug-x86_64.log

sendaoYan commented 3 days ago
for i in `grep " TARGET_ARCH_MODEL_aarch64" * -rnl --exclude-dir=build` ; do aarch64=$(grep -c TARGET_ARCH_MODEL_aarch64 $i) ; riscv=$(grep -c TARGET_ARCH_MODEL_riscv $i) ; if [[ $aarch64 -ne $riscv ]] ; then echo $i ; fi ; done | xargs
sendaoYan commented 3 days ago

build-precompiled.log make-riscv64.log 5.patch To github.com:sendaoYan/riscv-port-jdk8u-ysd.git f71587e3aa0..aad7af533aa minus-jbs8276799 -> minus-jbs8276799