sendaoYan / riscv-port-jdk8u-ysd

https://openjdk.org/projects/riscv-port
GNU General Public License v2.0
0 stars 0 forks source link

os_linux_riscv.cpp:93:6: error: no declaration matches ‘void os::Linux::ucontext_set_pc(ucontext_t*, address)’ #162

Open sendaoYan opened 1 month ago

sendaoYan commented 1 month ago
+ cd build/linux-riscv64-normal-server-release/hotspot/linux_riscv_compiler2/generated
+ bash -c '/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/os_linux_riscv.o.d -fpch-deps -o os_linux_riscv.o /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/os_cpu/linux_riscv/vm/os_linux_riscv.cpp'
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/os_cpu/linux_riscv/vm/os_linux_riscv.cpp:93:6: error: no declaration matches ‘void os::Linux::ucontext_set_pc(ucontext_t*, address)’
   93 | void os::Linux::ucontext_set_pc(ucontext_t * uc, address pc) {
      |      ^~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/os_cpu/linux_riscv/vm/os_linux_riscv.cpp:93:6: note: no functions named ‘void os::Linux::ucontext_set_pc(ucontext_t*, address)’
In file included from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/runtime/os.hpp:839,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/os_cpu/linux_riscv/vm/atomic_linux_riscv.inline.hpp:30,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/runtime/atomic.inline.hpp:50,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/memory/allocation.inline.hpp:28,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/utilities/array.hpp:29,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/memory/universe.hpp:29,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/code/oopRecorder.hpp:28,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/asm/assembler.hpp:28,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/asm/macroAssembler.hpp:28,
                 from /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/os_cpu/linux_riscv/vm/os_linux_riscv.cpp:27:
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/os/linux/vm/os_linux.hpp:36:7: note: ‘class os::Linux’ defined here
   36 | class Linux {
      |       ^~~~~

standalone.log make-gcc10-aarch64-fastdebug.log make-gcc10-aarch64-release.log make-gcc10-aarch64-slowdebug.log make-gcc10-riscv64-fastdebug.log make-gcc10-riscv64-release.log make-gcc10-riscv64-slowdebug.log make-gcc10-x86_64-fastdebug.log make-gcc10-x86_64-release.log make-gcc10-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

sendaoYan commented 1 month ago

8075860: aarch64: jdk9/dev fails to build

sendaoYan commented 1 month ago

JDK-8075860.patch

sendaoYan commented 1 month ago

162.patch standalone.log

sendaoYan commented 1 month ago

To github.com:sendaoYan/riscv-port-jdk8u-ysd.git 430574debf9..071df32ce14 minus-jbs8276799 -> minus-jbs8276799

pengying-flora commented 1 month ago

make-gcc10-aarch64-fastdebug.log make-gcc10-aarch64-release.log make-gcc10-aarch64-slowdebug.log make-gcc10-riscv64-fastdebug.log make-gcc10-riscv64-release.log make-gcc10-riscv64-slowdebug.log make-gcc10-x86_64-fastdebug.log make-gcc10-x86_64-release.log make-gcc10-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

pengying-flora commented 1 month ago

make-gcc10-aarch64-fastdebug.log make-gcc10-aarch64-release.log make-gcc10-aarch64-slowdebug.log make-gcc10-riscv64-fastdebug.log make-gcc10-riscv64-release.log make-gcc10-riscv64-slowdebug.log make-gcc10-x86_64-fastdebug.log make-gcc10-x86_64-release.log make-gcc10-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 standalone.log