git: 602c26c14599 - main - java/openjdk8: fix runtime issues on powerpc64*
Piotr Kubaj
pkubaj at FreeBSD.org
Fri Sep 3 13:24:20 UTC 2021
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=602c26c14599438bee8f29d7bdaf0f445ff7eca8
commit 602c26c14599438bee8f29d7bdaf0f445ff7eca8
Author: Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-09-03 13:19:12 +0000
Commit: Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-09-03 13:19:12 +0000
java/openjdk8: fix runtime issues on powerpc64*
Running java or javac executables fails with:
Error: dl failure on line 910
Error: failed /usr/local/openjdk8/jre/lib/ppc64le/server/libjvm.so, because /usr/local/openjdk8/jre/lib/ppc64le/server/libjvm.so: Undefined symbol "_ZN5frameC1EPlPh"
---
java/openjdk8/Makefile | 2 +-
.../patch-hotspot_src_os__cpu_bsd__ppc_vm_thread__bsd__ppc.cpp | 9 +++++++++
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/java/openjdk8/Makefile b/java/openjdk8/Makefile
index 4b12d763aa22..5152fe2aed34 100644
--- a/java/openjdk8/Makefile
+++ b/java/openjdk8/Makefile
@@ -1,6 +1,6 @@
PORTNAME= openjdk
PORTVERSION= ${JDK_MAJOR_VERSION}.${JDK_UPDATE_VERSION}.${JDK_BUILD_NUMBER}.${BSD_JDK_VERSION}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= java devel
MASTER_SITES= LOCAL/jkim:jtreg
PKGNAMESUFFIX?= ${JDK_MAJOR_VERSION}
diff --git a/java/openjdk8/files/patch-hotspot_src_os__cpu_bsd__ppc_vm_thread__bsd__ppc.cpp b/java/openjdk8/files/patch-hotspot_src_os__cpu_bsd__ppc_vm_thread__bsd__ppc.cpp
index ec6dbea73cc9..ca52c0579b39 100644
--- a/java/openjdk8/files/patch-hotspot_src_os__cpu_bsd__ppc_vm_thread__bsd__ppc.cpp
+++ b/java/openjdk8/files/patch-hotspot_src_os__cpu_bsd__ppc_vm_thread__bsd__ppc.cpp
@@ -1,5 +1,14 @@
--- hotspot/src/os_cpu/bsd_ppc/vm/thread_bsd_ppc.cpp.orig 2021-08-04 17:59:22 UTC
+++ hotspot/src/os_cpu/bsd_ppc/vm/thread_bsd_ppc.cpp
+@@ -24,7 +24,7 @@
+ */
+
+ #include "precompiled.hpp"
+-#include "runtime/frame.hpp"
++#include "runtime/frame.inline.hpp"
+ #include "runtime/thread.hpp"
+
+ bool JavaThread::pd_get_top_frame_for_profiling(frame* fr_addr, void* ucontext, bool isInJava) {
@@ -42,7 +42,7 @@ bool JavaThread::pd_get_top_frame_for_profiling(frame*
// if we were running Java code when SIGPROF came in.
if (isInJava) {
More information about the dev-commits-ports-all
mailing list