From nobody Sun Jun 19 04:56:06 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9209384160E; Sun, 19 Jun 2022 04:56:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LQgTf3gFRz4jcJ; Sun, 19 Jun 2022 04:56:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655614566; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1/wgjLOIh6T9ij3kfg9AAYARKSZIdnbF032gaZ2tEQ0=; b=vz9Pmuid8jzE0KJvkTStjb7qwWNw8nEAZxvixOVqaFG84bayqfKEECzTkZuOkFxzTMuYa+ 53WF//RwavnWFbxWyirpIfimKLCd/6CpvjH9ceLH5GfDf9Xt5hO92WNgr9pqBi9PLAcqO/ 751z7WMcNM/wfQF5bBA6E6xG/sQ5/FEkJo+yfT6pMVYgF57MI+RCs9zn45DwEqJQJAd5Ln /k45H6y+DGoY2V78e9NhhWZZaWlSdaeXMLMpj4ytvU71cq60SY/IfhrAsnK5AOZJ/Mh3Sv HkACniu4SYSzshfPiNPsfH8GGbkKVbyMsnpGGqownM+JtqYEXk9cuntCPZ6tTg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5D9B12233B; Sun, 19 Jun 2022 04:56:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 25J4u6ep019187; Sun, 19 Jun 2022 04:56:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25J4u64u019186; Sun, 19 Jun 2022 04:56:06 GMT (envelope-from git) Date: Sun, 19 Jun 2022 04:56:06 GMT Message-Id: <202206190456.25J4u64u019186@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Greg Lewis Subject: git: aa1ca89826b5 - main - java/openjdk8: Attempt to fix newer aarch64 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: glewis X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: aa1ca89826b5669e623d868e447830aad01e6f1a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655614566; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1/wgjLOIh6T9ij3kfg9AAYARKSZIdnbF032gaZ2tEQ0=; b=QxgUykaazeQhGzZMtGVCo8Ral1LyL2QrNG3n5bHASf3DRtb+yFTCzuJxc/FPYZNQvBjwZG +9V6saJi2VP3qgMNf230iUt8wzvxVfPyLstlqFazQ8PTU8qRKDId8zHpOfgf8Rbcp6xsVl gvMRGUKUXJKUikKHO5XIIg0CdnFH+zCacztyu6zI8Fa4UTLVb6i/bACYWU+4HNLqDvdM8X KT9i8u3LLL02VJpoCBr55pS61pKo/rz+4sZb8yR7gMctnQLfAobxs1c/KqqkUyUWrA1fby dLGsYRZWqqIOb1ghndGHdZsayDbhf67ewRWZn2i/1msfhsT0dAEzmkjq5YMwwA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655614566; a=rsa-sha256; cv=none; b=KZB5723QLpEYZbxLaVTFAIOjf8SvK+bTHqMPdreKRCToo4nvLmCU83pUNDpWWuZetz5QrR EhI8gpL7VfvjIacNaTmpkhnLqqbmYqKUZGeijPdwVQ0zDTGn9B2I7DKI/7U+nHUp3HXUvZ podmwjEbrDLzMF+Gb8FOAaZBc8xLWW2rF2Ui6zHvPGFSvGdlYcO8jQH8TCpuTh+OQjCz0k iunzC+D3rzOUUmITrp0hGAnQG+NZNSmOHAUm5ZAh2lSjKc3632butXpN69obaOe2RARaTX 1sGdvgaqfyYRjjk4qx+OT0IX+NnJlKACZhinv09BfLJ9o3cxVMU0U6JNzKuEiA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by glewis: URL: https://cgit.FreeBSD.org/ports/commit/?id=aa1ca89826b5669e623d868e447830aad01e6f1a commit aa1ca89826b5669e623d868e447830aad01e6f1a Author: Greg Lewis AuthorDate: 2022-06-19 04:53:05 +0000 Commit: Greg Lewis CommitDate: 2022-06-19 04:55:54 +0000 java/openjdk8: Attempt to fix newer aarch64 Revert to forcing Clang 12 if Clang 13 or newer is detected. This may fix problems with the built JDK on aarch64. PR: 264065 --- java/openjdk8/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/java/openjdk8/Makefile b/java/openjdk8/Makefile index 9addd3e34e55..28e45e5412f7 100644 --- a/java/openjdk8/Makefile +++ b/java/openjdk8/Makefile @@ -204,7 +204,12 @@ LIB_DEPENDS+= libffi.so:devel/libffi MAKE_ENV+= COMPILER_WARNINGS_FATAL=false USE_CLANG=true CONFIGURE_ENV+= LIBCXX="-lc++" .if ${COMPILER_VERSION} >= 130 -CONFIGURE_ARGS+= --with-extra-cflags="-Wno-unused-but-set-parameter" +# 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} .endif .endif