From 4568b98a98029e37fb234e3c3d1f7ca0a7a1818b Mon Sep 17 00:00:00 2001 From: Greg Lewis Date: Sun, 31 Oct 2021 11:06:51 -0700 Subject: [PATCH] java/openjdk8: Update to 8u312 --- java/openjdk8/Makefile | 12 +++------- java/openjdk8/distinfo | 6 ++--- ...src_os__cpu_bsd__zero_vm_os__bsd__zero.cpp | 24 ------------------- 3 files changed, 6 insertions(+), 36 deletions(-) delete mode 100644 java/openjdk8/files/patch-hotspot_src_os__cpu_bsd__zero_vm_os__bsd__zero.cpp diff --git a/java/openjdk8/Makefile b/java/openjdk8/Makefile index 65cbbb39a314..e444b3147af9 100644 --- a/java/openjdk8/Makefile +++ b/java/openjdk8/Makefile @@ -1,6 +1,5 @@ PORTNAME= openjdk PORTVERSION= ${JDK_MAJOR_VERSION}.${JDK_UPDATE_VERSION}.${JDK_BUILD_NUMBER}.${BSD_JDK_VERSION} -PORTREVISION= 2 CATEGORIES= java devel MASTER_SITES= LOCAL/jkim:jtreg PKGNAMESUFFIX?= ${JDK_MAJOR_VERSION} @@ -52,8 +51,8 @@ INSTALLDIR= ${PREFIX}/${PKGBASE} NOPRECIOUSMAKEVARS= yes JDK_MAJOR_VERSION= 8 -JDK_UPDATE_VERSION= 302 -JDK_BUILD_NUMBER= 08 +JDK_UPDATE_VERSION= 312 +JDK_BUILD_NUMBER= 07 BSD_JDK_VERSION= 1 JTREG_VERSION= 4.1 JTREG_BUILD_NUMBER= b08 @@ -205,12 +204,7 @@ LIB_DEPENDS+= libffi.so:devel/libffi MAKE_ENV+= COMPILER_WARNINGS_FATAL=false USE_CLANG=true CONFIGURE_ENV+= LIBCXX="-lc++" .if ${COMPILER_VERSION} >= 130 -# PR258954: OpenJDK <= 13 crash due to undefined behavior with clang >= 13 -# See also https://bugs.openjdk.java.net/browse/JDK-8229258 -LLVM_VER= 12 -BUILD_DEPENDS+= clang${LLVM_VER}:devel/llvm${LLVM_VER} -CC= ${LOCALBASE}/bin/clang${LLVM_VER} -CXX= ${LOCALBASE}/bin/clang++${LLVM_VER} +CONFIGURE_ARGS+= --with-extra-cflags="-Wno-unused-but-set-parameter" .endif .endif diff --git a/java/openjdk8/distinfo b/java/openjdk8/distinfo index 6fd754a085a3..b2f6d631069c 100644 --- a/java/openjdk8/distinfo +++ b/java/openjdk8/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1627694630 +TIMESTAMP = 1635648139 SHA256 (jtreg4.1-b08.tar.gz) = a9fbfac903313c12687e60978c4688c20189cdf873560125917d6ad53d55b30c SIZE (jtreg4.1-b08.tar.gz) = 6834252 -SHA256 (battleblow-jdk8u-8.302.08.1-jdk8u302-b08.1_GH0.tar.gz) = 783cc53f718717bcdc27d821ce808335da4d8323dc75d883b243fb19e4ca0970 -SIZE (battleblow-jdk8u-8.302.08.1-jdk8u302-b08.1_GH0.tar.gz) = 88617241 +SHA256 (battleblow-jdk8u-8.312.07.1-jdk8u312-b07.1_GH0.tar.gz) = c81bcd75e6aa6660584df909ccd23938292eee072924fdb95d4400ba1ab021a0 +SIZE (battleblow-jdk8u-8.312.07.1-jdk8u312-b07.1_GH0.tar.gz) = 88671270 diff --git a/java/openjdk8/files/patch-hotspot_src_os__cpu_bsd__zero_vm_os__bsd__zero.cpp b/java/openjdk8/files/patch-hotspot_src_os__cpu_bsd__zero_vm_os__bsd__zero.cpp deleted file mode 100644 index bfda45b71e85..000000000000 --- a/java/openjdk8/files/patch-hotspot_src_os__cpu_bsd__zero_vm_os__bsd__zero.cpp +++ /dev/null @@ -1,24 +0,0 @@ ---- hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp.orig 2021-04-26 16:05:58 UTC -+++ hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp -@@ -446,21 +446,6 @@ extern "C" { - } - }; - --///////////////////////////////////////////////////////////////////////////// --// Implementations of atomic operations not supported by processors. --// -- http://gcc.gnu.org/onlinedocs/gcc-4.2.1/gcc/Atomic-Builtins.html -- --#ifndef _LP64 --extern "C" { -- long long unsigned int __sync_val_compare_and_swap_8( -- volatile void *ptr, -- long long unsigned int oldval, -- long long unsigned int newval) { -- ShouldNotCallThis(); -- return 0; // silence compiler warnings -- } --}; --#endif // !_LP64 - - #ifndef PRODUCT - void os::verify_stack_alignment() {