pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2022Q3]: pkgsrc/lang/openjdk8 Pullup ticket #6685 - requested ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5d97228baeaf
branches:  pkgsrc-2022Q3
changeset: 387092:5d97228baeaf
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Fri Oct 21 19:16:27 2022 +0000

description:
Pullup ticket #6685 - requested by nia
lang/openjdk8: build fix

Revisions pulled up:
- lang/openjdk8/distinfo                                        1.93
- lang/openjdk8/patches/patch-hotspot_src_os__cpu_bsd__zero_vm_os__bsd__zero.cpp 1.5

---
   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

diffstat:

 lang/openjdk8/distinfo                                                         |   4 ++--
 lang/openjdk8/patches/patch-hotspot_src_os__cpu_bsd__zero_vm_os__bsd__zero.cpp |  10 +++-------
 2 files changed, 5 insertions(+), 9 deletions(-)

diffs (43 lines):

diff -r 433786607e69 -r 5d97228baeaf lang/openjdk8/distinfo
--- a/lang/openjdk8/distinfo    Sat Oct 08 18:07:10 2022 +0000
+++ b/lang/openjdk8/distinfo    Fri Oct 21 19:16:27 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.92 2022/09/24 09:51:54 nia Exp $
+$NetBSD: distinfo,v 1.92.2.1 2022/10/21 19:16:27 bsiegert 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__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
diff -r 433786607e69 -r 5d97228baeaf lang/openjdk8/patches/patch-hotspot_src_os__cpu_bsd__zero_vm_os__bsd__zero.cpp
--- a/lang/openjdk8/patches/patch-hotspot_src_os__cpu_bsd__zero_vm_os__bsd__zero.cpp    Sat Oct 08 18:07:10 2022 +0000
+++ b/lang/openjdk8/patches/patch-hotspot_src_os__cpu_bsd__zero_vm_os__bsd__zero.cpp    Fri Oct 21 19:16:27 2022 +0000
@@ -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.4.2.1 2022/10/21 19:16:27 bsiegert 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 @@
  //  -- 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