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 4LmMFP47LQz4WTrg 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 4LmMFP2Jq7z3f4W 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 4LmMFP18QLzJjl 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 26HNknWt042521 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 26HNknwR042520 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 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 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-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 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: in-reply-to:in-reply-to:references:references; bh=5P6WZZar0bBdMqLx3vjmyx51nwocTs9ARXsUshko5fE=; b=BCVrz0BQwP5mB6FSYdPI4dG+hS0SI95q8vl4qbXcLa+xmgNQNvHlj/D06j4mWrGMW4RjhP FaK7VNl2uFyCsga6yxnMyCxzan85qJovpISGI/rzaETziQ2gLJ4wCDc8hs63WcV8WmwZB6 vZrCVLOMC+IzKpFf0kwZY1YZTNFBLnkrRHBrzlbeAvSB3DUb8kV4E77cwdLufJ5byMQQA9 crY2iI05be0jmbYPCDELf4+Mq3x3jx38O6BQz8BoIG900p6p/jtr5CdZPEa3++qJeXQni3 PBGDF+JFvMYGCPHwY/pdQWwzyrifbZkxrNcoxA2vU0YnNDcbWhdQNKr/+FQ2JA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658101609; a=rsa-sha256; cv=none; b=XNuIi/lFc2p1ZagC0Aa4RQWJX8orxrNEMqXztLe2f8mJvUEU5kd6wUXPhRkvGYjnMQtTZB u7Y4dRlRAvuTK8sCDRx6fgomdUL76RKeynY5n6iVsGEaBKZ+rpaoQ936aGvXvD43EGmRwP od84E8yQ51oV5Rs7QdgskoZfAUAIpTIYt6TR4pa6U7QRoRM6ho+/h5OYCWrdBdFPiCarPu URHOkDeWKt2jhQN3jJehM+dG2rIMn+AoU8QSaFAoIEvRoEKEzvXkT+zVcJsAs3X5K+CjEI thUT49hKk8QzJdBKcBc9r9Q1NJee3BIEKzEtd3hAS/a1i8acjfflb112cdQM/w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N Bugzilla Automation has asked freebsd-java (Nobody) for maintainer-feedback: Bug 265284: java/openjdk18: wont run or build running on VMWare running on = M1 Mac Mini https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265284 --- Description --- 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).