maintainer-feedback requested: [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
Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-emulation mailing
list <emulation at FreeBSD.org> for maintainer-feedback:
Bug 243265: emulators/qemu-user-static: qemu-aarch64-static SIGILL with
openjdk11-bootstrap
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243265
--- Description ---
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/bootstr
ap-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)
More information about the freebsd-emulation
mailing list