Open sendaoYan opened 4 months ago
++ arch ++ arch + cd build/linux-aarch64-normal-server-release/hotspot/linux_aarch64_compiler2/generated + bash -c '/home/yansendao/software/gcc/gcc-13.2.0-binary/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/type.o.d -fpch-deps -o type.o /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/opto/type.cpp' In constructor ‘TypeOopPtr::TypeOopPtr(Type::TYPES, TypePtr::PTR, ciKlass*, bool, ciObject*, int, int, const TypeOopPtr*, int)’, inlined from ‘TypeAryPtr::TypeAryPtr(TypePtr::PTR, ciObject*, const TypeAry*, ciKlass*, bool, int, int, bool, const TypeOopPtr*, int)’ at /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/opto/type.hpp:1094:39, inlined from ‘static const TypeAryPtr* TypeAryPtr::make(TypePtr::PTR, const TypeAry*, ciKlass*, bool, int, int, const TypeOopPtr*, int)’ at /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/opto/type.cpp:3745:115: /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/opto/type.cpp:2556:71: error: ‘this’ pointer is null [-Werror=nonnull] 2556 | ciInstanceKlass* k = o->as_instance()->java_lang_Class_klass()->as_instance_klass(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/ci/ciCallSite.hpp:28, from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/code/dependencies.hpp:28, from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/ci/ciEnv.hpp:32, 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, from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/opto/type.cpp:25: /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/ci/ciInstance.hpp: In function ‘static const TypeAryPtr* TypeAryPtr::make(TypePtr::PTR, const TypeAry*, ciKlass*, bool, int, int, const TypeOopPtr*, int)’: /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/ci/ciInstance.hpp:68:12: note: in a call to non-static member function ‘ciKlass* ciInstance::java_lang_Class_klass()’ 68 | ciKlass* java_lang_Class_klass(); | ^~~~~~~~~~~~~~~~~~~~~ In constructor ‘TypeOopPtr::TypeOopPtr(Type::TYPES, TypePtr::PTR, ciKlass*, bool, ciObject*, int, int, const TypeOopPtr*, int)’, inlined from ‘static const TypeOopPtr* TypeOopPtr::make(TypePtr::PTR, int, int, const TypeOopPtr*, int)’ at /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/opto/type.cpp:2591:108: /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/opto/type.cpp:2556:71: error: ‘this’ pointer is null [-Werror=nonnull] 2556 | ciInstanceKlass* k = o->as_instance()->java_lang_Class_klass()->as_instance_klass(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/ci/ciInstance.hpp: In static member function ‘static const TypeOopPtr* TypeOopPtr::make(TypePtr::PTR, int, int, const TypeOopPtr*, int)’: /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/ci/ciInstance.hpp:68:12: note: in a call to non-static member function ‘ciKlass* ciInstance::java_lang_Class_klass()’ 68 | ciKlass* java_lang_Class_klass(); | ^~~~~~~~~~~~~~~~~~~~~ In constructor ‘TypeOopPtr::TypeOopPtr(Type::TYPES, TypePtr::PTR, ciKlass*, bool, ciObject*, int, int, const TypeOopPtr*, int)’, inlined from ‘TypeAryPtr::TypeAryPtr(TypePtr::PTR, ciObject*, const TypeAry*, ciKlass*, bool, int, int, bool, const TypeOopPtr*, int)’ at /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/opto/type.hpp:1094:39, inlined from ‘static const TypeAryPtr* TypeAryPtr::make(TypePtr::PTR, const TypeAry*, ciKlass*, bool, int, int, const TypeOopPtr*, int)’ at /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/opto/type.cpp:3745:115: /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/opto/type.cpp:2556:71: error: ‘this’ pointer is null [-Werror=nonnull] 2556 | ciInstanceKlass* k = o->as_instance()->java_lang_Class_klass()->as_instance_klass(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/ci/ciInstance.hpp: In static member function ‘static const TypeAryPtr* TypeAryPtr::make(TypePtr::PTR, const TypeAry*, ciKlass*, bool, int, int, const TypeOopPtr*, int)’: /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/ci/ciInstance.hpp:68:12: note: in a call to non-static member function ‘ciKlass* ciInstance::java_lang_Class_klass()’ 68 | ciKlass* java_lang_Class_klass(); | ^~~~~~~~~~~~~~~~~~~~~ cc1plus: all warnings being treated as errors
make-gcc13-aarch64-fastdebug.log make-gcc13-aarch64-release.log make-gcc13-aarch64-slowdebug.log make-gcc13-riscv64-fastdebug.log make-gcc13-riscv64-release.log make-gcc13-riscv64-slowdebug.log make-gcc13-x86_64-fastdebug.log make-gcc13-x86_64-release.log make-gcc13-x86_64-slowdebug.log make-riscv64-fastdebug.log make-riscv64-release.log make-riscv64-slowdebug.log standalone.log
git apply ~/compiler-test/openjdk/patchs/JDK-8255466-8u.patch
make-gcc13-aarch64-fastdebug.log make-gcc13-aarch64-release.log make-gcc13-aarch64-slowdebug.log make-gcc13-riscv64-fastdebug.log make-gcc13-riscv64-release.log make-gcc13-riscv64-slowdebug.log make-gcc13-x86_64-fastdebug.log make-gcc13-x86_64-release.log make-gcc13-x86_64-slowdebug.log
make-gcc13-aarch64-fastdebug.log make-gcc13-aarch64-release.log make-gcc13-aarch64-slowdebug.log make-gcc13-riscv64-fastdebug.log make-gcc13-riscv64-release.log make-gcc13-riscv64-slowdebug.log make-gcc13-x86_64-fastdebug.log make-gcc13-x86_64-release.log make-gcc13-x86_64-slowdebug.log make-riscv64-fastdebug.log make-riscv64-release.log make-riscv64-slowdebug.log standalone.log