[Bug 243265] emulators/qemu-user-static: qemu-aarch64-static SIGILL with openjdk11-bootstrap
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jan 11 09:40:49 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243265
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 at FreeBSD.org
Reporter: jonc at chen.org.nz
Assignee: emulation at FreeBSD.org
Flags: maintainer-feedback?(emulation at FreeBSD.org)
I'm trying to crossbuild java/openjdk11 on FreeBSD-12/amd64 for
ARCH=aarch64. 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/bootstrap-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 at onyx:/tmp # tar xf bootstrap-openjdk11-aarch64-12-11.0.5.10.1.tar.xz
root at onyx:/tmp # bootstrap-openjdk11/bin/java -version
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGILL (0x4) at pc=0x0000004003fa4454, pid=4506, tid=101995
#
# JRE version: (11.0.5+10) (build )
# Java VM: OpenJDK 64-Bit Server VM (11.0.5+10-1, mixed mode, sharing, tiered,
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)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-emulation
mailing list