Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 May 2022 01:10:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   [Bug 264165] java/openjdk8: Java crashes at build time
Message-ID:  <bug-264165-8522@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264165

            Bug ID: 264165
           Summary: java/openjdk8: Java crashes at build time
           Product: Ports & Packages
           Version: Latest
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: java@FreeBSD.org
          Reporter: mi@ALDAN.algebra.com
          Assignee: java@FreeBSD.org
             Flags: maintainer-feedback?(java@FreeBSD.org)

Trying to build java/jxgrabkey on arm64, pkg-building cluster fails with:

...
=3D=3D=3D>  Building for jxgrabkey-0.3.2
/usr/bin/env JAVA_HOME=3D/usr/local/openjdk8 OPSYS=3DFreeBSD
JAVA_HOME=3D/usr/local/openjdk8
XDG_DATA_HOME=3D/wrkdirs/usr/ports/java/jxgrabkey/work=20
XDG_CONFIG_HOME=3D/wrkdirs/usr/ports/java/jxgrabkey/work=20
XDG_CACHE_HOME=3D/wrkdirs/usr/ports/java/jxgrabkey/work/.cache=20
HOME=3D/wrkdirs/usr/ports/java/jxgrabkey/work TMPDIR=3D"/tmp"
PATH=3D/wrkdirs/usr/ports/java/jxgrabkey/work/.bin:/sbin:/bin:/usr/sbin:/us=
r/bin:/usr/local/sbin:/usr/local/bin:/root/bin
NO_PIE=3Dyes MK_DEBUG_FILES=3Dno MK_KERNEL_SYMBOLS=3Dno SHELL=3D/bin/sh NO_=
LINT=3DYES
PREFIX=3D/usr/local  LOCALBASE=3D/usr/local  CC=3D"cc" CFLAGS=3D"-O2 -pipe=
=20
-fstack-protector-strong -fno-strict-aliasing "  CPP=3D"cpp" CPPFLAGS=3D""=
=20
LDFLAGS=3D" -fstack-protector-strong " LIBS=3D""  CXX=3D"c++" CXXFLAGS=3D"-=
O2 -pipe
-fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX=3D"/usr/local"
BSD_INSTALL_PROGRAM=3D"install  -s -m 555"  BSD_INSTALL_LIB=3D"install  -s =
-m 0644"
 BSD_INSTALL_SCRIPT=3D"install  -m 555"  BSD_INSTALL_DATA=3D"install  -m 06=
44"=20
BSD_INSTALL_MAN=3D"install  -m 444" /usr/b
 in/make -C
/wrkdirs/usr/ports/java/jxgrabkey/work/jxgrabkey-0.3.2/JXGrabKey/C++       =
  -f
/usr/ports/java/jxgrabkey/files/Makefile.JXGrabKey libJXGrabKey.so
c++ -fpic -DPIC  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing=20=
=20
-I/usr/local/openjdk8/include         -I/usr/local/openjdk8/include/freebsd=
=20
-I/usr/local/include     -Wno-c++11-extensions   -c src/JXGrabKey.cpp -o
JXGrabKey.pico
building shared library libJXGrabKey.so
c++  -fstack-protector-strong    -fstack-protector-strong -shared -Wl,-x
-Wl,--fatal-warnings -Wl,--warn-shared-textrel  -o libJXGrabKey.so
-Wl,-soname,libJXGrabKey.so JXGrabKey.pico -L/usr/local/lib -lX11=20
cd /wrkdirs/usr/ports/java/jxgrabkey/work/jxgrabkey-0.3.2/JXGrabKey/Java &&
/usr/local/bin/ant -verbose jar -Djavac.source=3D1.7 -Djavac.target=3D1.7
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (assembler_aarch64.hpp:237), pid=3D49658,
tid=3D0x0000000000061a37
#  guarantee(val < (1U << nbits)) failed: Field too big for insn
#
# JRE version:  (8.0_332-b09) (build )
# Java VM: OpenJDK 64-Bit Server VM (25.332-b09 mixed mode bsd-aarch64
compressed oops)
# Core dump written. Default location:
/wrkdirs/usr/ports/java/jxgrabkey/work/jxgrabkey-0.3.2/JXGrabKey/Java/java.=
core
#
# An error report file with more information is saved as:
#
/wrkdirs/usr/ports/java/jxgrabkey/work/jxgrabkey-0.3.2/JXGrabKey/Java/hs_er=
r_pid49658.log
#
# If you would like to submit a bug report, please visit:
#=20=20
https://bugs.freebsd.org/bugzilla/enter_bug.cgi?product=3DPorts%20%26%20Pac=
kages&component=3DIndividual%20Port(s)&short_desc=3Djava/openjdk8%3A%20
#
*** Signal 6

--=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-264165-8522>