From nobody Wed Jan 25 01:44:02 2023 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 4P1mpW2MdKz3bBjy; Wed, 25 Jan 2023 01:44:03 +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 4P1mpW1V8Pz45VW; Wed, 25 Jan 2023 01:44:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674611043; 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=pkpaczGiOblQQnSVfok6nKPrVYjBFKfQYrvpYXjPWDc=; b=WLgyTb8jxjCRNp96911PexGFmapFsH9j+3WCP2yeIhqVO6/lRi0imv//fgNYm6J+aYlzuu Qa55Sb7dIfeKXW4hCYOxTU/E49xCeSEiltk2OpEzAYa/2B8qV4neUzy/pX+ChDw3MD69fU ERxWlWP4ChAlipeTSHfCx4lU0ECeMGGrO0l4/4mja1wO+rSYRaLXFybo0GZKTsony+u+/x eGFnRsZqQ8aH4bcuHO0kDHG93hkXmTWZRZE5UlpVrS0JvMLxIowmXgTKhv6KtWfVQHsDVb vaDTFi1bumUFGCyq1cw/Y/Opl25xHCs72OlVz+FtAEwDS6VxJCURKMEMAeHxVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674611043; 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=pkpaczGiOblQQnSVfok6nKPrVYjBFKfQYrvpYXjPWDc=; b=MLpW5YkQtLiBgvv+KR2vA2f62LambrwyJk83i/egLrzHlnGMDarXxnCnrG83ZRTViI/Xrf yl6dW2MXoFz660XsdPUfyo+a6SYWs23Zwp7ANlfTwtkE6SwV7FmR/6Jtti7Z5t9udA3SJU GZ+lA3ilY83pd7k3L6q/En4L7wOE0yqPZxaZNWJR1/31NbrEBJSuSYg4KqXliULyECj3cg 2ywSjlDpn8dobt+QKzJI8UZ/eea0pbaI/Q2qrNstJZDWWq7QzWye7eVmBa+0lbTcdbxd1C v835ATXX85IL+tDPUDBGn0sIZNsS8bO7queT26bNIt8PwDa6v6KvZvQ5JrL23g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674611043; a=rsa-sha256; cv=none; b=I836U45nYaQIcVrgeHN5FG9iufDykO32dwkTrAMKRI/3PcPmtzBXRI6UmFHffrK+gm/6jF SIJAIHKoA3VTNEVtaYftm5cXLqd8MGOG5MkpSzgXKDhO3P1BGVNhGmtGqzaVq5B2+B66qF dHzojFv2zeYJ43M5NZDc5+vWt+URd9kKskewtzKEgsQRN4j0vC7GynkBrd/ZojD2QXdk8i EWFnXnrYhVcgx2tUE1814TEyVrB6IlxOuKOb1up+xGz6pwN4unu685NTr7B92mneJIROEB 0CpgckZBuLkg5775KcMSnkF80h1TBf6VJ3XcVPlNlrE2JuWORn6aLeuc9T4AUQ== 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 4P1mpW0YmszWq2; Wed, 25 Jan 2023 01:44:03 +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 30P1i2kZ093936; Wed, 25 Jan 2023 01:44:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30P1i23k093935; Wed, 25 Jan 2023 01:44:02 GMT (envelope-from git) Date: Wed, 25 Jan 2023 01:44:02 GMT Message-Id: <202301250144.30P1i23k093935@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: 357fe86fdda5 - main - java/openjdk19: Fix the build on x86 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: 357fe86fdda55925e0836c7947a6380d48d609b6 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by glewis: URL: https://cgit.FreeBSD.org/ports/commit/?id=357fe86fdda55925e0836c7947a6380d48d609b6 commit 357fe86fdda55925e0836c7947a6380d48d609b6 Author: Greg Lewis AuthorDate: 2023-01-25 01:43:44 +0000 Commit: Greg Lewis CommitDate: 2023-01-25 01:43:44 +0000 java/openjdk19: Fix the build on x86 --- ...spot_os__cpu_bsd__x86_safefetch__bsd__x86__32.S | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/java/openjdk19/files/patch-src_hotspot_os__cpu_bsd__x86_safefetch__bsd__x86__32.S b/java/openjdk19/files/patch-src_hotspot_os__cpu_bsd__x86_safefetch__bsd__x86__32.S new file mode 100644 index 000000000000..67d37e025d57 --- /dev/null +++ b/java/openjdk19/files/patch-src_hotspot_os__cpu_bsd__x86_safefetch__bsd__x86__32.S @@ -0,0 +1,46 @@ +--- /dev/null ++++ src/hotspot/os_cpu/bsd_x86/safefetch_bsd_x86_32.S +@@ -0,0 +1,43 @@ ++# ++# Copyright (c) 2022 SAP SE. All rights reserved. ++# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved. ++# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. ++# ++# This code is free software; you can redistribute it and/or modify it ++# under the terms of the GNU General Public License version 2 only, as ++# published by the Free Software Foundation. ++# ++# This code is distributed in the hope that it will be useful, but WITHOUT ++# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ++# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License ++# version 2 for more details (a copy is included in the LICENSE file that ++# accompanied this code). ++# ++# You should have received a copy of the GNU General Public License version ++# 2 along with this work; if not, write to the Free Software Foundation, ++# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. ++# ++# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA ++# or visit www.oracle.com if you need additional information or have any ++# questions. ++# ++ .globl SafeFetch32_impl ++ .globl _SafeFetch32_fault ++ .globl _SafeFetch32_continuation ++ ++ .text ++ ++ # Support for int SafeFetch32(int* address, int defaultval); ++ # ++ # 8(%esp) : default value ++ # 4(%esp) : crash address ++ # 0(%esp) : return pc ++ .type _SafeFetch32_impl,@function ++SafeFetch32_impl: ++ movl 4(%esp),%ecx # load address from stack ++_SafeFetch32_fault: ++ movl (%ecx), %eax # load target value, may fault ++ ret ++_SafeFetch32_continuation: ++ movl 8(%esp),%eax # load default value from stack ++ ret