Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jan 2020 09:40:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        emulation@FreeBSD.org
Subject:   [Bug 243265] emulators/qemu-user-static: qemu-aarch64-static SIGILL with openjdk11-bootstrap
Message-ID:  <bug-243265-4077@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243265-4077>