git: 762006dfa091 - main - java/openjdk8: (aarch64) builds fine with llvm from base

From: Ronald Klop <ronald_at_FreeBSD.org>
Date: Tue, 03 Sep 2024 06:52:50 UTC
The branch main has been updated by ronald:

URL: https://cgit.FreeBSD.org/ports/commit/?id=762006dfa091ef3725f813aa92db772f2e901482

commit 762006dfa091ef3725f813aa92db772f2e901482
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2024-08-31 18:51:41 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2024-09-03 06:52:35 +0000

    java/openjdk8: (aarch64) builds fine with llvm from base
    
    ran poudriere on FreeBSD 13.3/14.0/14.1/15.0
    all failing ports mentioned in the issue are building fine now:
     benchmarks/scimark2
     devel/tijmp
     sysutils/javaservicewrapper
     www/jericho-html
    
    PR:     264065
    Differential Revision: https://reviews.freebsd.org/D46500
---
 java/openjdk8/Makefile | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/java/openjdk8/Makefile b/java/openjdk8/Makefile
index f7140a94d001..a90b1c831754 100644
--- a/java/openjdk8/Makefile
+++ b/java/openjdk8/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	openjdk
 PORTVERSION=	${JDK_MAJOR_VERSION}.${JDK_UPDATE_VERSION}.${JDK_BUILD_NUMBER}.${BSD_JDK_VERSION}
+PORTREVISION=	1
 CATEGORIES=	java devel
 MASTER_SITES=	LOCAL/jkim:jtreg
 PKGNAMESUFFIX?=	${JDK_MAJOR_VERSION}
@@ -204,16 +205,6 @@ LIB_DEPENDS+=	libffi.so:devel/libffi
 .if ${COMPILER_TYPE} == clang
 MAKE_ENV+=	COMPILER_WARNINGS_FATAL=false USE_CLANG=true
 CONFIGURE_ENV+=	LIBCXX="-lc++"
-.if ${ARCH} == aarch64
-# PR258954: see <https://bugs.openjdk.org/browse/JDK-8247766>. Even though the
-# upstream fix has been applied to this version of the JDK, users still report
-# the assertion "guarantee(val < (1U << nbits)) failed: Field too big for insn"
-# occurring, when it is built with recent versions of clang.
-LLVM_VER=	12
-BUILD_DEPENDS+=	clang${LLVM_VER}:devel/llvm${LLVM_VER}
-CC=		${LOCALBASE}/bin/clang${LLVM_VER}
-CXX=		${LOCALBASE}/bin/clang++${LLVM_VER}
-.endif
 # clang 16 defaults to C++17, which no longer allows the 'register' keyword.
 # There is an upstream commit that removes all the individual 'register'
 # keywords, but it has not yet been backported to OpenJDK 8.