From nobody Tue Oct 05 12:20:22 2021 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 73D4C17E7F4B; Tue, 5 Oct 2021 12:20:22 +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 4HNxVt2mSVz3CFj; Tue, 5 Oct 2021 12:20:22 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 3EA654794; Tue, 5 Oct 2021 12:20:22 +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 195CKMhj025209; Tue, 5 Oct 2021 12:20:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 195CKMK4025208; Tue, 5 Oct 2021 12:20:22 GMT (envelope-from git) Date: Tue, 5 Oct 2021 12:20:22 GMT Message-Id: <202110051220.195CKMK4025208@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Mikael Urankar Subject: git: fb734e4565b6 - main - java/openjdk17: Fix build on 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: mikael X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fb734e4565b65fb1a3d8efacb445900c2e0b131f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=fb734e4565b65fb1a3d8efacb445900c2e0b131f commit fb734e4565b65fb1a3d8efacb445900c2e0b131f Author: Mikael Urankar AuthorDate: 2021-10-05 12:04:36 +0000 Commit: Mikael Urankar CommitDate: 2021-10-05 12:06:38 +0000 java/openjdk17: Fix build on aarch64. Fully initialize FrameForm: Corrects adlc segfault when malloc junk options are set. Approved by: portmgr (build fix blanket) --- .../patch-src_hotspot_share_adlc_formsopt.cpp | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/java/openjdk17/files/patch-src_hotspot_share_adlc_formsopt.cpp b/java/openjdk17/files/patch-src_hotspot_share_adlc_formsopt.cpp new file mode 100644 index 000000000000..99ad5c17d8b8 --- /dev/null +++ b/java/openjdk17/files/patch-src_hotspot_share_adlc_formsopt.cpp @@ -0,0 +1,26 @@ +https://github.com/battleblow/jdk17/pull/1 + +--- src/hotspot/share/adlc/formsopt.cpp.orig 2021-07-23 23:38:59 UTC ++++ src/hotspot/share/adlc/formsopt.cpp +@@ -436,15 +436,20 @@ void AllocClass::output(FILE *fp) { // Write inf + //==============================Frame Handling================================= + //------------------------------FrameForm-------------------------------------- + FrameForm::FrameForm() { ++ _sync_stack_slots = NULL; ++ _inline_cache_reg = NULL; ++ _interpreter_frame_pointer_reg = NULL; ++ _cisc_spilling_operand_name = NULL; + _frame_pointer = NULL; + _c_frame_pointer = NULL; + _alignment = NULL; ++ _return_addr_loc = false; ++ _c_return_addr_loc = false; + _return_addr = NULL; + _c_return_addr = NULL; + _varargs_C_out_slots_killed = NULL; + _return_value = NULL; + _c_return_value = NULL; +- _interpreter_frame_pointer_reg = NULL; + } + + FrameForm::~FrameForm() {