[Bug 264154] java/openjdk8: JRE 8.0_332-b09 is BROKEN on aarch64

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 22 May 2022 15:39:17 UTC

            Bug ID: 264154
           Summary: java/openjdk8: JRE 8.0_332-b09 is BROKEN on aarch64
           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: thierry@FreeBSD.org
          Assignee: java@FreeBSD.org
             Flags: maintainer-feedback?(java@FreeBSD.org)

Created attachment 234121
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=234121&action=edit
Remove aarch64 from ONLY_FOR_ARCHS

When building the port devel/R-cran-rJava on arm64 / pkg-fallout, the following
error is encountered:

===>  Configuring for R-cran-rJava-1.0.6
/usr/local/bin/R CMD javareconf -e exit
Java interpreter : /usr/local/bin/java
Abort trap
# A fatal error has been detected by the Java Runtime Environment:
#  Internal Error (assembler_aarch64.hpp:237), pid=65289,
#  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: /usr/ports/devel/R-cran-rJava/java.core
# An error report file with more information is saved as:
# /tmp/hs_err_pid65289.log
# If you would like to submit a bug report, please visit:
#   https://bugs.freebsd.org/bugzilla/enter_bug.cgi?product=Ports%20%26%20Pack

*** Java interpreter doesn't work properly.

*** Error code 1

Therefore it should be removed from ONLY_FOR_ARCHS until a fix is found.

You are receiving this mail because:
You are the assignee for the bug.