pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/openjdk8



Module Name:    pkgsrc
Committed By:   tnn
Date:           Sun Jul 17 03:03:41 UTC 2022

Modified Files:
        pkgsrc/lang/openjdk8: distinfo
        pkgsrc/lang/openjdk8/patches:
            patch-hotspot_src_os__cpu_bsd__aarch64_vm_os__bsd__aarch64.cpp
Added Files:
        pkgsrc/lang/openjdk8/patches:
            patch-hotspot_src_cpu_aarch64_vm_pauth__aarch64.hpp

Log Message:
openjdk8: fix NetBSD/evbarm-aarch64 build; PAC is only supported on Linux


To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 pkgsrc/lang/openjdk8/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/lang/openjdk8/patches/patch-hotspot_src_cpu_aarch64_vm_pauth__aarch64.hpp
cvs rdiff -u -r1.2 -r1.3 \
    pkgsrc/lang/openjdk8/patches/patch-hotspot_src_os__cpu_bsd__aarch64_vm_os__bsd__aarch64.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/openjdk8/distinfo
diff -u pkgsrc/lang/openjdk8/distinfo:1.89 pkgsrc/lang/openjdk8/distinfo:1.90
--- pkgsrc/lang/openjdk8/distinfo:1.89  Sun Jul 10 14:47:24 2022
+++ pkgsrc/lang/openjdk8/distinfo       Sun Jul 17 03:03:41 2022
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.89 2022/07/10 14:47:24 ryoon Exp $
+$NetBSD: distinfo,v 1.90 2022/07/17 03:03:41 tnn Exp $
 
 BLAKE2s (openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz) = 8745b980e290e509c0dd09706398b89afce85fee1405b9367b6684c83d56b96a
 SHA512 (openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz) = 
6ed928cc68503c27edd6f3a90f94e1e762192d41997b12903e37071f4fcd34f5579fa970e59c240928eaae60729300fbfdb02a5ec1136bc757ee24f1ee554af4
@@ -57,12 +57,13 @@ SHA1 (patch-hotspot_make_solaris_makefil
 SHA1 (patch-hotspot_make_solaris_makefiles_product.make) = c41b360302bffd9fbfaa34ee7a4d5d1a756ae0e2
 SHA1 (patch-hotspot_make_solaris_makefiles_saproc.make) = 0ca85ba72d154643b934815a0a2deb1e77371ff9
 SHA1 (patch-hotspot_make_solaris_makefiles_vm.make) = 787e0c68cf976fc0df3e19fb2a22b1b7e3662c07
+SHA1 (patch-hotspot_src_cpu_aarch64_vm_pauth__aarch64.hpp) = 9087c8b7a0e97315bacd1edc567920cb22c4156f
 SHA1 (patch-hotspot_src_cpu_aarch64_vm_vm__version__aarch64.cpp) = b02d08302974a923e19875c4fa30057580629f14
 SHA1 (patch-hotspot_src_cpu_aarch64_vm_vm__version__aarch64.hpp) = 6a766abe3c53ee3b15ad9636527d0e4b61942d4d
 SHA1 (patch-hotspot_src_cpu_zero_vm_methodHandles__zero.cpp) = 9f7acf1eff3baba430880be9fd0f6148056dd088
 SHA1 (patch-hotspot_src_cpu_zero_vm_nativeInst__zero.cpp) = 446b96a91a2e4fa76f43ac653d1608f037c64af9
 SHA1 (patch-hotspot_src_os__cpu_bsd__aarch64_vm_bytes__bsd__aarch64.inline.hpp) = acc0b870113ffc279d089da385e564f3ffd87f89
-SHA1 (patch-hotspot_src_os__cpu_bsd__aarch64_vm_os__bsd__aarch64.cpp) = 1c9f8e68b738975a6accce502f1b9ce6f6ebaabd
+SHA1 (patch-hotspot_src_os__cpu_bsd__aarch64_vm_os__bsd__aarch64.cpp) = 461717b25728884add18a8c68221ccea4ef81bbe
 SHA1 (patch-hotspot_src_os__cpu_bsd__aarch64_vm_vm__version__bsd__aarch64.cpp) = d6762bb2a9fe6e158ccf23f7d04aa0cba588e78e
 SHA1 (patch-hotspot_src_os__cpu_bsd__zero_vm_atomic__bsd__zero.inline.hpp) = f46713855507654be42707b1f80a779796929069
 SHA1 (patch-hotspot_src_os__cpu_solaris__x86_vm_atomic__solaris__x86.inline.hpp) = 2bf9147643be4ac711d1bf94eb0e6ae4abad20c6

Index: pkgsrc/lang/openjdk8/patches/patch-hotspot_src_os__cpu_bsd__aarch64_vm_os__bsd__aarch64.cpp
diff -u pkgsrc/lang/openjdk8/patches/patch-hotspot_src_os__cpu_bsd__aarch64_vm_os__bsd__aarch64.cpp:1.2 pkgsrc/lang/openjdk8/patches/patch-hotspot_src_os__cpu_bsd__aarch64_vm_os__bsd__aarch64.cpp:1.3
--- pkgsrc/lang/openjdk8/patches/patch-hotspot_src_os__cpu_bsd__aarch64_vm_os__bsd__aarch64.cpp:1.2     Sun Jul 10 14:47:24 2022
+++ pkgsrc/lang/openjdk8/patches/patch-hotspot_src_os__cpu_bsd__aarch64_vm_os__bsd__aarch64.cpp Sun Jul 17 03:03:41 2022
@@ -1,4 +1,4 @@
-$NetBSD: patch-hotspot_src_os__cpu_bsd__aarch64_vm_os__bsd__aarch64.cpp,v 1.2 2022/07/10 14:47:24 ryoon Exp $
+$NetBSD: patch-hotspot_src_os__cpu_bsd__aarch64_vm_os__bsd__aarch64.cpp,v 1.3 2022/07/17 03:03:41 tnn Exp $
 
 NetBSD/evbarm-aarch64 support
 
@@ -40,3 +40,12 @@ NetBSD/evbarm-aarch64 support
  #endif
  }
  
