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: nia
Date: Sat Oct 8 11:20:07 UTC 2022
Modified Files:
pkgsrc/lang/openjdk8: distinfo
pkgsrc/lang/openjdk8/patches:
patch-hotspot_src_os__cpu_bsd__zero_vm_os__bsd__zero.cpp
Log Message:
openjdk: fix building "zero" vm with GCC < 10
To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 pkgsrc/lang/openjdk8/distinfo
cvs rdiff -u -r1.4 -r1.5 \
pkgsrc/lang/openjdk8/patches/patch-hotspot_src_os__cpu_bsd__zero_vm_os__bsd__zero.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.92 pkgsrc/lang/openjdk8/distinfo:1.93
--- pkgsrc/lang/openjdk8/distinfo:1.92 Sat Sep 24 09:51:54 2022
+++ pkgsrc/lang/openjdk8/distinfo Sat Oct 8 11:20:07 2022
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.92 2022/09/24 09:51:54 nia Exp $
+$NetBSD: distinfo,v 1.93 2022/10/08 11:20:07 nia 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
@@ -65,7 +65,7 @@ SHA1 (patch-hotspot_src_os__cpu_bsd__aar
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_bsd__zero_vm_os__bsd__zero.cpp) = dcce100a83519f844fe9833c93c924a00bfa4f2d
+SHA1 (patch-hotspot_src_os__cpu_bsd__zero_vm_os__bsd__zero.cpp) = 199f460df677b2c64412fe032d7ff60e9dbd6796
SHA1 (patch-hotspot_src_os__cpu_solaris__x86_vm_atomic__solaris__x86.inline.hpp) = 2bf9147643be4ac711d1bf94eb0e6ae4abad20c6
SHA1 (patch-hotspot_src_os__cpu_solaris__x86_vm_orderAccess__solaris__x86.inline.hpp) = 82818bc8d8fee46403b88cf52a7c978b5ea0005c
SHA1 (patch-hotspot_src_os__cpu_solaris__x86_vm_os__solaris__x86.cpp) = 6a6b719a52408e88b27d3f2a5a41789dc15ef39d
Index: pkgsrc/lang/openjdk8/patches/patch-hotspot_src_os__cpu_bsd__zero_vm_os__bsd__zero.cpp
diff -u pkgsrc/lang/openjdk8/patches/patch-hotspot_src_os__cpu_bsd__zero_vm_os__bsd__zero.cpp:1.4 pkgsrc/lang/openjdk8/patches/patch-hotspot_src_os__cpu_bsd__zero_vm_os__bsd__zero.cpp:1.5
--- pkgsrc/lang/openjdk8/patches/patch-hotspot_src_os__cpu_bsd__zero_vm_os__bsd__zero.cpp:1.4 Sat Sep 24 09:51:54 2022
+++ pkgsrc/lang/openjdk8/patches/patch-hotspot_src_os__cpu_bsd__zero_vm_os__bsd__zero.cpp Sat Oct 8 11:20:07 2022
@@ -1,10 +1,6 @@
-$NetBSD: patch-hotspot_src_os__cpu_bsd__zero_vm_os__bsd__zero.cpp,v 1.4 2022/09/24 09:51:54 nia Exp $
+$NetBSD: patch-hotspot_src_os__cpu_bsd__zero_vm_os__bsd__zero.cpp,v 1.5 2022/10/08 11:20:07 nia Exp $
-delay evaluation of __has_builtin after the !_LP64 case, this is an attempted
-workaround for the following compiler error on aarch64:
-
-os_bsd_zero.cpp:453:38: error: missing binary operator before token "("
- #if !defined(_LP64) && !__has_builtin(__sync_val_compare_and_swap_8)
+Fix building with GCC < 10.
^
--- hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp.orig 2022-07-31 16:21:00.000000000 +0000
+++ hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp
@@ -13,7 +9,7 @@ os_bsd_zero.cpp:453:38: error: missing b
// -- http://gcc.gnu.org/onlinedocs/gcc-4.2.1/gcc/Atomic-Builtins.html
-#if !defined(_LP64) && !__has_builtin(__sync_val_compare_and_swap_8)
-+#if !defined(_LP64)
++#if !defined(_LP64) && defined(__has_builtin)
+#if !__has_builtin(__sync_val_compare_and_swap_8)
extern "C" {
long long unsigned int __sync_val_compare_and_swap_8(
Home |
Main Index |
Thread Index |
Old Index