From nobody Sun Jul 17 23:46:49 2022 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 4LmMFP4PMvz4WTgs for ; Sun, 17 Jul 2022 23:46:49 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LmMFP305Nz3fNm for ; Sun, 17 Jul 2022 23:46:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4LmMFP1r9TzJvN for ; Sun, 17 Jul 2022 23:46:49 +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 26HNknTi042526 for ; Sun, 17 Jul 2022 23:46:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26HNkn21042525 for java@FreeBSD.org; Sun, 17 Jul 2022 23:46:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 265284] java/openjdk18: wont run or build running on VMWare running on M1 Mac Mini Date: Sun, 17 Jul 2022 23:46:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None 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: arroz@me.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658101609; 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=Bw6TFewCjgMbX+InPeQOTB23Ari/6eX13+C89z0xilw=; b=FUUu1loivt59/ku9xr7hOMBoaLejPWbCJmz4aXdUiWJRH3TXiPFRjzNnoKZWwnKIhSk7gr /vPjO3DHJGoTttMINjMjCZGuY7afakaA6PPV2UEZYvDbgJfItzTtCYm+vKwpWeluTumQwc Xx1EF3IagqY0gtcq9kf9pUVun23Szw1OKUrfCCQvxkbFKijAOanvHqAao86oWmMbHb110S Q+lSWy+qqs0D6a63dH/xy1cPHxR5BV6umeSfu0joDEb7I8coctRiW9WauqAyRx/t3LfgB9 wZENoSXxLgOHs1KymEe/Nsjz6TvROkOjAh1NfvNH+7W6gkkjURt7wNfdw0VcoA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658101609; a=rsa-sha256; cv=none; b=juyA3tDzp2oZwArRSWOjjEbz6Fci3AbVZXfxf3ABlwbQBaGHRX1TFWV/5J6JXsHN10Hj1E H2kC22ZfmVRXlPRSlE2U7IncJrvct6qQWHjVJGTmmVbHtFCgH0Hlx/r1ty4b43Nw0D6Qlg wa+ayYSppuOO+seJEAKTb5ewM7eXHiKFMaMp9qBtfPsqR7oeoYvrRiyX48L+E1H8QYArrK ryF/QYkEaONMx7/lQcNg+qxcUtwFLPmx74aWGH7fcIzM80UdMf+Qpyz+rWkWyYwTj8FWoN RRtJ6nnOSFxE9flWZiqIA/9uLUMBeDOX8l2YpPdspICQkfFJgDRKNum4v6ERbA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265284 Bug ID: 265284 Summary: java/openjdk18: wont run or build running on VMWare running on M1 Mac Mini Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: java@FreeBSD.org Reporter: arroz@me.com Flags: maintainer-feedback?(java@FreeBSD.org) Assignee: java@FreeBSD.org Hardware: Apple Mac Mini M1 VMWare Fusion: 19431034 (Preview 21H1) Pkg: openjdk11-11.0.15+10.1 Java (openjdk11) crashes when launched on FreeBSD 13.1 running under virtualization using VMWare on an M1 Mac. Simply running "java" causes the crash to happen. Compiling from ports is apparently not possible (tried openjdk11 and 18) because the bootstrappers themselves crash, breaking the configure scripts. Steps: 1. Create a virtual machine and install FreeBSD 13.1 aarch64. 2. Install openjdk11 using "pkg install openjdk11". 3. Run "java". Result: # # A fatal error has been detected by the Java Runtime Environment: # # SIGILL (0x4) at pc=3D0x000000004ad9b190, pid=3D90863, tid=3D113952 # # JRE version: (11.0.15+10) (build ) # Java VM: OpenJDK 64-Bit Server VM (11.0.15+10-1, mixed mode, tiered, compressed oops, g1 gc, bsd-aarch64) # Problematic frame: # v ~BufferBlob::native signature handlers # # Core dump will be written. Default location: /usr/ports/java/openjdk18/java.core # # An error report file with more information is saved as: # /usr/ports/java/openjdk18/hs_err_pid90863.log Could not load hsdis-aarch64.so; library not loadable; PrintAssembly is disabled # # Abort (core dumped) I tried to install the same versions of FreeBSD and OpenJDK on QEMU running under emulation and on a Raspberry Pi 3 Model B. Both work fine ("java" launches and prints the long "usage" message). --=20 You are receiving this mail because: You are the assignee for the bug.=