+@@ -288,7 +296,7 @@ JVM_handle_bsd_signal(int sig,
+       return 1;
+     }
+ 
+-#if !defined(AMD64) && !defined(__OpenBSD__)
++#if !defined(AMD64) && defined(SI_KERNEL)
+     // Halt if SI_KERNEL before more crashes get misdiagnosed as Java bugs
+     // This can happen in any running code (currently more frequently in
+     // interpreter code but has been seen in compiled code)

Added files:

Index: pkgsrc/lang/openjdk8/patches/patch-hotspot_src_cpu_aarch64_vm_pauth__aarch64.hpp
diff -u /dev/null pkgsrc/lang/openjdk8/patches/patch-hotspot_src_cpu_aarch64_vm_pauth__aarch64.hpp:1.1
--- /dev/null   Sun Jul 17 03:03:41 2022
+++ pkgsrc/lang/openjdk8/patches/patch-hotspot_src_cpu_aarch64_vm_pauth__aarch64.hpp    Sun Jul 17 03:03:41 2022
@@ -0,0 +1,20 @@
+$NetBSD: patch-hotspot_src_cpu_aarch64_vm_pauth__aarch64.hpp,v 1.1 2022/07/17 03:03:41 tnn Exp $
+
+Only supports pointer authentication on Linux.
+
+--- hotspot/src/cpu/aarch64/vm/pauth_aarch64.hpp.orig  2022-04-23 02:23:55.000000000 +0000
++++ hotspot/src/cpu/aarch64/vm/pauth_aarch64.hpp
+@@ -25,7 +25,13 @@
+ #ifndef CPU_AARCH64_PAUTH_AARCH64_INLINE_HPP
+ #define CPU_AARCH64_PAUTH_AARCH64_INLINE_HPP
+ 
++#if defined(__linux__)
+ #include "pauth_linux_aarch64.inline.hpp"
++#else
++inline address pauth_strip_pointer(address ptr) {
++  return ptr;
++}
++#endif
+ 
+ inline bool pauth_ptr_is_raw(address ptr) {
+   // Confirm none of the high bits are set in the pointer.



Home | Main Index | Thread Index | Old Index