dragonwell-releng / issues-repo

0 stars 0 forks source link

[riscv64-8u]javaFrameAnchor.hpp:101:52: error: ‘clear’ was not declared in this scope #74

Open sendaoYan opened 1 week ago

sendaoYan commented 1 week 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/thread.hpp:34,
                 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/share/vm/runtime/javaFrameAnchor.hpp: In constructor ‘JavaFrameAnchor::JavaFrameAnchor()’:
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/runtime/javaFrameAnchor.hpp:101:52: error: ‘clear’ was not declared in this scope
  101 |   JavaFrameAnchor()                              { clear(); }
      |                                                    ^~~~~

build-precompiled.log make-riscv64.log

sendaoYan commented 1 week ago

8161258: Simplify including platform files

sendaoYan commented 1 week ago
grep "^diff --git" ~/compiler-test/openjdk/patchs/riscv64/JDK-8161258.patch | awk '{print $3}' | sed "s|a/||" > /tmp/files.log ; for i in {aarch64,ppc,riscv,sparc,x86,zero} ; do sed -i "/\/$i\//d" /tmp/files.log ; sed -i "/_$i\//d" /tmp/files.log ; done
while read i ; do if test -f $i ; then if grep -q aarch64 $i ; then grep -q riscv $i || echo $i ; fi ; fi ; done < /tmp/files.log
sendaoYan commented 1 week ago

hotspot/src/share/vm/asm/assembler.inline.hpp hotspot/src/share/vm/asm/codeBuffer.hpp hotspot/src/share/vm/asm/macroAssembler.hpp hotspot/src/share/vm/asm/macroAssembler.inline.hpp hotspot/src/share/vm/asm/register.hpp hotspot/src/share/vm/c1/c1_Defs.hpp hotspot/src/share/vm/c1/c1_FpuStackSim.hpp hotspot/src/share/vm/c1/c1_FrameMap.hpp hotspot/src/share/vm/c1/c1_LIRAssembler.hpp hotspot/src/share/vm/c1/c1_LinearScan.hpp hotspot/src/share/vm/c1/c1_MacroAssembler.hpp hotspot/src/share/vm/c1/c1_globals.hpp hotspot/src/share/vm/code/vmreg.hpp hotspot/src/share/vm/compiler/disassembler.cpp hotspot/src/share/vm/compiler/disassembler.hpp hotspot/src/share/vm/interpreter/bytecodeInterpreter.hpp hotspot/src/share/vm/interpreter/bytecodeInterpreter.inline.hpp hotspot/src/share/vm/interpreter/cppInterpreter.hpp hotspot/src/share/vm/interpreter/interpreterRuntime.hpp hotspot/src/share/vm/interpreter/templateTable.hpp hotspot/src/share/vm/opto/c2_globals.hpp hotspot/src/share/vm/prims/methodHandles.hpp hotspot/src/share/vm/runtime/atomic.inline.hpp hotspot/src/share/vm/runtime/frame.inline.hpp hotspot/src/share/vm/runtime/icache.hpp hotspot/src/share/vm/runtime/javaCalls.hpp hotspot/src/share/vm/runtime/orderAccess.inline.hpp hotspot/src/share/vm/runtime/os.hpp hotspot/src/share/vm/runtime/prefetch.inline.hpp hotspot/src/share/vm/runtime/stubRoutines.hpp hotspot/src/share/vm/runtime/thread.hpp hotspot/src/share/vm/runtime/vmStructs.cpp hotspot/src/share/vm/utilities/copy.hpp hotspot/src/share/vm/utilities/globalDefinitions.hpp

sendaoYan commented 1 week ago

To github.com:sendaoYan/riscv-port-jdk8u-ysd.git 282d9b43e58..9152eb54be9 minus-jbs8276799 -> minus-jbs8276799