From owner-freebsd-emulation@freebsd.org Sat Jan 11 09:40:49 2020 Return-Path: Delivered-To: freebsd-emulation@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D93AC223939 for ; Sat, 11 Jan 2020 09:40:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47vvwx5YLPz3JLv for ; Sat, 11 Jan 2020 09:40:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id BE967223937; Sat, 11 Jan 2020 09:40:49 +0000 (UTC) Delivered-To: emulation@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BE5ED223936 for ; Sat, 11 Jan 2020 09:40: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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47vvwx4kPKz3JLs for ; Sat, 11 Jan 2020 09:40: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9D76AB9D for ; Sat, 11 Jan 2020 09:40: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 00B9enhh086838 for ; Sat, 11 Jan 2020 09:40:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00B9enhU086837 for emulation@FreeBSD.org; Sat, 11 Jan 2020 09:40: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: emulation@FreeBSD.org Subject: [Bug 243265] emulators/qemu-user-static: qemu-aarch64-static SIGILL with openjdk11-bootstrap Date: Sat, 11 Jan 2020 09:40:48 +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: jonc@chen.org.nz X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: emulation@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 MIME-Version: 1.0 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Jan 2020 09:40:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243265 Bug ID: 243265 Summary: emulators/qemu-user-static: qemu-aarch64-static SIGILL with openjdk11-bootstrap Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: emulation@FreeBSD.org Reporter: jonc@chen.org.nz Assignee: emulation@FreeBSD.org Flags: maintainer-feedback?(emulation@FreeBSD.org) I'm trying to crossbuild java/openjdk11 on FreeBSD-12/amd64 for ARCH=3Daarch64. All dependencies have been built successfully, but the build of java/openjdk11 is currently failing when the port attempts to run "/usr/local/bootstrap-openjdk11/bin/java -version" from the (just-built) java/bootstrap-openjdk11. To reproduce, grab the aarch64 bootstrap from: http://distcache.freebsd.org/local-distfiles/glewis/bootstrap-openjdk11/boo= tstrap-openjdk11-aarch64-12-11.0.5.10.1.tar.xz On a RPI3, it works as expected: rpi3:~,10:23pm> tar xf bootstrap-openjdk11-aarch64-12-11.0.5.10.1.tar.xz rpi3:~,10:23pm> bootstrap-openjdk11/bin/java -version openjdk version "11.0.5" 2019-10-15 OpenJDK Runtime Environment (build 11.0.5+10-1) OpenJDK 64-Bit Server VM (build 11.0.5+10-1, mixed mode) But on my aarch64 crossbuild environment: root@onyx:/tmp # tar xf bootstrap-openjdk11-aarch64-12-11.0.5.10.1.tar.xz=20 root@onyx:/tmp # bootstrap-openjdk11/bin/java -version # # A fatal error has been detected by the Java Runtime Environment: # # SIGILL (0x4) at pc=3D0x0000004003fa4454, pid=3D4506, tid=3D101995 # # JRE version: (11.0.5+10) (build ) # Java VM: OpenJDK 64-Bit Server VM (11.0.5+10-1, mixed mode, sharing, tier= ed, compressed oops, serial gc, bsd-aarch64) # Problematic frame: # V [libjvm.so+0xb01454] JVM_RaiseSignal+0x3e2158 # # Core dump will be written. Default location: /tmp/java.core # # An error report file with more information is saved as: # /tmp/hs_err_pid4506.log # # If you would like to submit a bug report, please visit: # http://bugreport.java.com/bugreport/crash.jsp # Segmentation fault (core dumped) --=20 You are receiving this mail because: You are the assignee for the bug.=