From nobody Sun Jul 17 23:46:49 2022 X-Original-To: ports-bugs@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 4LmMFP4PNcz4WTtm 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 4LmMFP3Lv5z3f91 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 4LmMFP29yszJvP 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 26HNknoN042530 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 26HNknTv042529 for ports-bugs@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: ports-bugs@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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@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=IQRYO79zY5O02nve8KcliGG+oc1FPXUEfenu3+4ZXVjblMKP75cXV2H3iGOYpT6yBwu5qi PNCu5GlNlKH0vlw9/vpgzV61FhnmybXOXfnqZpx5v1xi9YH28372dpSSs6mzgwpEg+/WmT dFXtNYlOvIXdnES5XiJG32TcN2q2pd7YPldM5KwvaZW7QgK2b6fIaCI5UV+sR0hlZtk/AN VDKTd2LfljcDULMa1q3lNqKZ+pNUk8sPUjIivSp2qL6cs2PULLyVhnQAEsK2hN8edI82WI /Q+LNKrwtW1ZuMttX/rc6Wsi2jnUhwbhOUmjAW5nAYtNVIi+i5MerAQKfYimtA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658101609; a=rsa-sha256; cv=none; b=q3THo5FwTV24IvlyB4HF+gDAOnLYlupYQyj9y/uQQMYqhF6lEEXDOviya3CwXYkQpNrIYw feEOtnTyic834r0xx+Hdm0K+vfp9do31kAlNQy+jceAAgocaQul/EcjJL7MIwn5fxeWUC6 PkFcStOF5AEjl4dyEHSaiLNy+iMcKkzCE4K2uBs14ctCCux+mUfw2ocOdE+womJgi3AvnT dPh1VFSzNPVzzfhJI9xLbSRYpNUHFj8htDkDe8yiTablV4WCx7V8svvmui7ywnJdWsdeNN 5GcftV1sWfjvZ/8zOpTtK3WMpNIH0UaxPBSfMVJEALuO5Ot5nLLS1gsFQMssng== 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.=