From nobody Tue Jul 19 16:43:08 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 4LnPlc1FqSz4WVMX for ; Tue, 19 Jul 2022 16:43:08 +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 4LnPlb6PXxz3xCH for ; Tue, 19 Jul 2022 16:43:07 +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 4LnPlb5RzYzQx8 for ; Tue, 19 Jul 2022 16:43:07 +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 26JGh7hD025769 for ; Tue, 19 Jul 2022 16:43:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26JGh7ra025768 for java@FreeBSD.org; Tue, 19 Jul 2022 16:43:07 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/openjdk11: wont run or build running on VMWare on M1 Mac Mini (aarch64) Date: Tue, 19 Jul 2022 16:43:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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: Message-ID: In-Reply-To: References: 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=1658248987; 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=ZDGR9jSSLoQlh+8toYKaKFkz/TKa2MyRaVKRtx7EV9E=; b=NhNVrqTtG2TmL5SzFKD5j7pR24sPuU1OgrkCm6CKYqeygC4kHlSg1G63n0WdCgCbpMNV7F cWIjr8fZCv25Rll06L2PFB3eQe7N7mLJ/YRhucr5kEXKX1QCQAP23EC2wIciToKY8K6Let pTTxfKsnS2lNitHbzCM63pWsA42MCtEhi6Ozs8YsSQZiD4v3mGcya8xJ+QyAB1mZ+Itqw2 KwsYKFdsqPL4TuLhVWtDkMVt1FvIYAxiNROfQdu9VFYW+lg9nXMhIgx7Km2Fswn3T2I/Bz z2V4l0qmYkAenu8brVV+MDO2gxBAFwxzn/rGXSCSqwA8p8VAczFdg77qJjh+YQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658248987; a=rsa-sha256; cv=none; b=c6Wueut3ObatbyxkNyIPE2G4nqknR9vsSkzcsdkyyfPw7nTMZzC3EX8GfmekzCuJVVDR4a qasl3DFZuJeIsgwfHDyq1ITdrhi8R40RpX++mffTuixxS0kH3M2Q5dyj2r7ViDyghMhzXt GNsVqRjpZwlQVvYhLkLEKJvOKUe3PX+PIfpZxu3WuIW71NUJQWl5XXxlZ1Rour6a41Sppw Jvxfu+h+7nSIBvxvn9xXCk4GKZDrodJHGuGYWHQKDkzy+Kg3VcthnxKdcL973qgMyoGh63 1wrYxDoXcEqQ/wMDHJockyow4s/c+bIwgYojxSEE4XMgNeiuHAD6bddVbqdN0A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265284 --- Comment #6 from Miguel Arroz --- I am not the person from the Forum. Here's the output of gdb and llvm. Let me know if you need additional info. GDB: # gdb --args /usr/local/openjdk11/bin/java GNU gdb (GDB) 12.1 [GDB v12.1 for FreeBSD] Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "aarch64-portbld-freebsd13.0". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/local/openjdk11/bin/java... (gdb) run Starting program: /usr/local/openjdk11/bin/java=20 [New LWP 100657 of process 7260] [New LWP 100658 of process 7260] Thread 2 received signal SIGILL, Illegal instruction. Illegal trap. [Switching to LWP 100657 of process 7260] 0x000000004ad9b1b8 in ?? () (gdb) disassemble No function contains program counter for selected frame. LLVM: # lldb /usr/local/openjdk11/bin/java (lldb) target create "/usr/local/openjdk11/bin/java" Current executable set to '/usr/local/openjdk11/bin/java' (aarch64). (lldb) run Process 7265 launched: '/usr/local/openjdk11/bin/java' (aarch64) Process 7265 stopped * thread #2, name =3D 'java', stop reason =3D signal SIGILL: illegal trap frame #0: 0x00003bf396630250 -> 0x3bf396630250: add x1, x24, #0x0 ; =3D0x0=20 0x3bf396630254: sub x0, x24, #0x8 ; =3D0x8=20 0x3bf396630258: mov x2, #0x0 0x3bf39663025c: ldr x8, [x0] (lldb) bt * thread #2, name =3D 'java', stop reason =3D signal SIGILL: illegal trap * frame #0: 0x00003bf396630250 (lldb) disassemble --pc -> 0x3bf396630250: add x1, x24, #0x0 ; =3D0x0=20 0x3bf396630254: sub x0, x24, #0x8 ; =3D0x8=20 0x3bf396630258: mov x2, #0x0 0x3bf39663025c: ldr x8, [x0] (lldb) x/i ($pc-4) 0x3bf39663024c: 0xd65f03c0 ret --=20 You are receiving this mail because: You are the assignee for the bug.=