dragonwell-releng / issues-repo

0 stars 0 forks source link

[riscv64-8u]c1_LIR.hpp:2185:71: error: 'lir_neg' was not declared #51

Open sendaoYan opened 2 weeks ago

sendaoYan commented 2 weeks ago
/opt/rh/devtoolset-10/root/usr/bin/g++ -DLINUX -D_GNU_SOURCE -DAARCH64 -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/aarch64/vm -I/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/os_cpu/linux_aarch64/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=\"aarch64\" -DHOTSPOT_VM_DISTRO="\"OpenJDK\""  -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_aarch64 -DTARGET_ARCH_MODEL_aarch64 -DTARGET_OS_ARCH_linux_aarch64 -DTARGET_OS_ARCH_MODEL_linux_aarch64 -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 -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 
In file included from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/c1/c1_FrameMap.hpp:30,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/precompiled/precompiled.hpp:292:
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/c1/c1_LIR.hpp: In member function 'void LIR_List::negate(LIR_Opr, LIR_Opr)':
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/c1/c1_LIR.hpp:2185:71: error: 'lir_neg' was not declared in this scope; did you mean 'lir_log'?
 2185 |   void negate(LIR_Opr from, LIR_Opr to)          { append(new LIR_Op1(lir_neg, from, to)); }
      |                                                                       ^~~~~~~
      |                                                                       lir_log
gmake[6]: *** [precompiled.hpp.gch] Error 1

make-aarch64.log make-x86_64.log

sendaoYan commented 2 weeks ago
diff --git a/hotspot/src/share/vm/c1/c1_LIR.hpp b/hotspot/src/share/vm/c1/c1_LIR.hpp
index a49490a7eb9..04e8175e22f 100644
--- a/hotspot/src/share/vm/c1/c1_LIR.hpp
+++ b/hotspot/src/share/vm/c1/c1_LIR.hpp
@@ -924,6 +924,7 @@ enum LIR_Code {
       , lir_null_check
       , lir_return
       , lir_leal
+      , lir_neg
       , lir_move
       , lir_prefetchr
       , lir_prefetchw
sendaoYan commented 2 weeks ago

To github.com:sendaoYan/riscv-port-jdk8u-ysd.git 41e63525186..6684ec88ed1 minus-jbs8276799 -> minus-jbs8276799