From nobody Mon Dec 22 11:30:20 2025 X-Original-To: java@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 4dZbXr5KLlz6KwjL for ; Mon, 22 Dec 2025 11:30:20 +0000 (UTC) (envelope-from bugzilla-noreply@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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dZbXr4Txwz4P45 for ; Mon, 22 Dec 2025 11:30:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1766403020; 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: in-reply-to:in-reply-to:references:references; bh=VstL+HhwTx8qpJ2x3mqOmcrLS6gh1GOaDuQnOtwqOdU=; b=eaBcf3Eyz4zUMiLRLWcM3UNEMWXkAOmHHno1qO+SS3H41lEQoh6SYgUDqig41+/RpOZeGG 2q9gwjVQG7xjfcexlqtkOT67DvzNb/Qx9wP8OXM9KeyplK//ivqWQLk3PAYBm127VUAOb0 9rPWefIt9UHZ6QgrJx89w7CzhEucz9lg/C0c9iVUgmYGH4JZpyvNk2dNz1JdYHINqHxecC PyAOhvhGmZNwJrY4flP7Pg+B6NCCy/CfPJ1O9hq8H2tT2ZqLpwNhdUmfRt3FgBSq6f4XyC vNTbvXGhSi/gre/K3Hr0eT+oI7DBLkqs8/Y4+SGJJiAtJhUE6yVzi8fTyHQBUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1766403020; 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: in-reply-to:in-reply-to:references:references; bh=VstL+HhwTx8qpJ2x3mqOmcrLS6gh1GOaDuQnOtwqOdU=; b=FOrfv2MQ4sU+saniJS11aiMTjluwoDwP1w01aM9N81ByXNMXKiGAFhY6oR/yP1bfPPUTFO p6B8qT9iATlPA654oJ2MzS+vkl7zC8n+9i0hlfRD78IeJ5sxsWc44JFxZt61zeJXIxU7Tm /7qPOElxgWlUU8xzDR4baVbSW9hPXpKCu6C+nwlZYKs+1JP8FAH+D/3GnHzaTKcXUyPXqk scJLRcLsfoKFs3lu3WWqrU8m6LDNETfL6o1WGwM/NuLS2qVQzHObtv1H0yG52PKBd9oE3I KK6EIKkqd9Ny2t0g1Bd4Ditm8gr5rHXwxfBum/lovzucPhBFE73HR5yERySEqQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1766403020; a=rsa-sha256; cv=none; b=WxcSXL63mAW9yHRh4APfw6vsZJwcNzuU5P4E65jfpkxQz0dDtm7sKAPfha4BQ0fjA4gPSt g1qeUYB/3Bq4zUJ++rxovd/622wDkq5l6b+kPDF4XOaAc4YpRAvSUp9V2ll8+BPUvO/UkG b5yPDecNSgh5RWlQRoQ092BRSaQM87snA8vlF8jH2ZqfQ3TF4SQwJj5X7QPlddY7TiloKL L8TgS5GNVbqrmJl9UNFUEgj7b5sY8v2K4Q0qmQ7NS3zIadj8QVM1LeqXR3oOtsVpYvwybw olUU9rRFrNukkjLkFYQScOdiRa5G1sY4kUuK6StScNZ9cyHA9FXSuUjXSkr/tg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4dZbXr3gzBz8K0 for ; Mon, 22 Dec 2025 11:30:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5BMBUKMw013135 for ; Mon, 22 Dec 2025 11:30:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BMBUKqA013134 for java@FreeBSD.org; Mon, 22 Dec 2025 11:30:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: maintainer-feedback requested: [Bug 291872] java/openjdk17: Fails to build on Apple silicon (affects all JDKs) Date: Mon, 22 Dec 2025 11:30:20 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Porting Java to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-java List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-java@FreeBSD.org MIME-Version: 1.0 Bugzilla Automation has asked freebsd-java (Nobody) for maintainer-feedback: Bug 291872: java/openjdk17: Fails to build on Apple silicon (affects all JD= Ks) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D291872 --- Description --- The problem in JDK on aarch64 was generally patched, but the bootstrap JDKs= do not contain these patches, therefore building Java crashes. See also bug #265284 The workaround is to boot FreeBSD in qemu without Hypervisor support before building java, but this is very slow and tedious. The built package then run without issues on aarch64 with Hypervisor though. Not sure if there a way to get patches into bootstrap JDKs or if there other workarounds available.